#3E0B47#3E0B47

#3E0B47 is a dark, moderate purple. Relative luminance 0.017; OKLCH L 27.3% C 0.112 H 321.1°. Best body text is #FFFFFF at 15.63:1 contrast (WCAG AA passes).

Color values

HEX#3E0B47
RGBrgb(62, 11, 71)
HSLhsl(291, 73%, 16%)
HSVhsv(291, 85%, 28%)
CMYKcmyk(12.7%, 84.5%, 0%, 72.2%)
CIE-LABlab(13.94, 33.15, -25.00)
CIE-LCHlch(13.94, 41.52, 322.97°)
OKLaboklab(27.27% 0.0868 -0.07)
OKLCHoklch(27.27% 0.112 321.1)
XYZxyz(3.2435, 1.7186, 6.1209)
Luminance0.0172 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E0B47 #14470B
analogous
#200B47 #3E0B47 #470B32
triadic
#3E0B47 #473E0B #0B473E
tetradic
#3E0B47 #47200B #14470B #0B3247
square
#3E0B47 #47200B #14470B #0B3247
split-complementary
#3E0B47 #32470B #0B4720
monochromatic
#17041A #17041A #3E0B47 #6C137C #9B1BB1

Accessibility & contrast

On white

15.63
#3E0B47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#3E0B47 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E0B47
15.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E0B47#FFFFFF#000000##FFFFFF
##3E0B471.0015.631.3415.63
#FFFFFF15.631.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002049
Deuteranopia (green-blind)
#122546
Tritanopia (blue-blind)
#3F1728
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #3e0b47;
/* rgb */ color: rgb(62, 11, 71);
/* oklch */ color: oklch(27.3% 0.112 321.1);
Tailwind
colors: {
  custom: {
    50: '#76517a',
    500: '#3e0b47',
    950: '#000000',
  },
}
SCSS
$custom: #3e0b47;
$custom-light: #76517a;
$custom-dark: #000000;
JSON
{
  "hex": "#3e0b47",
  "rgb": {
    "r": 62,
    "g": 11,
    "b": 71
  },
  "hsl": {
    "h": 291,
    "s": 73.171,
    "l": 16.078
  },
  "oklch": {
    "l": 0.27271,
    "c": 0.11153,
    "h": 321.1
  },
  "luminance": 0.01718
}

Semantic roles & 50–950 ramp

primary
#3E0B47
secondary
#38832A
accent
#F03854
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#090209
muted
#7B787B

Preview Lab

Preview with #3E0B47

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

Preview Lab → · Contrast checker → · Palette generator →

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