#3B0B4A#3B0B4A

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

Color values

HEX#3B0B4A
RGBrgb(59, 11, 74)
HSLhsl(286, 74%, 17%)
HSVhsv(286, 85%, 29%)
CMYKcmyk(20.3%, 85.1%, 0%, 71%)
CIE-LABlab(13.61, 33.12, -27.63)
CIE-LCHlch(13.61, 43.13, 320.16°)
OKLaboklab(27.01% 0.0821 -0.0779)
OKLCHoklch(27.01% 0.113 316.5)
XYZxyz(3.1591, 1.6637, 6.6320)
Luminance0.0166 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B0B4A #1A4A0B
analogous
#1C0B4A #3B0B4A #4A0B3A
triadic
#3B0B4A #4A3B0B #0B4A3B
tetradic
#3B0B4A #4A1C0B #1A4A0B #0B3A4A
square
#3B0B4A #4A1C0B #1A4A0B #0B3A4A
split-complementary
#3B0B4A #3A4A0B #0B4A1C
monochromatic
#15041B #15041B #3B0B4A #65137F #901BB5

Accessibility & contrast

On white

15.76
#3B0B4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#3B0B4A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B0B4A
15.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B0B4A#FFFFFF#000000##FFFFFF
##3B0B4A1.0015.761.3315.76
#FFFFFF15.761.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00204C
Deuteranopia (green-blind)
#0B2449
Tritanopia (blue-blind)
#3A192A
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #3b0b4a;
/* rgb */ color: rgb(59, 11, 74);
/* oklch */ color: oklch(27.0% 0.113 316.5);
Tailwind
colors: {
  custom: {
    50: '#74507d',
    500: '#3b0b4a',
    950: '#000000',
  },
}
SCSS
$custom: #3b0b4a;
$custom-light: #74507d;
$custom-dark: #000000;
JSON
{
  "hex": "#3b0b4a",
  "rgb": {
    "r": 59,
    "g": 11,
    "b": 74
  },
  "hsl": {
    "h": 285.714,
    "s": 74.118,
    "l": 16.667
  },
  "oklch": {
    "l": 0.27007,
    "c": 0.11316,
    "h": 316.5
  },
  "luminance": 0.01664
}

Semantic roles & 50–950 ramp

primary
#3B0B4A
secondary
#40862B
accent
#F13763
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#080209
muted
#7B787B

Preview Lab

Preview with #3B0B4A

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

Preview Lab → · Contrast checker → · Palette generator →

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