#3E0B4A#3E0B4A

#3E0B4A is a dark, moderate purple. Relative luminance 0.018; OKLCH L 27.5% C 0.114 H 319.0°. Best body text is #FFFFFF at 15.54:1 contrast (WCAG AA passes).

Color values

HEX#3E0B4A
RGBrgb(62, 11, 74)
HSLhsl(289, 74%, 17%)
HSVhsv(289, 85%, 29%)
CMYKcmyk(16.2%, 85.1%, 0%, 71%)
CIE-LABlab(14.16, 33.79, -26.72)
CIE-LCHlch(14.16, 43.08, 321.67°)
OKLaboklab(27.5% 0.0864 -0.0751)
OKLCHoklch(27.5% 0.114 319)
XYZxyz(3.3421, 1.7581, 6.6405)
Luminance0.0176 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E0B4A #174A0B
analogous
#1F0B4A #3E0B4A #4A0B37
triadic
#3E0B4A #4A3E0B #0B4A3E
tetradic
#3E0B4A #4A1F0B #174A0B #0B374A
square
#3E0B4A #4A1F0B #174A0B #0B374A
split-complementary
#3E0B4A #374A0B #0B4A1F
monochromatic
#16041B #16041B #3E0B4A #6B137F #971BB5

Accessibility & contrast

On white

15.54
#3E0B4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#3E0B4A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E0B4A
15.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E0B4A#FFFFFF#000000##FFFFFF
##3E0B4A1.0015.541.3515.54
#FFFFFF15.541.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00214C
Deuteranopia (green-blind)
#0F2649
Tritanopia (blue-blind)
#3E192A
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #3e0b4a;
/* rgb */ color: rgb(62, 11, 74);
/* oklch */ color: oklch(27.5% 0.114 319.0);
Tailwind
colors: {
  custom: {
    50: '#76517d',
    500: '#3e0b4a',
    950: '#000000',
  },
}
SCSS
$custom: #3e0b4a;
$custom-light: #76517d;
$custom-dark: #000000;
JSON
{
  "hex": "#3e0b4a",
  "rgb": {
    "r": 62,
    "g": 11,
    "b": 74
  },
  "hsl": {
    "h": 288.571,
    "s": 74.118,
    "l": 16.667
  },
  "oklch": {
    "l": 0.27504,
    "c": 0.11446,
    "h": 319
  },
  "luminance": 0.01758
}

Semantic roles & 50–950 ramp

primary
#3E0B4A
secondary
#3C862B
accent
#F1375A
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#090209
muted
#7B787B

Preview Lab

Preview with #3E0B4A

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

Preview Lab → · Contrast checker → · Palette generator →

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