#3E1E9B#3E1E9B

#3E1E9B is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.2% C 0.185 H 284.7°. Best body text is #FFFFFF at 11.27:1 contrast (WCAG AA passes).

Color values

HEX#3E1E9B
RGBrgb(62, 30, 155)
HSLhsl(255, 68%, 36%)
HSVhsv(255, 81%, 61%)
CMYKcmyk(60%, 80.6%, 0%, 39.2%)
CIE-LABlab(24.70, 46.99, -61.96)
CIE-LCHlch(24.70, 77.76, 307.17°)
OKLaboklab(37.21% 0.047 -0.1786)
OKLCHoklch(37.21% 0.185 284.7)
XYZxyz(8.3655, 4.3187, 31.3968)
Luminance0.0432 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1E9B #7B9B1E
analogous
#1E3D9B #3E1E9B #7D1E9B
triadic
#3E1E9B #9B3E1E #1E9B3E
tetradic
#3E1E9B #9B1E3D #7B9B1E #1E9B7D
square
#3E1E9B #9B1E3D #7B9B1E #1E9B7D
split-complementary
#3E1E9B #9B7D1E #3D9B1E
monochromatic
#150A34 #291468 #3E1E9B #5328CE #7855DE

Accessibility & contrast

On white

11.27
#3E1E9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#3E1E9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E1E9B
11.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1E9B#FFFFFF#000000##FFFFFF
##3E1E9B1.0011.271.8611.27
#FFFFFF11.271.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E9E
Deuteranopia (green-blind)
#003799
Tritanopia (blue-blind)
#03435D
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #3e1e9b;
/* rgb */ color: rgb(62, 30, 155);
/* oklch */ color: oklch(37.2% 0.185 284.7);
Tailwind
colors: {
  custom: {
    50: '#7f5fba',
    500: '#3e1e9b',
    950: '#000000',
  },
}
SCSS
$custom: #3e1e9b;
$custom-light: #7f5fba;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1e9b",
  "rgb": {
    "r": 62,
    "g": 30,
    "b": 155
  },
  "hsl": {
    "h": 255.36,
    "s": 67.568,
    "l": 36.275
  },
  "oklch": {
    "l": 0.37211,
    "c": 0.18463,
    "h": 284.7
  },
  "luminance": 0.04319
}

Semantic roles & 50–950 ramp

primary
#3E1E9B
secondary
#A5C253
accent
#EA3DBE
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #3E1E9B

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

Preview Lab → · Contrast checker → · Palette generator →

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