#3E1D9E#3E1D9E

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

Color values

HEX#3E1D9E
RGBrgb(62, 29, 158)
HSLhsl(255, 69%, 37%)
HSVhsv(255, 82%, 62%)
CMYKcmyk(60.8%, 81.6%, 0%, 38%)
CIE-LABlab(24.86, 48.30, -63.53)
CIE-LCHlch(24.86, 79.81, 307.25°)
OKLaboklab(37.42% 0.0466 -0.1831)
OKLCHoklch(37.42% 0.189 284.3)
XYZxyz(8.5956, 4.3709, 32.7318)
Luminance0.0437 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1D9E #7D9E1D
analogous
#1D3D9E #3E1D9E #7F1D9E
triadic
#3E1D9E #9E3E1D #1D9E3E
tetradic
#3E1D9E #9E1D3D #7D9E1D #1D9E7F
square
#3E1D9E #9E1D3D #7D9E1D #1D9E7F
split-complementary
#3E1D9E #9E7F1D #3D9E1D
monochromatic
#150A37 #2A146A #3E1D9E #5226D2 #7956E0

Accessibility & contrast

On white

11.20
#3E1D9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#3E1D9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E1D9E
11.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1D9E#FFFFFF#000000##FFFFFF
##3E1D9E1.0011.201.8711.20
#FFFFFF11.201.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.201.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3e1d9e;
/* rgb */ color: rgb(62, 29, 158);
/* oklch */ color: oklch(37.4% 0.189 284.3);
Tailwind
colors: {
  custom: {
    50: '#805fbc',
    500: '#3e1d9e',
    950: '#000000',
  },
}
SCSS
$custom: #3e1d9e;
$custom-light: #805fbc;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1d9e",
  "rgb": {
    "r": 62,
    "g": 29,
    "b": 158
  },
  "hsl": {
    "h": 255.349,
    "s": 68.984,
    "l": 36.667
  },
  "oklch": {
    "l": 0.37419,
    "c": 0.18895,
    "h": 284.3
  },
  "luminance": 0.04371
}

Semantic roles & 50–950 ramp

primary
#3E1D9E
secondary
#A7C354
accent
#EC3CBF
background
#F8F5FB
surface
#F0E9F7
border
#CBC5D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #3E1D9E

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

Preview Lab → · Contrast checker → · Palette generator →

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