#3E209F#3E209F

#3E209F is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.9% C 0.187 H 283.7°. Best body text is #FFFFFF at 10.98:1 contrast (WCAG AA passes).

Color values

HEX#3E209F
RGBrgb(62, 32, 159)
HSLhsl(254, 66%, 37%)
HSVhsv(254, 80%, 62%)
CMYKcmyk(61%, 79.9%, 0%, 37.6%)
CIE-LABlab(25.44, 47.22, -63.18)
CIE-LCHlch(25.44, 78.87, 306.77°)
OKLaboklab(37.85% 0.0445 -0.1821)
OKLCHoklch(37.85% 0.187 283.7)
XYZxyz(8.7592, 4.5598, 33.2127)
Luminance0.0456 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E209F #819F20
analogous
#20429F #3E209F #7D209F
triadic
#3E209F #9F3E20 #209F3E
tetradic
#3E209F #9F2042 #819F20 #209F7D
square
#3E209F #9F2042 #819F20 #209F7D
split-complementary
#3E209F #9F7D20 #429F20
monochromatic
#160B39 #2A166C #3E209F #522AD2 #7A5BDE

Accessibility & contrast

On white

10.98
#3E209F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#3E209F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E209F
10.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E209F#FFFFFF#000000##FFFFFF
##3E209F1.0010.981.9110.98
#FFFFFF10.981.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040A3
Deuteranopia (green-blind)
#00389D
Tritanopia (blue-blind)
#00465F
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #3e209f;
/* rgb */ color: rgb(62, 32, 159);
/* oklch */ color: oklch(37.9% 0.187 283.7);
Tailwind
colors: {
  custom: {
    50: '#8060bd',
    500: '#3e209f',
    950: '#000000',
  },
}
SCSS
$custom: #3e209f;
$custom-light: #8060bd;
$custom-dark: #000000;
JSON
{
  "hex": "#3e209f",
  "rgb": {
    "r": 62,
    "g": 32,
    "b": 159
  },
  "hsl": {
    "h": 254.173,
    "s": 66.492,
    "l": 37.451
  },
  "oklch": {
    "l": 0.37853,
    "c": 0.18749,
    "h": 283.7
  },
  "luminance": 0.0456
}

Semantic roles & 50–950 ramp

primary
#3E209F
secondary
#A9C259
accent
#E93EC1
background
#F8F5FB
surface
#F0EAF7
border
#CBC6D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #3E209F

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

Preview Lab → · Contrast checker → · Palette generator →

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