#3B0C46#3B0C46

#3B0C46 is a dark, moderate purple. Relative luminance 0.016; OKLCH L 26.8% C 0.108 H 319.2°. Best body text is #FFFFFF at 15.83:1 contrast (WCAG AA passes).

Color values

HEX#3B0C46
RGBrgb(59, 12, 70)
HSLhsl(289, 71%, 16%)
HSVhsv(289, 83%, 27%)
CMYKcmyk(15.7%, 82.9%, 0%, 72.5%)
CIE-LABlab(13.44, 31.82, -25.13)
CIE-LCHlch(13.44, 40.54, 321.70°)
OKLaboklab(26.79% 0.0817 -0.0705)
OKLCHoklch(26.79% 0.108 319.2)
XYZxyz(3.0405, 1.6351, 5.9486)
Luminance0.0163 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B0C46 #17460C
analogous
#1E0C46 #3B0C46 #460C34
triadic
#3B0C46 #463B0C #0C463B
tetradic
#3B0C46 #461E0C #17460C #0C3446
square
#3B0C46 #461E0C #17460C #0C3446
split-complementary
#3B0C46 #34460C #0C461E
monochromatic
#16041A #16041A #3B0C46 #67157A #931EAE

Accessibility & contrast

On white

15.83
#3B0C46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3B0C46
15.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B0C46#FFFFFF#000000##FFFFFF
##3B0C461.0015.831.3315.83
#FFFFFF15.831.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F48
Deuteranopia (green-blind)
#102445
Tritanopia (blue-blind)
#3B1828
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #3b0c46;
/* rgb */ color: rgb(59, 12, 70);
/* oklch */ color: oklch(26.8% 0.108 319.2);
Tailwind
colors: {
  custom: {
    50: '#73517a',
    500: '#3b0c46',
    950: '#000000',
  },
}
SCSS
$custom: #3b0c46;
$custom-light: #73517a;
$custom-dark: #000000;
JSON
{
  "hex": "#3b0c46",
  "rgb": {
    "r": 59,
    "g": 12,
    "b": 70
  },
  "hsl": {
    "h": 288.621,
    "s": 70.732,
    "l": 16.078
  },
  "oklch": {
    "l": 0.26787,
    "c": 0.10789,
    "h": 319.2
  },
  "luminance": 0.01635
}

Semantic roles & 50–950 ramp

primary
#3B0C46
secondary
#3C822C
accent
#ED3A5C
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#080209
muted
#7B787B

Preview Lab

Preview with #3B0C46

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

Preview Lab → · Contrast checker → · Palette generator →

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