#3D0C51#3D0C51

#3D0C51 is a dark, moderate purple. Relative luminance 0.018; OKLCH L 28.0% C 0.120 H 313.6°. Best body text is #FFFFFF at 15.33:1 contrast (WCAG AA passes).

Color values

HEX#3D0C51
RGBrgb(61, 12, 81)
HSLhsl(283, 74%, 18%)
HSVhsv(283, 85%, 32%)
CMYKcmyk(24.7%, 85.2%, 0%, 68.2%)
CIE-LABlab(14.68, 34.77, -30.72)
CIE-LCHlch(14.68, 46.40, 318.54°)
OKLaboklab(28.01% 0.0827 -0.0868)
OKLCHoklch(28.01% 0.12 313.6)
XYZxyz(3.5409, 1.8492, 7.9534)
Luminance0.0185 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D0C51 #20510C
analogous
#1A0C51 #3D0C51 #510C42
triadic
#3D0C51 #513D0C #0C513D
tetradic
#3D0C51 #511A0C #20510C #0C4251
square
#3D0C51 #511A0C #20510C #0C4251
split-complementary
#3D0C51 #42510C #0C511A
monochromatic
#14041B #15041C #3D0C51 #651486 #8D1CBC

Accessibility & contrast

On white

15.33
#3D0C51 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#3D0C51 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D0C51
15.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D0C51#FFFFFF#000000##FFFFFF
##3D0C511.0015.331.3715.33
#FFFFFF15.331.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002253
Deuteranopia (green-blind)
#052650
Tritanopia (blue-blind)
#3B1C2E
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #3d0c51;
/* rgb */ color: rgb(61, 12, 81);
/* oklch */ color: oklch(28.0% 0.120 313.6);
Tailwind
colors: {
  custom: {
    50: '#765282',
    500: '#3d0c51',
    950: '#000000',
  },
}
SCSS
$custom: #3d0c51;
$custom-light: #765282;
$custom-dark: #000000;
JSON
{
  "hex": "#3d0c51",
  "rgb": {
    "r": 61,
    "g": 12,
    "b": 81
  },
  "hsl": {
    "h": 282.609,
    "s": 74.194,
    "l": 18.235
  },
  "oklch": {
    "l": 0.28007,
    "c": 0.11993,
    "h": 313.6
  },
  "luminance": 0.01849
}

Semantic roles & 50–950 ramp

primary
#3D0C51
secondary
#488C2C
accent
#F1376D
background
#F7F4F8
surface
#EDE7EF
border
#C8C3CA
text
#09020A
muted
#7B787C

Preview Lab

Preview with #3D0C51

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

Preview Lab → · Contrast checker → · Palette generator →

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