#3C0A3D#3C0A3D

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

Color values

HEX#3C0A3D
RGBrgb(60, 10, 61)
HSLhsl(299, 72%, 14%)
HSVhsv(299, 84%, 24%)
CMYKcmyk(1.6%, 83.6%, 0%, 76.1%)
CIE-LABlab(12.70, 30.97, -19.96)
CIE-LCHlch(12.70, 36.84, 327.20°)
OKLaboklab(26.09% 0.0858 -0.0554)
OKLCHoklch(26.09% 0.102 327.2)
XYZxyz(2.8143, 1.5149, 4.5581)
Luminance0.0152 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C0A3D #0B3D0A
analogous
#230A3D #3C0A3D #3D0A25
triadic
#3C0A3D #3D3C0A #0A3D3C
tetradic
#3C0A3D #3D230A #0B3D0A #0A253D
square
#3C0A3D #3D230A #0B3D0A #0A253D
split-complementary
#3C0A3D #253D0A #0A3D23
monochromatic
#1A041A #1A041A #3C0A3D #701372 #A31BA6

Accessibility & contrast

On white

16.12
#3C0A3D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#3C0A3D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C0A3D
16.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C0A3D#FFFFFF#000000##FFFFFF
##3C0A3D1.0016.121.3016.12
#FFFFFF16.121.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#021D3E
Deuteranopia (green-blind)
#17233C
Tritanopia (blue-blind)
#3E1223
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #3c0a3d;
/* rgb */ color: rgb(60, 10, 61);
/* oklch */ color: oklch(26.1% 0.102 327.2);
Tailwind
colors: {
  custom: {
    50: '#744f73',
    500: '#3c0a3d',
    950: '#000000',
  },
}
SCSS
$custom: #3c0a3d;
$custom-light: #744f73;
$custom-dark: #000000;
JSON
{
  "hex": "#3c0a3d",
  "rgb": {
    "r": 60,
    "g": 10,
    "b": 61
  },
  "hsl": {
    "h": 298.824,
    "s": 71.831,
    "l": 13.922
  },
  "oklch": {
    "l": 0.26089,
    "c": 0.10215,
    "h": 327.2
  },
  "luminance": 0.01515
}

Semantic roles & 50–950 ramp

primary
#3C0A3D
secondary
#2A7A28
accent
#EF393D
background
#F7F4F6
surface
#EDE7EC
border
#C8C3C7
text
#080208
muted
#7B787B

Preview Lab

Preview with #3C0A3D

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

Preview Lab → · Contrast checker → · Palette generator →

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