#3E1A86#3E1A86

#3E1A86 is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.6% C 0.164 H 290.1°. Best body text is #FFFFFF at 12.38:1 contrast (WCAG AA passes).

Color values

HEX#3E1A86
RGBrgb(62, 26, 134)
HSLhsl(260, 68%, 31%)
HSVhsv(260, 81%, 53%)
CMYKcmyk(53.7%, 80.6%, 0%, 47.5%)
CIE-LABlab(21.89, 42.81, -53.57)
CIE-LCHlch(21.89, 68.57, 308.63°)
OKLaboklab(34.6% 0.0565 -0.154)
OKLCHoklch(34.6% 0.164 290.1)
XYZxyz(6.6578, 3.4839, 22.8713)
Luminance0.0348 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1A86 #62861A
analogous
#1A2C86 #3E1A86 #741A86
triadic
#3E1A86 #863E1A #1A863E
tetradic
#3E1A86 #861A2C #62861A #1A8674
square
#3E1A86 #861A2C #62861A #1A8674
split-complementary
#3E1A86 #86741A #2C861A
monochromatic
#0F061F #261053 #3E1A86 #5624B9 #7440DA

Accessibility & contrast

On white

12.38
#3E1A86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#3E1A86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E1A86
12.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1A86#FFFFFF#000000##FFFFFF
##3E1A861.0012.381.7012.38
#FFFFFF12.381.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003689
Deuteranopia (green-blind)
#003284
Tritanopia (blue-blind)
#233950
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #3e1a86;
/* rgb */ color: rgb(62, 26, 134);
/* oklch */ color: oklch(34.6% 0.164 290.1);
Tailwind
colors: {
  custom: {
    50: '#7c5caa',
    500: '#3e1a86',
    950: '#000000',
  },
}
SCSS
$custom: #3e1a86;
$custom-light: #7c5caa;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1a86",
  "rgb": {
    "r": 62,
    "g": 26,
    "b": 134
  },
  "hsl": {
    "h": 260,
    "s": 67.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.34604,
    "c": 0.16402,
    "h": 290.1
  },
  "luminance": 0.03484
}

Semantic roles & 50–950 ramp

primary
#3E1A86
secondary
#92B942
accent
#EA3DB1
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #3E1A86

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

Preview Lab → · Contrast checker → · Palette generator →

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