#3C0B4B#3C0B4B

#3C0B4B is a dark, moderate purple. Relative luminance 0.017; OKLCH L 27.3% C 0.115 H 316.7°. Best body text is #FFFFFF at 15.65:1 contrast (WCAG AA passes).

Color values

HEX#3C0B4B
RGBrgb(60, 11, 75)
HSLhsl(286, 74%, 17%)
HSVhsv(286, 85%, 29%)
CMYKcmyk(20%, 85.3%, 0%, 70.6%)
CIE-LABlab(13.87, 33.57, -27.90)
CIE-LCHlch(13.87, 43.65, 320.27°)
OKLaboklab(27.25% 0.0834 -0.0786)
OKLCHoklch(27.25% 0.115 316.7)
XYZxyz(3.2530, 1.7081, 6.8136)
Luminance0.0171 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C0B4B #1A4B0B
analogous
#1C0B4B #3C0B4B #4B0B3A
triadic
#3C0B4B #4B3C0B #0B4B3C
tetradic
#3C0B4B #4B1C0B #1A4B0B #0B3A4B
square
#3C0B4B #4B1C0B #1A4B0B #0B3A4B
split-complementary
#3C0B4B #3A4B0B #0B4B1C
monochromatic
#15041B #15041B #3C0B4B #671380 #911BB6

Accessibility & contrast

On white

15.65
#3C0B4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3C0B4B
15.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C0B4B#FFFFFF#000000##FFFFFF
##3C0B4B1.0015.651.3415.65
#FFFFFF15.651.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00204D
Deuteranopia (green-blind)
#0B254A
Tritanopia (blue-blind)
#3B192B
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #3c0b4b;
/* rgb */ color: rgb(60, 11, 75);
/* oklch */ color: oklch(27.3% 0.115 316.7);
Tailwind
colors: {
  custom: {
    50: '#75517e',
    500: '#3c0b4b',
    950: '#000000',
  },
}
SCSS
$custom: #3c0b4b;
$custom-light: #75517e;
$custom-dark: #000000;
JSON
{
  "hex": "#3c0b4b",
  "rgb": {
    "r": 60,
    "g": 11,
    "b": 75
  },
  "hsl": {
    "h": 285.938,
    "s": 74.419,
    "l": 16.863
  },
  "oklch": {
    "l": 0.27253,
    "c": 0.11459,
    "h": 316.7
  },
  "luminance": 0.01708
}

Semantic roles & 50–950 ramp

primary
#3C0B4B
secondary
#40872B
accent
#F13762
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#08020A
muted
#7B787C

Preview Lab

Preview with #3C0B4B

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

Preview Lab → · Contrast checker → · Palette generator →

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