#3E209B#3E209B

#3E209B is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.4% C 0.183 H 284.5°. Best body text is #FFFFFF at 11.14:1 contrast (WCAG AA passes).

Color values

HEX#3E209B
RGBrgb(62, 32, 155)
HSLhsl(255, 66%, 37%)
HSVhsv(255, 79%, 61%)
CMYKcmyk(60%, 79.4%, 0%, 39.2%)
CIE-LABlab(25.02, 46.04, -61.42)
CIE-LCHlch(25.02, 76.77, 306.86°)
OKLaboklab(37.44% 0.0457 -0.177)
OKLCHoklch(37.44% 0.183 284.5)
XYZxyz(8.4177, 4.4232, 31.4142)
Luminance0.0442 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E209B #7D9B20
analogous
#20409B #3E209B #7C209B
triadic
#3E209B #9B3E20 #209B3E
tetradic
#3E209B #9B2040 #7D9B20 #209B7C
square
#3E209B #9B2040 #7D9B20 #209B7C
split-complementary
#3E209B #9B7C20 #409B20
monochromatic
#150B36 #2A1668 #3E209B #522ACE #7959DD

Accessibility & contrast

On white

11.14
#3E209B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#3E209B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E209B
11.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E209B#FFFFFF#000000##FFFFFF
##3E209B1.0011.141.8811.14
#FFFFFF11.141.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F9E
Deuteranopia (green-blind)
#003799
Tritanopia (blue-blind)
#03445D
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #3e209b;
/* rgb */ color: rgb(62, 32, 155);
/* oklch */ color: oklch(37.4% 0.183 284.5);
Tailwind
colors: {
  custom: {
    50: '#7f60ba',
    500: '#3e209b',
    950: '#000000',
  },
}
SCSS
$custom: #3e209b;
$custom-light: #7f60ba;
$custom-dark: #000000;
JSON
{
  "hex": "#3e209b",
  "rgb": {
    "r": 62,
    "g": 32,
    "b": 155
  },
  "hsl": {
    "h": 254.634,
    "s": 65.775,
    "l": 36.667
  },
  "oklch": {
    "l": 0.37437,
    "c": 0.18282,
    "h": 284.5
  },
  "luminance": 0.04424
}

Semantic roles & 50–950 ramp

primary
#3E209B
secondary
#A7C156
accent
#E93FBF
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #3E209B

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

Preview Lab → · Contrast checker → · Palette generator →

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