#3C0D4D#3C0D4D

#3C0D4D is a dark, moderate purple. Relative luminance 0.018; OKLCH L 27.6% C 0.114 H 315.2°. Best body text is #FFFFFF at 15.48:1 contrast (WCAG AA passes).

Color values

HEX#3C0D4D
RGBrgb(60, 13, 77)
HSLhsl(284, 71%, 18%)
HSVhsv(284, 83%, 30%)
CMYKcmyk(22.1%, 83.1%, 0%, 69.8%)
CIE-LABlab(14.31, 33.22, -28.57)
CIE-LCHlch(14.31, 43.81, 319.31°)
OKLaboklab(27.61% 0.081 -0.0806)
OKLCHoklch(27.61% 0.114 315.2)
XYZxyz(3.3467, 1.7845, 7.1879)
Luminance0.0178 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C0D4D #1E4D0D
analogous
#1C0D4D #3C0D4D #4D0D3E
triadic
#3C0D4D #4D3C0D #0D4D3C
tetradic
#3C0D4D #4D1C0D #1E4D0D #0D3E4D
square
#3C0D4D #4D1C0D #1E4D0D #0D3E4D
split-complementary
#3C0D4D #3E4D0D #0D4D1C
monochromatic
#14041A #14041A #3C0D4D #651681 #8E1FB6

Accessibility & contrast

On white

15.48
#3C0D4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3C0D4D
15.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C0D4D#FFFFFF#000000##FFFFFF
##3C0D4D1.0015.481.3615.48
#FFFFFF15.481.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00224F
Deuteranopia (green-blind)
#0A254C
Tritanopia (blue-blind)
#3B1B2C
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #3c0d4d;
/* rgb */ color: rgb(60, 13, 77);
/* oklch */ color: oklch(27.6% 0.114 315.2);
Tailwind
colors: {
  custom: {
    50: '#75527f',
    500: '#3c0d4d',
    950: '#000000',
  },
}
SCSS
$custom: #3c0d4d;
$custom-light: #75527f;
$custom-dark: #000000;
JSON
{
  "hex": "#3c0d4d",
  "rgb": {
    "r": 60,
    "g": 13,
    "b": 77
  },
  "hsl": {
    "h": 284.063,
    "s": 71.111,
    "l": 17.647
  },
  "oklch": {
    "l": 0.27613,
    "c": 0.11426,
    "h": 315.2
  },
  "luminance": 0.01784
}

Semantic roles & 50–950 ramp

primary
#3C0D4D
secondary
#46882E
accent
#EE3A6A
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#08020A
muted
#7B787C

Preview Lab

Preview with #3C0D4D

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

Preview Lab → · Contrast checker → · Palette generator →

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