#3E0A45#3E0A45

#3E0A45 is a dark, moderate purple. Relative luminance 0.017; OKLCH L 27.0% C 0.111 H 322.6°. Best body text is #FFFFFF at 15.74:1 contrast (WCAG AA passes).

Color values

HEX#3E0A45
RGBrgb(62, 10, 69)
HSLhsl(293, 75%, 15%)
HSVhsv(293, 86%, 27%)
CMYKcmyk(10.1%, 85.5%, 0%, 72.9%)
CIE-LABlab(13.66, 33.10, -24.05)
CIE-LCHlch(13.66, 40.92, 323.99°)
OKLaboklab(27.03% 0.088 -0.0673)
OKLCHoklch(27.03% 0.111 322.6)
XYZxyz(3.1692, 1.6711, 5.7847)
Luminance0.0167 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E0A45 #11450A
analogous
#200A45 #3E0A45 #450A2E
triadic
#3E0A45 #453E0A #0A453E
tetradic
#3E0A45 #45200A #11450A #0A2E45
square
#3E0A45 #45200A #11450A #0A2E45
split-complementary
#3E0A45 #2E450A #0A4520
monochromatic
#18041B #18041B #3E0A45 #6E127A #9E19B0

Accessibility & contrast

On white

15.74
#3E0A45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#3E0A45 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E0A45
15.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E0A45#FFFFFF#000000##FFFFFF
##3E0A451.0015.741.3315.74
#FFFFFF15.741.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F47
Deuteranopia (green-blind)
#132544
Tritanopia (blue-blind)
#3F1627
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #3e0a45;
/* rgb */ color: rgb(62, 10, 69);
/* oklch */ color: oklch(27.0% 0.111 322.6);
Tailwind
colors: {
  custom: {
    50: '#765079',
    500: '#3e0a45',
    950: '#000000',
  },
}
SCSS
$custom: #3e0a45;
$custom-light: #765079;
$custom-dark: #000000;
JSON
{
  "hex": "#3e0a45",
  "rgb": {
    "r": 62,
    "g": 10,
    "b": 69
  },
  "hsl": {
    "h": 292.881,
    "s": 74.684,
    "l": 15.49
  },
  "oklch": {
    "l": 0.27026,
    "c": 0.11077,
    "h": 322.6
  },
  "luminance": 0.01671
}

Semantic roles & 50–950 ramp

primary
#3E0A45
secondary
#338229
accent
#F1364D
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#090209
muted
#7B787B

Preview Lab

Preview with #3E0A45

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

Preview Lab → · Contrast checker → · Palette generator →

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