#3D0B40#3D0B40

#3D0B40 is a dark, moderate purple. Relative luminance 0.016; OKLCH L 26.6% C 0.104 H 325.5°. Best body text is #FFFFFF at 15.90:1 contrast (WCAG AA passes).

Color values

HEX#3D0B40
RGBrgb(61, 11, 64)
HSLhsl(297, 71%, 15%)
HSVhsv(297, 83%, 25%)
CMYKcmyk(4.7%, 82.8%, 0%, 74.9%)
CIE-LABlab(13.24, 31.44, -21.22)
CIE-LCHlch(13.24, 37.93, 325.99°)
OKLaboklab(26.58% 0.086 -0.059)
OKLCHoklch(26.58% 0.104 325.5)
XYZxyz(2.9695, 1.6018, 5.0023)
Luminance0.0160 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D0B40 #0E400B
analogous
#230B40 #3D0B40 #400B29
triadic
#3D0B40 #403D0B #0B403D
tetradic
#3D0B40 #40230B #0E400B #0B2940
square
#3D0B40 #40230B #0E400B #0B2940
split-complementary
#3D0B40 #29400B #0B4023
monochromatic
#19041A #19041A #3D0B40 #6F1474 #A11DA8

Accessibility & contrast

On white

15.90
#3D0B40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#3D0B40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D0B40
15.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D0B40#FFFFFF#000000##FFFFFF
##3D0B401.0015.901.3215.90
#FFFFFF15.901.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E41
Deuteranopia (green-blind)
#17243F
Tritanopia (blue-blind)
#3F1425
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #3d0b40;
/* rgb */ color: rgb(61, 11, 64);
/* oklch */ color: oklch(26.6% 0.104 325.5);
Tailwind
colors: {
  custom: {
    50: '#755075',
    500: '#3d0b40',
    950: '#000000',
  },
}
SCSS
$custom: #3d0b40;
$custom-light: #755075;
$custom-dark: #000000;
JSON
{
  "hex": "#3d0b40",
  "rgb": {
    "r": 61,
    "g": 11,
    "b": 64
  },
  "hsl": {
    "h": 296.604,
    "s": 70.667,
    "l": 14.706
  },
  "oklch": {
    "l": 0.26578,
    "c": 0.10427,
    "h": 325.5
  },
  "luminance": 0.01602
}

Semantic roles & 50–950 ramp

primary
#3D0B40
secondary
#2F7D2A
accent
#ED3A44
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#080208
muted
#7B787B

Preview Lab

Preview with #3D0B40

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

Preview Lab → · Contrast checker → · Palette generator →

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