#3C0B4D#3C0B4D

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

Color values

HEX#3C0B4D
RGBrgb(60, 11, 77)
HSLhsl(285, 75%, 17%)
HSVhsv(285, 86%, 30%)
CMYKcmyk(22.1%, 85.7%, 0%, 69.8%)
CIE-LABlab(14.04, 34.02, -29.01)
CIE-LCHlch(14.04, 44.71, 319.54°)
OKLaboklab(27.42% 0.083 -0.0819)
OKLCHoklch(27.42% 0.117 315.4)
XYZxyz(3.3225, 1.7360, 7.1798)
Luminance0.0174 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C0B4D #1C4D0B
analogous
#1B0B4D #3C0B4D #4D0B3D
triadic
#3C0B4D #4D3C0B #0B4D3C
tetradic
#3C0B4D #4D1B0B #1C4D0B #0B3D4D
square
#3C0B4D #4D1B0B #1C4D0B #0B3D4D
split-complementary
#3C0B4D #3D4D0B #0B4D1B
monochromatic
#15041B #15041B #3C0B4D #661383 #8F1AB8

Accessibility & contrast

On white

15.59
#3C0B4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3C0B4D
15.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C0B4D#FFFFFF#000000##FFFFFF
##3C0B4D1.0015.591.3515.59
#FFFFFF15.591.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.591.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3c0b4d;
/* rgb */ color: rgb(60, 11, 77);
/* oklch */ color: oklch(27.4% 0.117 315.4);
Tailwind
colors: {
  custom: {
    50: '#75517f',
    500: '#3c0b4d',
    950: '#000000',
  },
}
SCSS
$custom: #3c0b4d;
$custom-light: #75517f;
$custom-dark: #000000;
JSON
{
  "hex": "#3c0b4d",
  "rgb": {
    "r": 60,
    "g": 11,
    "b": 77
  },
  "hsl": {
    "h": 284.545,
    "s": 75,
    "l": 17.255
  },
  "oklch": {
    "l": 0.27418,
    "c": 0.1166,
    "h": 315.4
  },
  "luminance": 0.01736
}

Semantic roles & 50–950 ramp

primary
#3C0B4D
secondary
#43892B
accent
#F23666
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#09020A
muted
#7B787C

Preview Lab

Preview with #3C0B4D

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

Preview Lab → · Contrast checker → · Palette generator →

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