#3B0C4D#3B0C4D

#3B0C4D is a dark, moderate purple. Relative luminance 0.017; OKLCH L 27.4% C 0.115 H 314.4°. Best body text is #FFFFFF at 15.60:1 contrast (WCAG AA passes).

Color values

HEX#3B0C4D
RGBrgb(59, 12, 77)
HSLhsl(283, 73%, 17%)
HSVhsv(283, 84%, 30%)
CMYKcmyk(23.4%, 84.4%, 0%, 69.8%)
CIE-LABlab(13.99, 33.41, -29.09)
CIE-LCHlch(13.99, 44.30, 318.95°)
OKLaboklab(27.35% 0.0806 -0.0821)
OKLCHoklch(27.35% 0.115 314.4)
XYZxyz(3.2744, 1.7287, 7.1809)
Luminance0.0173 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B0C4D #1E4D0C
analogous
#1B0C4D #3B0C4D #4D0C3E
triadic
#3B0C4D #4D3B0C #0C4D3B
tetradic
#3B0C4D #4D1B0C #1E4D0C #0C3E4D
square
#3B0C4D #4D1B0C #1E4D0C #0C3E4D
split-complementary
#3B0C4D #3E4D0C #0C4D1B
monochromatic
#14041A #14041A #3B0C4D #641482 #8C1DB7

Accessibility & contrast

On white

15.60
#3B0C4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#3B0C4D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B0C4D
15.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B0C4D#FFFFFF#000000##FFFFFF
##3B0C4D1.0015.601.3515.60
#FFFFFF15.601.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00214F
Deuteranopia (green-blind)
#08254C
Tritanopia (blue-blind)
#391B2C
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #3b0c4d;
/* rgb */ color: rgb(59, 12, 77);
/* oklch */ color: oklch(27.4% 0.115 314.4);
Tailwind
colors: {
  custom: {
    50: '#74517f',
    500: '#3b0c4d',
    950: '#000000',
  },
}
SCSS
$custom: #3b0c4d;
$custom-light: #74517f;
$custom-dark: #000000;
JSON
{
  "hex": "#3b0c4d",
  "rgb": {
    "r": 59,
    "g": 12,
    "b": 77
  },
  "hsl": {
    "h": 283.385,
    "s": 73.034,
    "l": 17.451
  },
  "oklch": {
    "l": 0.27352,
    "c": 0.11506,
    "h": 314.4
  },
  "luminance": 0.01729
}

Semantic roles & 50–950 ramp

primary
#3B0C4D
secondary
#46892C
accent
#F0386B
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#08020A
muted
#7B787C

Preview Lab

Preview with #3B0C4D

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

Preview Lab → · Contrast checker → · Palette generator →

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