#3C0B3E#3C0B3E

#3C0B3E is a dark, moderate purple. Relative luminance 0.015; OKLCH L 26.3% C 0.102 H 326.3°. Best body text is #FFFFFF at 16.04:1 contrast (WCAG AA passes).

Color values

HEX#3C0B3E
RGBrgb(60, 11, 62)
HSLhsl(298, 70%, 14%)
HSVhsv(298, 82%, 24%)
CMYKcmyk(3.2%, 82.3%, 0%, 75.7%)
CIE-LABlab(12.91, 30.77, -20.34)
CIE-LCHlch(12.91, 36.88, 326.54°)
OKLaboklab(26.26% 0.0847 -0.0565)
OKLCHoklch(26.26% 0.102 326.3)
XYZxyz(2.8526, 1.5480, 4.7050)
Luminance0.0155 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C0B3E #0D3E0B
analogous
#230B3E #3C0B3E #3E0B27
triadic
#3C0B3E #3E3C0B #0B3E3C
tetradic
#3C0B3E #3E230B #0D3E0B #0B273E
square
#3C0B3E #3E230B #0D3E0B #0B273E
split-complementary
#3C0B3E #273E0B #0B3E23
monochromatic
#19051A #19051A #3C0B3E #6E1472 #A11DA6

Accessibility & contrast

On white

16.04
#3C0B3E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#3C0B3E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C0B3E
16.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C0B3E#FFFFFF#000000##FFFFFF
##3C0B3E1.0016.041.3116.04
#FFFFFF16.041.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#021D3F
Deuteranopia (green-blind)
#17233D
Tritanopia (blue-blind)
#3E1323
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #3c0b3e;
/* rgb */ color: rgb(60, 11, 62);
/* oklch */ color: oklch(26.3% 0.102 326.3);
Tailwind
colors: {
  custom: {
    50: '#745073',
    500: '#3c0b3e',
    950: '#000000',
  },
}
SCSS
$custom: #3c0b3e;
$custom-light: #745073;
$custom-dark: #000000;
JSON
{
  "hex": "#3c0b3e",
  "rgb": {
    "r": 60,
    "g": 11,
    "b": 62
  },
  "hsl": {
    "h": 297.647,
    "s": 69.863,
    "l": 14.314
  },
  "oklch": {
    "l": 0.2626,
    "c": 0.10181,
    "h": 326.3
  },
  "luminance": 0.01548
}

Semantic roles & 50–950 ramp

primary
#3C0B3E
secondary
#2D7B2A
accent
#ED3B42
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#080208
muted
#7B787B

Preview Lab

Preview with #3C0B3E

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

Preview Lab → · Contrast checker → · Palette generator →

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