#3B0D4B#3B0D4B

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

Color values

HEX#3B0D4B
RGBrgb(59, 13, 75)
HSLhsl(285, 70%, 17%)
HSVhsv(285, 83%, 29%)
CMYKcmyk(21.3%, 82.7%, 0%, 70.6%)
CIE-LABlab(13.98, 32.53, -27.74)
CIE-LCHlch(13.98, 42.75, 319.55°)
OKLaboklab(27.29% 0.0799 -0.0782)
OKLCHoklch(27.29% 0.112 315.6)
XYZxyz(3.2174, 1.7258, 6.8189)
Luminance0.0173 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B0D4B #1D4B0D
analogous
#1C0D4B #3B0D4B #4B0D3C
triadic
#3B0D4B #4B3B0D #0D4B3B
tetradic
#3B0D4B #4B1C0D #1D4B0D #0D3C4B
square
#3B0D4B #4B1C0D #1D4B0D #0D3C4B
split-complementary
#3B0D4B #3C4B0D #0D4B1C
monochromatic
#15051A #15051A #3B0D4B #64167F #8D1FB3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3B0D4B#FFFFFF#000000##FFFFFF
##3B0D4B1.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)
#00214D
Deuteranopia (green-blind)
#0B254A
Tritanopia (blue-blind)
#3A1B2B
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #3b0d4b;
/* rgb */ color: rgb(59, 13, 75);
/* oklch */ color: oklch(27.3% 0.112 315.6);
Tailwind
colors: {
  custom: {
    50: '#74517e',
    500: '#3b0d4b',
    950: '#000000',
  },
}
SCSS
$custom: #3b0d4b;
$custom-light: #74517e;
$custom-dark: #000000;
JSON
{
  "hex": "#3b0d4b",
  "rgb": {
    "r": 59,
    "g": 13,
    "b": 75
  },
  "hsl": {
    "h": 284.516,
    "s": 70.455,
    "l": 17.255
  },
  "oklch": {
    "l": 0.27289,
    "c": 0.11177,
    "h": 315.6
  },
  "luminance": 0.01726
}

Semantic roles & 50–950 ramp

primary
#3B0D4B
secondary
#44862E
accent
#ED3B69
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#08020A
muted
#7B787C

Preview Lab

Preview with #3B0D4B

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

Preview Lab → · Contrast checker → · Palette generator →

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