#3E0B4D#3E0B4D

#3E0B4D is a dark, moderate purple. Relative luminance 0.018; OKLCH L 27.7% C 0.117 H 317.0°. Best body text is #FFFFFF at 15.44:1 contrast (WCAG AA passes).

Color values

HEX#3E0B4D
RGBrgb(62, 11, 77)
HSLhsl(286, 75%, 17%)
HSVhsv(286, 86%, 30%)
CMYKcmyk(19.5%, 85.7%, 0%, 69.8%)
CIE-LABlab(14.40, 34.46, -28.41)
CIE-LCHlch(14.40, 44.66, 320.49°)
OKLaboklab(27.74% 0.0859 -0.08)
OKLCHoklch(27.74% 0.117 317)
XYZxyz(3.4456, 1.7994, 7.1856)
Luminance0.0180 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E0B4D #1A4D0B
analogous
#1D0B4D #3E0B4D #4D0B3B
triadic
#3E0B4D #4D3E0B #0B4D3E
tetradic
#3E0B4D #4D1D0B #1A4D0B #0B3B4D
square
#3E0B4D #4D1D0B #1A4D0B #0B3B4D
split-complementary
#3E0B4D #3B4D0B #0B4D1D
monochromatic
#16041B #16041B #3E0B4D #691383 #941AB8

Accessibility & contrast

On white

15.44
#3E0B4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#3E0B4D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E0B4D
15.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E0B4D#FFFFFF#000000##FFFFFF
##3E0B4D1.0015.441.3615.44
#FFFFFF15.441.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00214F
Deuteranopia (green-blind)
#0C264C
Tritanopia (blue-blind)
#3D1A2C
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #3e0b4d;
/* rgb */ color: rgb(62, 11, 77);
/* oklch */ color: oklch(27.7% 0.117 317.0);
Tailwind
colors: {
  custom: {
    50: '#76517f',
    500: '#3e0b4d',
    950: '#000000',
  },
}
SCSS
$custom: #3e0b4d;
$custom-light: #76517f;
$custom-dark: #000000;
JSON
{
  "hex": "#3e0b4d",
  "rgb": {
    "r": 62,
    "g": 11,
    "b": 77
  },
  "hsl": {
    "h": 286.364,
    "s": 75,
    "l": 17.255
  },
  "oklch": {
    "l": 0.27745,
    "c": 0.11742,
    "h": 317
  },
  "luminance": 0.01799
}

Semantic roles & 50–950 ramp

primary
#3E0B4D
secondary
#40892B
accent
#F23661
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#09020A
muted
#7B787C

Preview Lab

Preview with #3E0B4D

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

Preview Lab → · Contrast checker → · Palette generator →

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