#3E1B89#3E1B89

#3E1B89 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 35.0% C 0.167 H 289.2°. Best body text is #FFFFFF at 12.19:1 contrast (WCAG AA passes).

Color values

HEX#3E1B89
RGBrgb(62, 27, 137)
HSLhsl(259, 67%, 32%)
HSVhsv(259, 80%, 54%)
CMYKcmyk(54.7%, 80.3%, 0%, 46.3%)
CIE-LABlab(22.35, 43.20, -54.68)
CIE-LCHlch(22.35, 69.69, 308.31°)
OKLaboklab(35.02% 0.0548 -0.1573)
OKLCHoklch(35.02% 0.167 289.2)
XYZxyz(6.8926, 3.6138, 23.9964)
Luminance0.0361 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1B89 #66891B
analogous
#1B2F89 #3E1B89 #751B89
triadic
#3E1B89 #893E1B #1B893E
tetradic
#3E1B89 #891B2F #66891B #1B8975
square
#3E1B89 #891B2F #66891B #1B8975
split-complementary
#3E1B89 #89751B #2F891B
monochromatic
#100723 #271156 #3E1B89 #5525BC #7444DA

Accessibility & contrast

On white

12.19
#3E1B89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#3E1B89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E1B89
12.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1B89#FFFFFF#000000##FFFFFF
##3E1B891.0012.191.7212.19
#FFFFFF12.191.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00388C
Deuteranopia (green-blind)
#003387
Tritanopia (blue-blind)
#213B52
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #3e1b89;
/* rgb */ color: rgb(62, 27, 137);
/* oklch */ color: oklch(35.0% 0.167 289.2);
Tailwind
colors: {
  custom: {
    50: '#7c5cac',
    500: '#3e1b89',
    950: '#000000',
  },
}
SCSS
$custom: #3e1b89;
$custom-light: #7c5cac;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1b89",
  "rgb": {
    "r": 62,
    "g": 27,
    "b": 137
  },
  "hsl": {
    "h": 259.091,
    "s": 67.073,
    "l": 32.157
  },
  "oklch": {
    "l": 0.3502,
    "c": 0.16654,
    "h": 289.2
  },
  "luminance": 0.03614
}

Semantic roles & 50–950 ramp

primary
#3E1B89
secondary
#96BC44
accent
#EA3EB3
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #3E1B89

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

Preview Lab → · Contrast checker → · Palette generator →

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