#3B0D4A#3B0D4A

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

Color values

HEX#3B0D4A
RGBrgb(59, 13, 74)
HSLhsl(285, 70%, 17%)
HSVhsv(285, 82%, 29%)
CMYKcmyk(20.3%, 82.4%, 0%, 71%)
CIE-LABlab(13.90, 32.30, -27.17)
CIE-LCHlch(13.90, 42.21, 319.93°)
OKLaboklab(27.21% 0.08 -0.0765)
OKLCHoklch(27.21% 0.111 316.3)
XYZxyz(3.1834, 1.7122, 6.6400)
Luminance0.0171 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B0D4A #1C4A0D
analogous
#1D0D4A #3B0D4A #4A0D3B
triadic
#3B0D4A #4A3B0D #0D4A3B
tetradic
#3B0D4A #4A1D0D #1C4A0D #0D3B4A
square
#3B0D4A #4A1D0D #1C4A0D #0D3B4A
split-complementary
#3B0D4A #3B4A0D #0D4A1D
monochromatic
#15051A #15051A #3B0D4A #65167E #8E1FB2

Accessibility & contrast

On white

15.64
#3B0D4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#3B0D4A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B0D4A
15.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B0D4A#FFFFFF#000000##FFFFFF
##3B0D4A1.0015.641.3415.64
#FFFFFF15.641.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00214C
Deuteranopia (green-blind)
#0D2549
Tritanopia (blue-blind)
#3A1A2B
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #3b0d4a;
/* rgb */ color: rgb(59, 13, 74);
/* oklch */ color: oklch(27.2% 0.111 316.3);
Tailwind
colors: {
  custom: {
    50: '#74517d',
    500: '#3b0d4a',
    950: '#000000',
  },
}
SCSS
$custom: #3b0d4a;
$custom-light: #74517d;
$custom-dark: #000000;
JSON
{
  "hex": "#3b0d4a",
  "rgb": {
    "r": 59,
    "g": 13,
    "b": 74
  },
  "hsl": {
    "h": 285.246,
    "s": 70.115,
    "l": 17.059
  },
  "oklch": {
    "l": 0.27208,
    "c": 0.11074,
    "h": 316.3
  },
  "luminance": 0.01712
}

Semantic roles & 50–950 ramp

primary
#3B0D4A
secondary
#43852E
accent
#ED3B67
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#080209
muted
#7B787B

Preview Lab

Preview with #3B0D4A

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

Preview Lab → · Contrast checker → · Palette generator →

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