#3D0D54#3D0D54

#3D0D54 is a dark, vivid purple. Relative luminance 0.019; OKLCH L 28.4% C 0.122 H 311.7°. Best body text is #FFFFFF at 15.17:1 contrast (WCAG AA passes).

Color values

HEX#3D0D54
RGBrgb(61, 13, 84)
HSLhsl(281, 73%, 19%)
HSVhsv(281, 85%, 33%)
CMYKcmyk(27.4%, 84.5%, 0%, 67.1%)
CIE-LABlab(15.06, 35.08, -32.13)
CIE-LCHlch(15.06, 47.57, 317.51°)
OKLaboklab(28.36% 0.0811 -0.091)
OKLCHoklch(28.36% 0.122 311.7)
XYZxyz(3.6683, 1.9201, 8.5632)
Luminance0.0192 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D0D54 #24540D
analogous
#1A0D54 #3D0D54 #540D48
triadic
#3D0D54 #543D0D #0D543D
tetradic
#3D0D54 #541A0D #24540D #0D4854
square
#3D0D54 #541A0D #24540D #0D4854
split-complementary
#3D0D54 #48540D #0D541A
monochromatic
#13041A #17051F #3D0D54 #631589 #8A1DBE

Accessibility & contrast

On white

15.17
#3D0D54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3D0D54
15.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D0D54#FFFFFF#000000##FFFFFF
##3D0D541.0015.171.3815.17
#FFFFFF15.171.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002456
Deuteranopia (green-blind)
#012753
Tritanopia (blue-blind)
#3A1E30
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #3d0d54;
/* rgb */ color: rgb(61, 13, 84);
/* oklch */ color: oklch(28.4% 0.122 311.7);
Tailwind
colors: {
  custom: {
    50: '#765285',
    500: '#3d0d54',
    950: '#000000',
  },
}
SCSS
$custom: #3d0d54;
$custom-light: #765285;
$custom-dark: #000000;
JSON
{
  "hex": "#3d0d54",
  "rgb": {
    "r": 61,
    "g": 13,
    "b": 84
  },
  "hsl": {
    "h": 280.563,
    "s": 73.196,
    "l": 19.02
  },
  "oklch": {
    "l": 0.28359,
    "c": 0.1219,
    "h": 311.7
  },
  "luminance": 0.0192
}

Semantic roles & 50–950 ramp

primary
#3D0D54
secondary
#4D8F2E
accent
#F03874
background
#F7F4F8
surface
#EDE7EF
border
#C8C3CA
text
#09020B
muted
#7B787C

Preview Lab

Preview with #3D0D54

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

Preview Lab → · Contrast checker → · Palette generator →

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