#3B0B52#3B0B52

#3B0B52 is a dark, vivid purple. Relative luminance 0.018; OKLCH L 27.7% C 0.121 H 311.5°. Best body text is #FFFFFF at 15.49:1 contrast (WCAG AA passes).

Color values

HEX#3B0B52
RGBrgb(59, 11, 82)
HSLhsl(281, 76%, 18%)
HSVhsv(281, 87%, 32%)
CMYKcmyk(28%, 86.6%, 0%, 67.8%)
CIE-LABlab(14.28, 34.98, -32.06)
CIE-LCHlch(14.28, 47.44, 317.49°)
OKLaboklab(27.69% 0.0804 -0.0909)
OKLCHoklch(27.69% 0.121 311.5)
XYZxyz(3.4460, 1.7784, 8.1428)
Luminance0.0178 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B0B52 #22520B
analogous
#170B52 #3B0B52 #520B45
triadic
#3B0B52 #523B0B #0B523B
tetradic
#3B0B52 #52170B #22520B #0B4552
square
#3B0B52 #52170B #22520B #0B4552
split-complementary
#3B0B52 #45520B #0B5217
monochromatic
#13041B #14041C #3B0B52 #621288 #8919BE

Accessibility & contrast

On white

15.49
#3B0B52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#3B0B52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B0B52
15.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B0B52#FFFFFF#000000##FFFFFF
##3B0B521.0015.491.3615.49
#FFFFFF15.491.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002254
Deuteranopia (green-blind)
#002551
Tritanopia (blue-blind)
#381D2F
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #3b0b52;
/* rgb */ color: rgb(59, 11, 82);
/* oklch */ color: oklch(27.7% 0.121 311.5);
Tailwind
colors: {
  custom: {
    50: '#745183',
    500: '#3b0b52',
    950: '#000000',
  },
}
SCSS
$custom: #3b0b52;
$custom-light: #745183;
$custom-dark: #000000;
JSON
{
  "hex": "#3b0b52",
  "rgb": {
    "r": 59,
    "g": 11,
    "b": 82
  },
  "hsl": {
    "h": 280.563,
    "s": 76.344,
    "l": 18.235
  },
  "oklch": {
    "l": 0.27685,
    "c": 0.12132,
    "h": 311.5
  },
  "luminance": 0.01778
}

Semantic roles & 50–950 ramp

primary
#3B0B52
secondary
#4B8E2B
accent
#F33572
background
#F7F4F8
surface
#EDE7EF
border
#C8C3CA
text
#09020B
muted
#7B787C

Preview Lab

Preview with #3B0B52

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

Preview Lab → · Contrast checker → · Palette generator →

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