#3E1A90#3E1A90

#3E1A90 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.6% C 0.176 H 287.6°. Best body text is #FFFFFF at 11.96:1 contrast (WCAG AA passes).

Color values

HEX#3E1A90
RGBrgb(62, 26, 144)
HSLhsl(258, 69%, 33%)
HSVhsv(258, 82%, 56%)
CMYKcmyk(56.9%, 81.9%, 0%, 43.5%)
CIE-LABlab(22.92, 45.65, -58.12)
CIE-LCHlch(22.92, 73.90, 308.15°)
OKLaboklab(35.63% 0.0532 -0.1673)
OKLCHoklch(35.63% 0.176 287.6)
XYZxyz(7.3885, 3.7761, 26.7197)
Luminance0.0378 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1A90 #6C901A
analogous
#1A3190 #3E1A90 #791A90
triadic
#3E1A90 #903E1A #1A903E
tetradic
#3E1A90 #901A31 #6C901A #1A9079
square
#3E1A90 #901A31 #6C901A #1A9079
split-complementary
#3E1A90 #90791A #31901A
monochromatic
#110728 #28115C #3E1A90 #5423C4 #7547DE

Accessibility & contrast

On white

11.96
#3E1A90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#3E1A90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E1A90
11.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1A90#FFFFFF#000000##FFFFFF
##3E1A901.0011.961.7611.96
#FFFFFF11.961.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003993
Deuteranopia (green-blind)
#00338E
Tritanopia (blue-blind)
#193D56
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #3e1a90;
/* rgb */ color: rgb(62, 26, 144);
/* oklch */ color: oklch(35.6% 0.176 287.6);
Tailwind
colors: {
  custom: {
    50: '#7e5cb2',
    500: '#3e1a90',
    950: '#000000',
  },
}
SCSS
$custom: #3e1a90;
$custom-light: #7e5cb2;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1a90",
  "rgb": {
    "r": 62,
    "g": 26,
    "b": 144
  },
  "hsl": {
    "h": 258.305,
    "s": 69.412,
    "l": 33.333
  },
  "oklch": {
    "l": 0.3563,
    "c": 0.17553,
    "h": 287.6
  },
  "luminance": 0.03777
}

Semantic roles & 50–950 ramp

primary
#3E1A90
secondary
#9ABF47
accent
#EC3CB6
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0411
muted
#7C7980

Preview Lab

Preview with #3E1A90

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

Preview Lab → · Contrast checker → · Palette generator →

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