#3E209A#3E209A

#3E209A is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.3% C 0.182 H 284.7°. Best body text is #FFFFFF at 11.18:1 contrast (WCAG AA passes).

Color values

HEX#3E209A
RGBrgb(62, 32, 154)
HSLhsl(255, 66%, 36%)
HSVhsv(255, 79%, 60%)
CMYKcmyk(59.7%, 79.2%, 0%, 39.6%)
CIE-LABlab(24.92, 45.75, -60.98)
CIE-LCHlch(24.92, 76.24, 306.88°)
OKLaboklab(37.33% 0.046 -0.1757)
OKLCHoklch(37.33% 0.182 284.7)
XYZxyz(8.3341, 4.3897, 30.9737)
Luminance0.0439 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E209A #7C9A20
analogous
#203F9A #3E209A #7B209A
triadic
#3E209A #9A3E20 #209A3E
tetradic
#3E209A #9A203F #7C9A20 #209A7B
square
#3E209A #9A203F #7C9A20 #209A7B
split-complementary
#3E209A #9A7B20 #3F9A20
monochromatic
#150B35 #2A1567 #3E209A #522BCD #7958DC

Accessibility & contrast

On white

11.18
#3E209A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E209A
11.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E209A#FFFFFF#000000##FFFFFF
##3E209A1.0011.181.8811.18
#FFFFFF11.181.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E9D
Deuteranopia (green-blind)
#003798
Tritanopia (blue-blind)
#05445D
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #3e209a;
/* rgb */ color: rgb(62, 32, 154);
/* oklch */ color: oklch(37.3% 0.182 284.7);
Tailwind
colors: {
  custom: {
    50: '#7f60b9',
    500: '#3e209a',
    950: '#000000',
  },
}
SCSS
$custom: #3e209a;
$custom-light: #7f60b9;
$custom-dark: #000000;
JSON
{
  "hex": "#3e209a",
  "rgb": {
    "r": 62,
    "g": 32,
    "b": 154
  },
  "hsl": {
    "h": 254.754,
    "s": 65.591,
    "l": 36.471
  },
  "oklch": {
    "l": 0.37334,
    "c": 0.18165,
    "h": 284.7
  },
  "luminance": 0.0439
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3E209A

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

Preview Lab → · Contrast checker → · Palette generator →

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