#3D0F42#3D0F42

#3D0F42 is a dark, moderate purple. Relative luminance 0.017; OKLCH L 27.2% C 0.101 H 323.7°. Best body text is #FFFFFF at 15.61:1 contrast (WCAG AA passes).

Color values

HEX#3D0F42
RGBrgb(61, 15, 66)
HSLhsl(294, 63%, 16%)
HSVhsv(294, 77%, 26%)
CMYKcmyk(7.6%, 77.3%, 0%, 74.1%)
CIE-LABlab(13.99, 30.13, -21.44)
CIE-LCHlch(13.99, 36.98, 324.57°)
OKLaboklab(27.16% 0.0812 -0.0597)
OKLCHoklch(27.16% 0.101 323.7)
XYZxyz(3.0786, 1.7273, 5.3244)
Luminance0.0173 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D0F42 #14420F
analogous
#230F42 #3D0F42 #420F2D
triadic
#3D0F42 #423D0F #0F423D
tetradic
#3D0F42 #42230F #14420F #0F2D42
square
#3D0F42 #42230F #14420F #0F2D42
split-complementary
#3D0F42 #2D420F #0F4223
monochromatic
#170619 #170619 #3D0F42 #6B1A74 #9926A6

Accessibility & contrast

On white

15.61
#3D0F42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#3D0F42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D0F42
15.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D0F42#FFFFFF#000000##FFFFFF
##3D0F421.0015.611.3515.61
#FFFFFF15.611.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#032043
Deuteranopia (green-blind)
#172541
Tritanopia (blue-blind)
#3E1727
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #3d0f42;
/* rgb */ color: rgb(61, 15, 66);
/* oklch */ color: oklch(27.2% 0.101 323.7);
Tailwind
colors: {
  custom: {
    50: '#755276',
    500: '#3d0f42',
    950: '#000000',
  },
}
SCSS
$custom: #3d0f42;
$custom-light: #755276;
$custom-dark: #000000;
JSON
{
  "hex": "#3d0f42",
  "rgb": {
    "r": 61,
    "g": 15,
    "b": 66
  },
  "hsl": {
    "h": 294.118,
    "s": 62.963,
    "l": 15.882
  },
  "oklch": {
    "l": 0.27155,
    "c": 0.10075,
    "h": 323.7
  },
  "luminance": 0.01727
}

Semantic roles & 50–950 ramp

primary
#3D0F42
secondary
#387C30
accent
#E64252
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#080208
muted
#7B787B

Preview Lab

Preview with #3D0F42

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

Preview Lab → · Contrast checker → · Palette generator →

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