#3E1A89#3E1A89

#3E1A89 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.9% C 0.168 H 289.4°. Best body text is #FFFFFF at 12.25:1 contrast (WCAG AA passes).

Color values

HEX#3E1A89
RGBrgb(62, 26, 137)
HSLhsl(259, 68%, 32%)
HSVhsv(259, 81%, 54%)
CMYKcmyk(54.7%, 81%, 0%, 46.3%)
CIE-LABlab(22.19, 43.66, -54.95)
CIE-LCHlch(22.19, 70.18, 308.47°)
OKLaboklab(34.91% 0.0555 -0.158)
OKLCHoklch(34.91% 0.168 289.4)
XYZxyz(6.8700, 3.5687, 23.9889)
Luminance0.0357 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1A89 #65891A
analogous
#1A2E89 #3E1A89 #751A89
triadic
#3E1A89 #893E1A #1A893E
tetradic
#3E1A89 #891A2E #65891A #1A8975
square
#3E1A89 #891A2E #65891A #1A8975
split-complementary
#3E1A89 #89751A #2E891A
monochromatic
#0F0622 #271056 #3E1A89 #5524BC #7442DB

Accessibility & contrast

On white

12.25
#3E1A89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#3E1A89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E1A89
12.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1A89#FFFFFF#000000##FFFFFF
##3E1A891.0012.251.7112.25
#FFFFFF12.251.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00378C
Deuteranopia (green-blind)
#003287
Tritanopia (blue-blind)
#213A52
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #3e1a89;
/* rgb */ color: rgb(62, 26, 137);
/* oklch */ color: oklch(34.9% 0.168 289.4);
Tailwind
colors: {
  custom: {
    50: '#7c5cac',
    500: '#3e1a89',
    950: '#000000',
  },
}
SCSS
$custom: #3e1a89;
$custom-light: #7c5cac;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1a89",
  "rgb": {
    "r": 62,
    "g": 26,
    "b": 137
  },
  "hsl": {
    "h": 259.459,
    "s": 68.098,
    "l": 31.961
  },
  "oklch": {
    "l": 0.34909,
    "c": 0.1675,
    "h": 289.4
  },
  "luminance": 0.03569
}

Semantic roles & 50–950 ramp

primary
#3E1A89
secondary
#95BC43
accent
#EB3DB2
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B0410
muted
#7C797F

Preview Lab

Preview with #3E1A89

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

Preview Lab → · Contrast checker → · Palette generator →

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