#3C0B4E#3C0B4E

#3C0B4E is a dark, moderate purple. Relative luminance 0.018; OKLCH L 27.5% C 0.118 H 314.8°. Best body text is #FFFFFF at 15.56:1 contrast (WCAG AA passes).

Color values

HEX#3C0B4E
RGBrgb(60, 11, 78)
HSLhsl(284, 75%, 17%)
HSVhsv(284, 86%, 31%)
CMYKcmyk(23.1%, 85.9%, 0%, 69.4%)
CIE-LABlab(14.12, 34.25, -29.57)
CIE-LCHlch(14.12, 45.25, 319.19°)
OKLaboklab(27.5% 0.0828 -0.0835)
OKLCHoklch(27.5% 0.118 314.8)
XYZxyz(3.3581, 1.7502, 7.3672)
Luminance0.0175 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C0B4E #1D4E0B
analogous
#1B0B4E #3C0B4E #4E0B3E
triadic
#3C0B4E #4E3C0B #0B4E3C
tetradic
#3C0B4E #4E1B0B #1D4E0B #0B3E4E
square
#3C0B4E #4E1B0B #1D4E0B #0B3E4E
split-complementary
#3C0B4E #3E4E0B #0B4E1B
monochromatic
#15041B #15041B #3C0B4E #651384 #8F1AB9

Accessibility & contrast

On white

15.56
#3C0B4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3C0B4E
15.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C0B4E#FFFFFF#000000##FFFFFF
##3C0B4E1.0015.561.3515.56
#FFFFFF15.561.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002150
Deuteranopia (green-blind)
#07254D
Tritanopia (blue-blind)
#3A1B2C
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #3c0b4e;
/* rgb */ color: rgb(60, 11, 78);
/* oklch */ color: oklch(27.5% 0.118 314.8);
Tailwind
colors: {
  custom: {
    50: '#755180',
    500: '#3c0b4e',
    950: '#000000',
  },
}
SCSS
$custom: #3c0b4e;
$custom-light: #755180;
$custom-dark: #000000;
JSON
{
  "hex": "#3c0b4e",
  "rgb": {
    "r": 60,
    "g": 11,
    "b": 78
  },
  "hsl": {
    "h": 283.881,
    "s": 75.281,
    "l": 17.451
  },
  "oklch": {
    "l": 0.27501,
    "c": 0.11761,
    "h": 314.8
  },
  "luminance": 0.0175
}

Semantic roles & 50–950 ramp

primary
#3C0B4E
secondary
#448A2B
accent
#F23668
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#09020A
muted
#7B787C

Preview Lab

Preview with #3C0B4E

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

Preview Lab → · Contrast checker → · Palette generator →

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