#3E1D88#3E1D88

#3E1D88 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.2% C 0.163 H 289.1°. Best body text is #FFFFFF at 12.10:1 contrast (WCAG AA passes).

Color values

HEX#3E1D88
RGBrgb(62, 29, 136)
HSLhsl(259, 65%, 32%)
HSVhsv(259, 79%, 53%)
CMYKcmyk(54.4%, 78.7%, 0%, 46.7%)
CIE-LABlab(22.58, 41.95, -53.67)
CIE-LCHlch(22.58, 68.12, 308.01°)
OKLaboklab(35.15% 0.0536 -0.1543)
OKLCHoklch(35.15% 0.163 289.1)
XYZxyz(6.8686, 3.6801, 23.6362)
Luminance0.0368 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1D88 #67881D
analogous
#1D3188 #3E1D88 #741D88
triadic
#3E1D88 #883E1D #1D883E
tetradic
#3E1D88 #881D31 #67881D #1D8874
square
#3E1D88 #881D31 #67881D #1D8874
split-complementary
#3E1D88 #88741D #31881D
monochromatic
#100723 #271256 #3E1D88 #5528BA #7448D8

Accessibility & contrast

On white

12.10
#3E1D88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#3E1D88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E1D88
12.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1D88#FFFFFF#000000##FFFFFF
##3E1D881.0012.101.7412.10
#FFFFFF12.101.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.101.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3e1d88;
/* rgb */ color: rgb(62, 29, 136);
/* oklch */ color: oklch(35.2% 0.163 289.1);
Tailwind
colors: {
  custom: {
    50: '#7c5dac',
    500: '#3e1d88',
    950: '#000000',
  },
}
SCSS
$custom: #3e1d88;
$custom-light: #7c5dac;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1d88",
  "rgb": {
    "r": 62,
    "g": 29,
    "b": 136
  },
  "hsl": {
    "h": 258.505,
    "s": 64.848,
    "l": 32.353
  },
  "oklch": {
    "l": 0.35152,
    "c": 0.16337,
    "h": 289.1
  },
  "luminance": 0.0368
}

Semantic roles & 50–950 ramp

primary
#3E1D88
secondary
#96BA47
accent
#E840B4
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #3E1D88

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

Preview Lab → · Contrast checker → · Palette generator →

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