#3E1E9D#3E1E9D

#3E1E9D is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.4% C 0.187 H 284.3°. Best body text is #FFFFFF at 11.19:1 contrast (WCAG AA passes).

Color values

HEX#3E1E9D
RGBrgb(62, 30, 157)
HSLhsl(255, 68%, 37%)
HSVhsv(255, 81%, 62%)
CMYKcmyk(60.5%, 80.9%, 0%, 38.4%)
CIE-LABlab(24.91, 47.57, -62.84)
CIE-LCHlch(24.91, 78.81, 307.12°)
OKLaboklab(37.42% 0.0463 -0.1811)
OKLCHoklch(37.42% 0.187 284.3)
XYZxyz(8.5348, 4.3864, 32.2887)
Luminance0.0439 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1E9D #7D9D1E
analogous
#1E3E9D #3E1E9D #7E1E9D
triadic
#3E1E9D #9D3E1E #1E9D3E
tetradic
#3E1E9D #9D1E3E #7D9D1E #1E9D7E
square
#3E1E9D #9D1E3E #7D9D1E #1E9D7E
split-complementary
#3E1E9D #9D7E1E #3E9D1E
monochromatic
#150A36 #2A146A #3E1E9D #5228D0 #7957DF

Accessibility & contrast

On white

11.19
#3E1E9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#3E1E9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E1E9D
11.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1E9D#FFFFFF#000000##FFFFFF
##3E1E9D1.0011.191.8811.19
#FFFFFF11.191.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003FA0
Deuteranopia (green-blind)
#00379B
Tritanopia (blue-blind)
#00445E
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #3e1e9d;
/* rgb */ color: rgb(62, 30, 157);
/* oklch */ color: oklch(37.4% 0.187 284.3);
Tailwind
colors: {
  custom: {
    50: '#805fbb',
    500: '#3e1e9d',
    950: '#000000',
  },
}
SCSS
$custom: #3e1e9d;
$custom-light: #805fbb;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1e9d",
  "rgb": {
    "r": 62,
    "g": 30,
    "b": 157
  },
  "hsl": {
    "h": 255.118,
    "s": 67.914,
    "l": 36.667
  },
  "oklch": {
    "l": 0.37421,
    "c": 0.18695,
    "h": 284.3
  },
  "luminance": 0.04387
}

Semantic roles & 50–950 ramp

primary
#3E1E9D
secondary
#A7C254
accent
#EB3DBF
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #3E1E9D

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

Preview Lab → · Contrast checker → · Palette generator →

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