#3E0F52#3E0F52

#3E0F52 is a dark, moderate purple. Relative luminance 0.020; OKLCH L 28.5% C 0.118 H 313.4°. Best body text is #FFFFFF at 15.05:1 contrast (WCAG AA passes).

Color values

HEX#3E0F52
RGBrgb(62, 15, 82)
HSLhsl(282, 69%, 19%)
HSVhsv(282, 82%, 32%)
CMYKcmyk(24.4%, 81.7%, 0%, 67.8%)
CIE-LABlab(15.36, 34.00, -30.29)
CIE-LCHlch(15.36, 45.53, 318.30°)
OKLaboklab(28.55% 0.081 -0.0856)
OKLCHoklch(28.55% 0.118 313.4)
XYZxyz(3.6802, 1.9751, 8.1684)
Luminance0.0198 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E0F52 #23520F
analogous
#1D0F52 #3E0F52 #520F45
triadic
#3E0F52 #523E0F #0F523E
tetradic
#3E0F52 #521D0F #23520F #0F4552
square
#3E0F52 #521D0F #23520F #0F4552
split-complementary
#3E0F52 #45520F #0F521D
monochromatic
#14051A #17061E #3E0F52 #651886 #8C22B9

Accessibility & contrast

On white

15.05
#3E0F52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#3E0F52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E0F52
15.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E0F52#FFFFFF#000000##FFFFFF
##3E0F521.0015.051.4015.05
#FFFFFF15.051.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002454
Deuteranopia (green-blind)
#082751
Tritanopia (blue-blind)
#3C1E30
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #3e0f52;
/* rgb */ color: rgb(62, 15, 82);
/* oklch */ color: oklch(28.5% 0.118 313.4);
Tailwind
colors: {
  custom: {
    50: '#765383',
    500: '#3e0f52',
    950: '#000000',
  },
}
SCSS
$custom: #3e0f52;
$custom-light: #765383;
$custom-dark: #000000;
JSON
{
  "hex": "#3e0f52",
  "rgb": {
    "r": 62,
    "g": 15,
    "b": 82
  },
  "hsl": {
    "h": 282.09,
    "s": 69.072,
    "l": 19.02
  },
  "oklch": {
    "l": 0.28548,
    "c": 0.11782,
    "h": 313.4
  },
  "luminance": 0.01975
}

Semantic roles & 50–950 ramp

primary
#3E0F52
secondary
#4C8C31
accent
#EC3C70
background
#F7F4F8
surface
#EDE7EF
border
#C8C3CA
text
#09030A
muted
#7B787C

Preview Lab

Preview with #3E0F52

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

Preview Lab → · Contrast checker → · Palette generator →

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