#3C0D54#3C0D54

#3C0D54 is a dark, vivid violet. Relative luminance 0.019; OKLCH L 28.2% C 0.122 H 310.9°. Best body text is #FFFFFF at 15.24:1 contrast (WCAG AA passes).

Color values

HEX#3C0D54
RGBrgb(60, 13, 84)
HSLhsl(280, 73%, 19%)
HSVhsv(280, 85%, 33%)
CMYKcmyk(28.6%, 84.5%, 0%, 67.1%)
CIE-LABlab(14.89, 34.87, -32.42)
CIE-LCHlch(14.89, 47.61, 317.09°)
OKLaboklab(28.2% 0.0796 -0.0919)
OKLCHoklch(28.2% 0.122 310.9)
XYZxyz(3.6073, 1.8887, 8.5603)
Luminance0.0189 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C0D54 #25540D
analogous
#190D54 #3C0D54 #540D49
triadic
#3C0D54 #543C0D #0D543C
tetradic
#3C0D54 #54190D #25540D #0D4954
square
#3C0D54 #54190D #25540D #0D4954
split-complementary
#3C0D54 #49540D #0D5419
monochromatic
#13041A #16051F #3C0D54 #621589 #881DBE

Accessibility & contrast

On white

15.24
#3C0D54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#3C0D54 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C0D54
15.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C0D54#FFFFFF#000000##FFFFFF
##3C0D541.0015.241.3815.24
#FFFFFF15.241.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002356
Deuteranopia (green-blind)
#002653
Tritanopia (blue-blind)
#391E30
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #3c0d54;
/* rgb */ color: rgb(60, 13, 84);
/* oklch */ color: oklch(28.2% 0.122 310.9);
Tailwind
colors: {
  custom: {
    50: '#755285',
    500: '#3c0d54',
    950: '#000000',
  },
}
SCSS
$custom: #3c0d54;
$custom-light: #755285;
$custom-dark: #000000;
JSON
{
  "hex": "#3c0d54",
  "rgb": {
    "r": 60,
    "g": 13,
    "b": 84
  },
  "hsl": {
    "h": 279.718,
    "s": 73.196,
    "l": 19.02
  },
  "oklch": {
    "l": 0.28204,
    "c": 0.12155,
    "h": 310.9
  },
  "luminance": 0.01889
}

Semantic roles & 50–950 ramp

primary
#3C0D54
secondary
#4F8F2E
accent
#F03876
background
#F7F4F8
surface
#EDE7EF
border
#C8C3CA
text
#09020B
muted
#7B787C

Preview Lab

Preview with #3C0D54

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

Preview Lab → · Contrast checker → · Palette generator →

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