#3B0D52#3B0D52

#3B0D52 is a dark, moderate purple. Relative luminance 0.018; OKLCH L 27.9% C 0.119 H 311.2°. Best body text is #FFFFFF at 15.38:1 contrast (WCAG AA passes).

Color values

HEX#3B0D52
RGBrgb(59, 13, 82)
HSLhsl(280, 73%, 19%)
HSVhsv(280, 84%, 32%)
CMYKcmyk(28%, 84.1%, 0%, 67.8%)
CIE-LABlab(14.55, 34.19, -31.62)
CIE-LCHlch(14.55, 46.57, 317.24°)
OKLaboklab(27.88% 0.0785 -0.0896)
OKLCHoklch(27.88% 0.119 311.2)
XYZxyz(3.4703, 1.8269, 8.1508)
Luminance0.0183 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B0D52 #24520D
analogous
#180D52 #3B0D52 #520D46
triadic
#3B0D52 #523B0D #0D523B
tetradic
#3B0D52 #52180D #24520D #0D4652
square
#3B0D52 #52180D #24520D #0D4652
split-complementary
#3B0D52 #46520D #0D5218
monochromatic
#13041A #15051D #3B0D52 #611587 #871EBC

Accessibility & contrast

On white

15.38
#3B0D52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#3B0D52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B0D52
15.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B0D52#FFFFFF#000000##FFFFFF
##3B0D521.0015.381.3715.38
#FFFFFF15.381.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002354
Deuteranopia (green-blind)
#012651
Tritanopia (blue-blind)
#381E2F
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #3b0d52;
/* rgb */ color: rgb(59, 13, 82);
/* oklch */ color: oklch(27.9% 0.119 311.2);
Tailwind
colors: {
  custom: {
    50: '#745283',
    500: '#3b0d52',
    950: '#000000',
  },
}
SCSS
$custom: #3b0d52;
$custom-light: #745283;
$custom-dark: #000000;
JSON
{
  "hex": "#3b0d52",
  "rgb": {
    "r": 59,
    "g": 13,
    "b": 82
  },
  "hsl": {
    "h": 280,
    "s": 72.632,
    "l": 18.627
  },
  "oklch": {
    "l": 0.27876,
    "c": 0.11912,
    "h": 311.2
  },
  "luminance": 0.01827
}

Semantic roles & 50–950 ramp

primary
#3B0D52
secondary
#4E8D2E
accent
#EF3875
background
#F7F4F8
surface
#EDE7EF
border
#C8C3CA
text
#08020B
muted
#7B787C

Preview Lab

Preview with #3B0D52

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

Preview Lab → · Contrast checker → · Palette generator →

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