#3E0E52#3E0E52

#3E0E52 is a dark, moderate purple. Relative luminance 0.019; OKLCH L 28.4% C 0.119 H 313.6°. Best body text is #FFFFFF at 15.11:1 contrast (WCAG AA passes).

Color values

HEX#3E0E52
RGBrgb(62, 14, 82)
HSLhsl(282, 71%, 19%)
HSVhsv(282, 83%, 32%)
CMYKcmyk(24.4%, 82.9%, 0%, 67.8%)
CIE-LABlab(15.21, 34.42, -30.53)
CIE-LCHlch(15.21, 46.01, 318.43°)
OKLaboklab(28.44% 0.082 -0.0863)
OKLCHoklch(28.44% 0.119 313.6)
XYZxyz(3.6664, 1.9475, 8.1638)
Luminance0.0195 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E0E52 #22520E
analogous
#1C0E52 #3E0E52 #520E44
triadic
#3E0E52 #523E0E #0E523E
tetradic
#3E0E52 #521C0E #22520E #0E4452
square
#3E0E52 #521C0E #22520E #0E4452
split-complementary
#3E0E52 #44520E #0E521C
monochromatic
#14041A #16051E #3E0E52 #661786 #8D20BB

Accessibility & contrast

On white

15.11
#3E0E52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#3E0E52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E0E52
15.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E0E52#FFFFFF#000000##FFFFFF
##3E0E521.0015.111.3915.11
#FFFFFF15.111.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.111.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3e0e52;
/* rgb */ color: rgb(62, 14, 82);
/* oklch */ color: oklch(28.4% 0.119 313.6);
Tailwind
colors: {
  custom: {
    50: '#765383',
    500: '#3e0e52',
    950: '#000000',
  },
}
SCSS
$custom: #3e0e52;
$custom-light: #765383;
$custom-dark: #000000;
JSON
{
  "hex": "#3e0e52",
  "rgb": {
    "r": 62,
    "g": 14,
    "b": 82
  },
  "hsl": {
    "h": 282.353,
    "s": 70.833,
    "l": 18.824
  },
  "oklch": {
    "l": 0.28445,
    "c": 0.11904,
    "h": 313.6
  },
  "luminance": 0.01947
}

Semantic roles & 50–950 ramp

primary
#3E0E52
secondary
#4B8C2F
accent
#EE3A6F
background
#F7F4F8
surface
#EDE7EF
border
#C8C3CA
text
#09030B
muted
#7B787C

Preview Lab

Preview with #3E0E52

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

Preview Lab → · Contrast checker → · Palette generator →

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