#3C0B52#3C0B52

#3C0B52 is a dark, vivid purple. Relative luminance 0.018; OKLCH L 27.8% C 0.122 H 312.3°. Best body text is #FFFFFF at 15.42:1 contrast (WCAG AA passes).

Color values

HEX#3C0B52
RGBrgb(60, 11, 82)
HSLhsl(281, 76%, 18%)
HSVhsv(281, 87%, 32%)
CMYKcmyk(26.8%, 86.6%, 0%, 67.8%)
CIE-LABlab(14.45, 35.18, -31.77)
CIE-LCHlch(14.45, 47.40, 317.92°)
OKLaboklab(27.84% 0.0819 -0.09)
OKLCHoklch(27.84% 0.122 312.3)
XYZxyz(3.5059, 1.8093, 8.1456)
Luminance0.0181 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C0B52 #21520B
analogous
#180B52 #3C0B52 #520B44
triadic
#3C0B52 #523C0B #0B523C
tetradic
#3C0B52 #52180B #21520B #0B4452
square
#3C0B52 #52180B #21520B #0B4452
split-complementary
#3C0B52 #44520B #0B5218
monochromatic
#14041B #15041C #3C0B52 #631288 #8B19BE

Accessibility & contrast

On white

15.42
#3C0B52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#3C0B52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C0B52
15.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C0B52#FFFFFF#000000##FFFFFF
##3C0B521.0015.421.3615.42
#FFFFFF15.421.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002254
Deuteranopia (green-blind)
#012551
Tritanopia (blue-blind)
#391D2F
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #3c0b52;
/* rgb */ color: rgb(60, 11, 82);
/* oklch */ color: oklch(27.8% 0.122 312.3);
Tailwind
colors: {
  custom: {
    50: '#755183',
    500: '#3c0b52',
    950: '#000000',
  },
}
SCSS
$custom: #3c0b52;
$custom-light: #755183;
$custom-dark: #000000;
JSON
{
  "hex": "#3c0b52",
  "rgb": {
    "r": 60,
    "g": 11,
    "b": 82
  },
  "hsl": {
    "h": 281.408,
    "s": 76.344,
    "l": 18.235
  },
  "oklch": {
    "l": 0.27842,
    "c": 0.12168,
    "h": 312.3
  },
  "luminance": 0.01809
}

Semantic roles & 50–950 ramp

primary
#3C0B52
secondary
#4A8E2B
accent
#F33570
background
#F7F4F8
surface
#EDE7EF
border
#C8C3CA
text
#09020B
muted
#7B787C

Preview Lab

Preview with #3C0B52

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

Preview Lab → · Contrast checker → · Palette generator →

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