#3B0C4B#3B0C4B

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

Color values

HEX#3B0C4B
RGBrgb(59, 12, 75)
HSLhsl(285, 72%, 17%)
HSVhsv(285, 84%, 29%)
CMYKcmyk(21.3%, 84%, 0%, 70.6%)
CIE-LABlab(13.83, 32.95, -27.97)
CIE-LCHlch(13.83, 43.22, 319.67°)
OKLaboklab(27.19% 0.0809 -0.0789)
OKLCHoklch(27.19% 0.113 315.7)
XYZxyz(3.2049, 1.7009, 6.8147)
Luminance0.0170 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B0C4B #1C4B0C
analogous
#1C0C4B #3B0C4B #4B0C3C
triadic
#3B0C4B #4B3B0C #0C4B3B
tetradic
#3B0C4B #4B1C0C #1C4B0C #0C3C4B
square
#3B0C4B #4B1C0C #1C4B0C #0C3C4B
split-complementary
#3B0C4B #3C4B0C #0C4B1C
monochromatic
#15041A #15041A #3B0C4B #651480 #8E1DB5

Accessibility & contrast

On white

15.67
#3B0C4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3B0C4B
15.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B0C4B#FFFFFF#000000##FFFFFF
##3B0C4B1.0015.671.3415.67
#FFFFFF15.671.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.671.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3b0c4b;
/* rgb */ color: rgb(59, 12, 75);
/* oklch */ color: oklch(27.2% 0.113 315.7);
Tailwind
colors: {
  custom: {
    50: '#74517e',
    500: '#3b0c4b',
    950: '#000000',
  },
}
SCSS
$custom: #3b0c4b;
$custom-light: #74517e;
$custom-dark: #000000;
JSON
{
  "hex": "#3b0c4b",
  "rgb": {
    "r": 59,
    "g": 12,
    "b": 75
  },
  "hsl": {
    "h": 284.762,
    "s": 72.414,
    "l": 17.059
  },
  "oklch": {
    "l": 0.27187,
    "c": 0.113,
    "h": 315.7
  },
  "luminance": 0.01701
}

Semantic roles & 50–950 ramp

primary
#3B0C4B
secondary
#43872C
accent
#EF3967
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#08020A
muted
#7B787C

Preview Lab

Preview with #3B0C4B

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

Preview Lab → · Contrast checker → · Palette generator →

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