#3D0E52#3D0E52

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

Color values

HEX#3D0E52
RGBrgb(61, 14, 82)
HSLhsl(281, 71%, 19%)
HSVhsv(281, 83%, 32%)
CMYKcmyk(25.6%, 82.9%, 0%, 67.8%)
CIE-LABlab(15.04, 34.20, -30.81)
CIE-LCHlch(15.04, 46.03, 317.98°)
OKLaboklab(28.29% 0.0805 -0.0871)
OKLCHoklch(28.29% 0.119 312.7)
XYZxyz(3.6042, 1.9155, 8.1609)
Luminance0.0192 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D0E52 #23520E
analogous
#1B0E52 #3D0E52 #520E45
triadic
#3D0E52 #523D0E #0E523D
tetradic
#3D0E52 #521B0E #23520E #0E4552
square
#3D0E52 #521B0E #23520E #0E4552
split-complementary
#3D0E52 #45520E #0E521B
monochromatic
#13041A #16051E #3D0E52 #641786 #8B20BB

Accessibility & contrast

On white

15.18
#3D0E52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#3D0E52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D0E52
15.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D0E52#FFFFFF#000000##FFFFFF
##3D0E521.0015.181.3815.18
#FFFFFF15.181.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002354
Deuteranopia (green-blind)
#062751
Tritanopia (blue-blind)
#3B1E2F
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #3d0e52;
/* rgb */ color: rgb(61, 14, 82);
/* oklch */ color: oklch(28.3% 0.119 312.7);
Tailwind
colors: {
  custom: {
    50: '#765283',
    500: '#3d0e52',
    950: '#000000',
  },
}
SCSS
$custom: #3d0e52;
$custom-light: #765283;
$custom-dark: #000000;
JSON
{
  "hex": "#3d0e52",
  "rgb": {
    "r": 61,
    "g": 14,
    "b": 82
  },
  "hsl": {
    "h": 281.471,
    "s": 70.833,
    "l": 18.824
  },
  "oklch": {
    "l": 0.28288,
    "c": 0.11866,
    "h": 312.7
  },
  "luminance": 0.01915
}

Semantic roles & 50–950 ramp

primary
#3D0E52
secondary
#4C8C2F
accent
#EE3A72
background
#F7F4F8
surface
#EDE7EF
border
#C8C3CA
text
#09020B
muted
#7B787C

Preview Lab

Preview with #3D0E52

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

Preview Lab → · Contrast checker → · Palette generator →

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