#3E0A47#3E0A47

#3E0A47 is a dark, moderate purple. Relative luminance 0.017; OKLCH L 27.2% C 0.113 H 321.2°. Best body text is #FFFFFF at 15.68:1 contrast (WCAG AA passes).

Color values

HEX#3E0A47
RGBrgb(62, 10, 71)
HSLhsl(291, 75%, 16%)
HSVhsv(291, 86%, 28%)
CMYKcmyk(12.7%, 85.9%, 0%, 72.2%)
CIE-LABlab(13.81, 33.52, -25.21)
CIE-LCHlch(13.81, 41.94, 323.05°)
OKLaboklab(27.18% 0.0878 -0.0706)
OKLCHoklch(27.18% 0.113 321.2)
XYZxyz(3.2323, 1.6963, 6.1172)
Luminance0.0170 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E0A47 #13470A
analogous
#1F0A47 #3E0A47 #470A31
triadic
#3E0A47 #473E0A #0A473E
tetradic
#3E0A47 #471F0A #13470A #0A3147
square
#3E0A47 #471F0A #13470A #0A3147
split-complementary
#3E0A47 #31470A #0A471F
monochromatic
#17041B #17041B #3E0A47 #6D127D #9C19B2

Accessibility & contrast

On white

15.68
#3E0A47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E0A47
15.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E0A47#FFFFFF#000000##FFFFFF
##3E0A471.0015.681.3415.68
#FFFFFF15.681.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.681.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: #3e0a47;
/* rgb */ color: rgb(62, 10, 71);
/* oklch */ color: oklch(27.2% 0.113 321.2);
Tailwind
colors: {
  custom: {
    50: '#76507a',
    500: '#3e0a47',
    950: '#000000',
  },
}
SCSS
$custom: #3e0a47;
$custom-light: #76507a;
$custom-dark: #000000;
JSON
{
  "hex": "#3e0a47",
  "rgb": {
    "r": 62,
    "g": 10,
    "b": 71
  },
  "hsl": {
    "h": 291.148,
    "s": 75.309,
    "l": 15.882
  },
  "oklch": {
    "l": 0.27179,
    "c": 0.11268,
    "h": 321.2
  },
  "luminance": 0.01696
}

Semantic roles & 50–950 ramp

primary
#3E0A47
secondary
#368429
accent
#F23652
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#090209
muted
#7B787B

Preview Lab

Preview with #3E0A47

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

Preview Lab → · Contrast checker → · Palette generator →

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