#3B0C49#3B0C49

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

Color values

HEX#3B0C49
RGBrgb(59, 12, 73)
HSLhsl(286, 72%, 17%)
HSVhsv(286, 84%, 29%)
CMYKcmyk(19.2%, 83.6%, 0%, 71.4%)
CIE-LABlab(13.67, 32.49, -26.84)
CIE-LCHlch(13.67, 42.14, 320.44°)
OKLaboklab(27.02% 0.0813 -0.0756)
OKLCHoklch(27.02% 0.111 317.1)
XYZxyz(3.1375, 1.6739, 6.4599)
Luminance0.0167 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B0C49 #1A490C
analogous
#1D0C49 #3B0C49 #490C39
triadic
#3B0C49 #493B0C #0C493B
tetradic
#3B0C49 #491D0C #1A490C #0C3949
square
#3B0C49 #491D0C #1A490C #0C3949
split-complementary
#3B0C49 #39490C #0C491D
monochromatic
#15041A #15041A #3B0C49 #65157E #901DB2

Accessibility & contrast

On white

15.73
#3B0C49 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3B0C49
15.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B0C49#FFFFFF#000000##FFFFFF
##3B0C491.0015.731.3315.73
#FFFFFF15.731.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.731.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3b0c49;
/* rgb */ color: rgb(59, 12, 73);
/* oklch */ color: oklch(27.0% 0.111 317.1);
Tailwind
colors: {
  custom: {
    50: '#74517c',
    500: '#3b0c49',
    950: '#000000',
  },
}
SCSS
$custom: #3b0c49;
$custom-light: #74517c;
$custom-dark: #000000;
JSON
{
  "hex": "#3b0c49",
  "rgb": {
    "r": 59,
    "g": 12,
    "b": 73
  },
  "hsl": {
    "h": 286.23,
    "s": 71.765,
    "l": 16.667
  },
  "oklch": {
    "l": 0.27024,
    "c": 0.11095,
    "h": 317.1
  },
  "luminance": 0.01674
}

Semantic roles & 50–950 ramp

primary
#3B0C49
secondary
#40852C
accent
#EE3963
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#080209
muted
#7B787B

Preview Lab

Preview with #3B0C49

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

Preview Lab → · Contrast checker → · Palette generator →

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