#3F2282#3F2282

#3F2282 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.3% C 0.150 H 290.4°. Best body text is #FFFFFF at 11.91:1 contrast (WCAG AA passes).

Color values

HEX#3F2282
RGBrgb(63, 34, 130)
HSLhsl(258, 59%, 32%)
HSVhsv(258, 74%, 51%)
CMYKcmyk(51.5%, 73.8%, 0%, 49%)
CIE-LABlab(23.04, 37.75, -49.15)
CIE-LCHlch(23.04, 61.98, 307.53°)
OKLaboklab(35.33% 0.0524 -0.1411)
OKLCHoklch(35.33% 0.15 290.4)
XYZxyz(6.6500, 3.8123, 21.5002)
Luminance0.0381 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2282 #658222
analogous
#223582 #3F2282 #6F2282
triadic
#3F2282 #823F22 #22823F
tetradic
#3F2282 #822235 #658222 #22826F
square
#3F2282 #822235 #658222 #22826F
split-complementary
#3F2282 #826F22 #358222
monochromatic
#100921 #271551 #3F2282 #572FB3 #754ED1

Accessibility & contrast

On white

11.91
#3F2282 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#3F2282 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F2282
11.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F2282#FFFFFF#000000##FFFFFF
##3F22821.0011.911.7611.91
#FFFFFF11.911.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003985
Deuteranopia (green-blind)
#003580
Tritanopia (blue-blind)
#283B4F
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #3f2282;
/* rgb */ color: rgb(63, 34, 130);
/* oklch */ color: oklch(35.3% 0.150 290.4);
Tailwind
colors: {
  custom: {
    50: '#7b60a7',
    500: '#3f2282',
    950: '#000000',
  },
}
SCSS
$custom: #3f2282;
$custom-light: #7b60a7;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2282",
  "rgb": {
    "r": 63,
    "g": 34,
    "b": 130
  },
  "hsl": {
    "h": 258.125,
    "s": 58.537,
    "l": 32.157
  },
  "oklch": {
    "l": 0.35325,
    "c": 0.15049,
    "h": 290.4
  },
  "luminance": 0.03813
}

Semantic roles & 50–950 ramp

primary
#3F2282
secondary
#95B44C
accent
#E246B3
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #3F2282

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#3F2282 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva