#3B0B4B#3B0B4B

#3B0B4B is a dark, moderate purple. Relative luminance 0.017; OKLCH L 27.1% C 0.114 H 315.9°. Best body text is #FFFFFF at 15.73:1 contrast (WCAG AA passes).

Color values

HEX#3B0B4B
RGBrgb(59, 11, 75)
HSLhsl(285, 74%, 17%)
HSVhsv(285, 85%, 29%)
CMYKcmyk(21.3%, 85.3%, 0%, 70.6%)
CIE-LABlab(13.69, 33.35, -28.20)
CIE-LCHlch(13.69, 43.67, 319.78°)
OKLaboklab(27.09% 0.0819 -0.0795)
OKLCHoklch(27.09% 0.114 315.9)
XYZxyz(3.1931, 1.6773, 6.8108)
Luminance0.0168 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B0B4B #1B4B0B
analogous
#1B0B4B #3B0B4B #4B0B3B
triadic
#3B0B4B #4B3B0B #0B4B3B
tetradic
#3B0B4B #4B1B0B #1B4B0B #0B3B4B
square
#3B0B4B #4B1B0B #1B4B0B #0B3B4B
split-complementary
#3B0B4B #3B4B0B #0B4B1B
monochromatic
#15041B #15041B #3B0B4B #651380 #8F1BB6

Accessibility & contrast

On white

15.73
#3B0B4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3B0B4B
15.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B0B4B#FFFFFF#000000##FFFFFF
##3B0B4B1.0015.731.3415.73
#FFFFFF15.731.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.731.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3b0b4b;
/* rgb */ color: rgb(59, 11, 75);
/* oklch */ color: oklch(27.1% 0.114 315.9);
Tailwind
colors: {
  custom: {
    50: '#74507e',
    500: '#3b0b4b',
    950: '#000000',
  },
}
SCSS
$custom: #3b0b4b;
$custom-light: #74507e;
$custom-dark: #000000;
JSON
{
  "hex": "#3b0b4b",
  "rgb": {
    "r": 59,
    "g": 11,
    "b": 75
  },
  "hsl": {
    "h": 285,
    "s": 74.419,
    "l": 16.863
  },
  "oklch": {
    "l": 0.27089,
    "c": 0.11418,
    "h": 315.9
  },
  "luminance": 0.01677
}

Semantic roles & 50–950 ramp

primary
#3B0B4B
secondary
#42872B
accent
#F13765
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#08020A
muted
#7B787C

Preview Lab

Preview with #3B0B4B

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

Preview Lab → · Contrast checker → · Palette generator →

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