#3E1D9F#3E1D9F

#3E1D9F is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.5% C 0.190 H 284.1°. Best body text is #FFFFFF at 11.16:1 contrast (WCAG AA passes).

Color values

HEX#3E1D9F
RGBrgb(62, 29, 159)
HSLhsl(255, 69%, 37%)
HSVhsv(255, 82%, 62%)
CMYKcmyk(61%, 81.8%, 0%, 37.6%)
CIE-LABlab(24.97, 48.59, -63.96)
CIE-LCHlch(24.97, 80.32, 307.22°)
OKLaboklab(37.53% 0.0463 -0.1844)
OKLCHoklch(37.53% 0.19 284.1)
XYZxyz(8.6821, 4.4055, 33.1870)
Luminance0.0441 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1D9F #7E9F1D
analogous
#1D3D9F #3E1D9F #7F1D9F
triadic
#3E1D9F #9F3E1D #1D9F3E
tetradic
#3E1D9F #9F1D3D #7E9F1D #1D9F7F
square
#3E1D9F #9F1D3D #7E9F1D #1D9F7F
split-complementary
#3E1D9F #9F7F1D #3D9F1D
monochromatic
#160A37 #2A146B #3E1D9F #5226D3 #7956E0

Accessibility & contrast

On white

11.16
#3E1D9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E1D9F
11.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1D9F#FFFFFF#000000##FFFFFF
##3E1D9F1.0011.161.8811.16
#FFFFFF11.161.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003FA3
Deuteranopia (green-blind)
#00379D
Tritanopia (blue-blind)
#00455F
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #3e1d9f;
/* rgb */ color: rgb(62, 29, 159);
/* oklch */ color: oklch(37.5% 0.190 284.1);
Tailwind
colors: {
  custom: {
    50: '#805fbd',
    500: '#3e1d9f',
    950: '#000000',
  },
}
SCSS
$custom: #3e1d9f;
$custom-light: #805fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1d9f",
  "rgb": {
    "r": 62,
    "g": 29,
    "b": 159
  },
  "hsl": {
    "h": 255.231,
    "s": 69.149,
    "l": 36.863
  },
  "oklch": {
    "l": 0.37525,
    "c": 0.19009,
    "h": 284.1
  },
  "luminance": 0.04406
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3E1D9F

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

Preview Lab → · Contrast checker → · Palette generator →

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