#3E1D89#3E1D89

#3E1D89 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.3% C 0.165 H 288.9°. Best body text is #FFFFFF at 12.06:1 contrast (WCAG AA passes).

Color values

HEX#3E1D89
RGBrgb(62, 29, 137)
HSLhsl(258, 65%, 33%)
HSVhsv(258, 79%, 54%)
CMYKcmyk(54.7%, 78.8%, 0%, 46.3%)
CIE-LABlab(22.68, 42.24, -54.14)
CIE-LCHlch(22.68, 68.67, 307.96°)
OKLaboklab(35.25% 0.0533 -0.1557)
OKLCHoklch(35.25% 0.165 288.9)
XYZxyz(6.9400, 3.7087, 24.0122)
Luminance0.0371 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1D89 #68891D
analogous
#1D3289 #3E1D89 #741D89
triadic
#3E1D89 #893E1D #1D893E
tetradic
#3E1D89 #891D32 #68891D #1D8974
square
#3E1D89 #891D32 #68891D #1D8974
split-complementary
#3E1D89 #89741D #32891D
monochromatic
#100824 #271256 #3E1D89 #5528BC #7448D8

Accessibility & contrast

On white

12.06
#3E1D89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#3E1D89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E1D89
12.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1D89#FFFFFF#000000##FFFFFF
##3E1D891.0012.061.7412.06
#FFFFFF12.061.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00388C
Deuteranopia (green-blind)
#003387
Tritanopia (blue-blind)
#203C52
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #3e1d89;
/* rgb */ color: rgb(62, 29, 137);
/* oklch */ color: oklch(35.3% 0.165 288.9);
Tailwind
colors: {
  custom: {
    50: '#7c5dac',
    500: '#3e1d89',
    950: '#000000',
  },
}
SCSS
$custom: #3e1d89;
$custom-light: #7c5dac;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1d89",
  "rgb": {
    "r": 62,
    "g": 29,
    "b": 137
  },
  "hsl": {
    "h": 258.333,
    "s": 65.06,
    "l": 32.549
  },
  "oklch": {
    "l": 0.35252,
    "c": 0.16455,
    "h": 288.9
  },
  "luminance": 0.03709
}

Semantic roles & 50–950 ramp

primary
#3E1D89
secondary
#97BA47
accent
#E840B5
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #3E1D89

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

Preview Lab → · Contrast checker → · Palette generator →

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