#3E1E88#3E1E88

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

Color values

HEX#3E1E88
RGBrgb(62, 30, 136)
HSLhsl(258, 64%, 33%)
HSVhsv(258, 78%, 53%)
CMYKcmyk(54.4%, 77.9%, 0%, 46.7%)
CIE-LABlab(22.76, 41.46, -53.39)
CIE-LCHlch(22.76, 67.60, 307.83°)
OKLaboklab(35.27% 0.0528 -0.1535)
OKLCHoklch(35.27% 0.162 289)
XYZxyz(6.8935, 3.7299, 23.6445)
Luminance0.0373 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1E88 #68881E
analogous
#1E3388 #3E1E88 #731E88
triadic
#3E1E88 #883E1E #1E883E
tetradic
#3E1E88 #881E33 #68881E #1E8873
square
#3E1E88 #881E33 #68881E #1E8873
split-complementary
#3E1E88 #88731E #33881E
monochromatic
#100824 #271356 #3E1E88 #5529BA #7449D7

Accessibility & contrast

On white

12.03
#3E1E88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#3E1E88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E1E88
12.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1E88#FFFFFF#000000##FFFFFF
##3E1E881.0012.031.7512.03
#FFFFFF12.031.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00388B
Deuteranopia (green-blind)
#003486
Tritanopia (blue-blind)
#213C52
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #3e1e88;
/* rgb */ color: rgb(62, 30, 136);
/* oklch */ color: oklch(35.3% 0.162 289.0);
Tailwind
colors: {
  custom: {
    50: '#7c5eac',
    500: '#3e1e88',
    950: '#000000',
  },
}
SCSS
$custom: #3e1e88;
$custom-light: #7c5eac;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1e88",
  "rgb": {
    "r": 62,
    "g": 30,
    "b": 136
  },
  "hsl": {
    "h": 258.113,
    "s": 63.855,
    "l": 32.549
  },
  "oklch": {
    "l": 0.35274,
    "c": 0.16233,
    "h": 289
  },
  "luminance": 0.0373
}

Semantic roles & 50–950 ramp

primary
#3E1E88
secondary
#97B949
accent
#E741B5
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #3E1E88

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

Preview Lab → · Contrast checker → · Palette generator →

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