#3B0D3D#3B0D3D

#3B0D3D is a dark, moderate purple. Relative luminance 0.016; OKLCH L 26.2% C 0.098 H 326.1°. Best body text is #FFFFFF at 16.02:1 contrast (WCAG AA passes).

Color values

HEX#3B0D3D
RGBrgb(59, 13, 61)
HSLhsl(298, 65%, 15%)
HSVhsv(298, 79%, 24%)
CMYKcmyk(3.3%, 78.7%, 0%, 76.1%)
CIE-LABlab(12.95, 29.44, -19.57)
CIE-LCHlch(12.95, 35.35, 326.38°)
OKLaboklab(26.23% 0.081 -0.0543)
OKLCHoklch(26.23% 0.098 326.1)
XYZxyz(2.7898, 1.5548, 4.5671)
Luminance0.0155 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B0D3D #0F3D0D
analogous
#230D3D #3B0D3D #3D0D27
triadic
#3B0D3D #3D3B0D #0D3D3B
tetradic
#3B0D3D #3D230D #0F3D0D #0D273D
square
#3B0D3D #3D230D #0F3D0D #0D273D
split-complementary
#3B0D3D #273D0D #0D3D23
monochromatic
#180519 #180519 #3B0D3D #6C186F #9D23A2

Accessibility & contrast

On white

16.02
#3B0D3D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#3B0D3D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B0D3D
16.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B0D3D#FFFFFF#000000##FFFFFF
##3B0D3D1.0016.021.3116.02
#FFFFFF16.021.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#041E3E
Deuteranopia (green-blind)
#18233C
Tritanopia (blue-blind)
#3D1423
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #3b0d3d;
/* rgb */ color: rgb(59, 13, 61);
/* oklch */ color: oklch(26.2% 0.098 326.1);
Tailwind
colors: {
  custom: {
    50: '#735173',
    500: '#3b0d3d',
    950: '#000000',
  },
}
SCSS
$custom: #3b0d3d;
$custom-light: #735173;
$custom-dark: #000000;
JSON
{
  "hex": "#3b0d3d",
  "rgb": {
    "r": 59,
    "g": 13,
    "b": 61
  },
  "hsl": {
    "h": 297.5,
    "s": 64.865,
    "l": 14.51
  },
  "oklch": {
    "l": 0.2623,
    "c": 0.09751,
    "h": 326.1
  },
  "luminance": 0.01555
}

Semantic roles & 50–950 ramp

primary
#3B0D3D
secondary
#30792D
accent
#E84047
background
#F7F4F6
surface
#EDE7EC
border
#C8C3C7
text
#080208
muted
#7B787B

Preview Lab

Preview with #3B0D3D

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

Preview Lab → · Contrast checker → · Palette generator →

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