#3D0E51#3D0E51

#3D0E51 is a dark, moderate purple. Relative luminance 0.019; OKLCH L 28.2% C 0.118 H 313.3°. Best body text is #FFFFFF at 15.22:1 contrast (WCAG AA passes).

Color values

HEX#3D0E51
RGBrgb(61, 14, 81)
HSLhsl(282, 71%, 19%)
HSVhsv(282, 83%, 32%)
CMYKcmyk(24.7%, 82.7%, 0%, 68.2%)
CIE-LABlab(14.96, 33.96, -30.26)
CIE-LCHlch(14.96, 45.49, 318.30°)
OKLaboklab(28.21% 0.0807 -0.0855)
OKLCHoklch(28.21% 0.118 313.3)
XYZxyz(3.5664, 1.9004, 7.9619)
Luminance0.0190 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D0E51 #22510E
analogous
#1B0E51 #3D0E51 #510E43
triadic
#3D0E51 #513D0E #0E513D
tetradic
#3D0E51 #511B0E #22510E #0E4351
square
#3D0E51 #511B0E #22510E #0E4351
split-complementary
#3D0E51 #43510E #0E511B
monochromatic
#14051A #16051D #3D0E51 #641785 #8C20B9

Accessibility & contrast

On white

15.22
#3D0E51 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3D0E51
15.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D0E51#FFFFFF#000000##FFFFFF
##3D0E511.0015.221.3815.22
#FFFFFF15.221.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002353
Deuteranopia (green-blind)
#072750
Tritanopia (blue-blind)
#3B1D2F
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #3d0e51;
/* rgb */ color: rgb(61, 14, 81);
/* oklch */ color: oklch(28.2% 0.118 313.3);
Tailwind
colors: {
  custom: {
    50: '#765282',
    500: '#3d0e51',
    950: '#000000',
  },
}
SCSS
$custom: #3d0e51;
$custom-light: #765282;
$custom-dark: #000000;
JSON
{
  "hex": "#3d0e51",
  "rgb": {
    "r": 61,
    "g": 14,
    "b": 81
  },
  "hsl": {
    "h": 282.09,
    "s": 70.526,
    "l": 18.627
  },
  "oklch": {
    "l": 0.28205,
    "c": 0.11761,
    "h": 313.3
  },
  "luminance": 0.019
}

Semantic roles & 50–950 ramp

primary
#3D0E51
secondary
#4B8C2F
accent
#ED3A70
background
#F7F4F8
surface
#EDE7EF
border
#C8C3CA
text
#09020A
muted
#7B787C

Preview Lab

Preview with #3D0E51

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

Preview Lab → · Contrast checker → · Palette generator →

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