#3B0C47#3B0C47

#3B0C47 is a dark, moderate purple. Relative luminance 0.016; OKLCH L 26.9% C 0.109 H 318.5°. Best body text is #FFFFFF at 15.79:1 contrast (WCAG AA passes).

Color values

HEX#3B0C47
RGBrgb(59, 12, 71)
HSLhsl(288, 71%, 16%)
HSVhsv(288, 83%, 28%)
CMYKcmyk(16.9%, 83.1%, 0%, 72.2%)
CIE-LABlab(13.52, 32.04, -25.70)
CIE-LCHlch(13.52, 41.07, 321.26°)
OKLaboklab(26.87% 0.0815 -0.0722)
OKLCHoklch(26.87% 0.109 318.5)
XYZxyz(3.0723, 1.6478, 6.1162)
Luminance0.0165 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B0C47 #18470C
analogous
#1E0C47 #3B0C47 #470C36
triadic
#3B0C47 #473B0C #0C473B
tetradic
#3B0C47 #471E0C #18470C #0C3647
square
#3B0C47 #471E0C #18470C #0C3647
split-complementary
#3B0C47 #36470C #0C471E
monochromatic
#16041A #16041A #3B0C47 #67157B #921EB0

Accessibility & contrast

On white

15.79
#3B0C47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3B0C47
15.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B0C47#FFFFFF#000000##FFFFFF
##3B0C471.0015.791.3315.79
#FFFFFF15.791.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002049
Deuteranopia (green-blind)
#0F2446
Tritanopia (blue-blind)
#3B1829
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #3b0c47;
/* rgb */ color: rgb(59, 12, 71);
/* oklch */ color: oklch(26.9% 0.109 318.5);
Tailwind
colors: {
  custom: {
    50: '#73517a',
    500: '#3b0c47',
    950: '#000000',
  },
}
SCSS
$custom: #3b0c47;
$custom-light: #73517a;
$custom-dark: #000000;
JSON
{
  "hex": "#3b0c47",
  "rgb": {
    "r": 59,
    "g": 12,
    "b": 71
  },
  "hsl": {
    "h": 287.797,
    "s": 71.084,
    "l": 16.275
  },
  "oklch": {
    "l": 0.26865,
    "c": 0.10891,
    "h": 318.5
  },
  "luminance": 0.01648
}

Semantic roles & 50–950 ramp

primary
#3B0C47
secondary
#3E832C
accent
#EE3A5F
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#080209
muted
#7B787B

Preview Lab

Preview with #3B0C47

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

Preview Lab → · Contrast checker → · Palette generator →

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