#3C0B4A#3C0B4A

#3C0B4A is a dark, moderate purple. Relative luminance 0.017; OKLCH L 27.2% C 0.114 H 317.4°. Best body text is #FFFFFF at 15.69:1 contrast (WCAG AA passes).

Color values

HEX#3C0B4A
RGBrgb(60, 11, 74)
HSLhsl(287, 74%, 17%)
HSVhsv(287, 85%, 29%)
CMYKcmyk(18.9%, 85.1%, 0%, 71%)
CIE-LABlab(13.80, 33.34, -27.33)
CIE-LCHlch(13.80, 43.11, 320.66°)
OKLaboklab(27.17% 0.0836 -0.0769)
OKLCHoklch(27.17% 0.114 317.4)
XYZxyz(3.2190, 1.6946, 6.6348)
Luminance0.0169 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C0B4A #194A0B
analogous
#1D0B4A #3C0B4A #4A0B39
triadic
#3C0B4A #4A3C0B #0B4A3C
tetradic
#3C0B4A #4A1D0B #194A0B #0B394A
square
#3C0B4A #4A1D0B #194A0B #0B394A
split-complementary
#3C0B4A #394A0B #0B4A1D
monochromatic
#16041B #16041B #3C0B4A #67137F #921BB5

Accessibility & contrast

On white

15.69
#3C0B4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#3C0B4A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C0B4A
15.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C0B4A#FFFFFF#000000##FFFFFF
##3C0B4A1.0015.691.3415.69
#FFFFFF15.691.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00204C
Deuteranopia (green-blind)
#0D2549
Tritanopia (blue-blind)
#3B192A
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #3c0b4a;
/* rgb */ color: rgb(60, 11, 74);
/* oklch */ color: oklch(27.2% 0.114 317.4);
Tailwind
colors: {
  custom: {
    50: '#74517d',
    500: '#3c0b4a',
    950: '#000000',
  },
}
SCSS
$custom: #3c0b4a;
$custom-light: #74517d;
$custom-dark: #000000;
JSON
{
  "hex": "#3c0b4a",
  "rgb": {
    "r": 60,
    "g": 11,
    "b": 74
  },
  "hsl": {
    "h": 286.667,
    "s": 74.118,
    "l": 16.667
  },
  "oklch": {
    "l": 0.27172,
    "c": 0.11359,
    "h": 317.4
  },
  "luminance": 0.01694
}

Semantic roles & 50–950 ramp

primary
#3C0B4A
secondary
#3F862B
accent
#F13760
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#080209
muted
#7B787B

Preview Lab

Preview with #3C0B4A

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

Preview Lab → · Contrast checker → · Palette generator →

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