#3C0C57#3C0C57

#3C0C57 is a dark, vivid violet. Relative luminance 0.019; OKLCH L 28.4% C 0.126 H 309.3°. Best body text is #FFFFFF at 15.19:1 contrast (WCAG AA passes).

Color values

HEX#3C0C57
RGBrgb(60, 12, 87)
HSLhsl(278, 76%, 19%)
HSVhsv(278, 86%, 34%)
CMYKcmyk(31%, 86.2%, 0%, 65.9%)
CIE-LABlab(15.02, 35.99, -34.25)
CIE-LCHlch(15.02, 49.68, 316.42°)
OKLaboklab(28.37% 0.0797 -0.0973)
OKLCHoklch(28.37% 0.126 309.3)
XYZxyz(3.7149, 1.9118, 9.1883)
Luminance0.0191 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C0C57 #27570C
analogous
#170C57 #3C0C57 #570C4D
triadic
#3C0C57 #573C0C #0C573C
tetradic
#3C0C57 #57170C #27570C #0C4D57
square
#3C0C57 #57170C #27570C #0C4D57
split-complementary
#3C0C57 #4D570C #0C5717
monochromatic
#13041B #170521 #3C0C57 #61138D #861BC3

Accessibility & contrast

On white

15.19
#3C0C57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3C0C57
15.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C0C57#FFFFFF#000000##FFFFFF
##3C0C571.0015.191.3815.19
#FFFFFF15.191.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002459
Deuteranopia (green-blind)
#002656
Tritanopia (blue-blind)
#381F32
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #3c0c57;
/* rgb */ color: rgb(60, 12, 87);
/* oklch */ color: oklch(28.4% 0.126 309.3);
Tailwind
colors: {
  custom: {
    50: '#755287',
    500: '#3c0c57',
    950: '#000000',
  },
}
SCSS
$custom: #3c0c57;
$custom-light: #755287;
$custom-dark: #000000;
JSON
{
  "hex": "#3c0c57",
  "rgb": {
    "r": 60,
    "g": 12,
    "b": 87
  },
  "hsl": {
    "h": 278.4,
    "s": 75.758,
    "l": 19.412
  },
  "oklch": {
    "l": 0.28373,
    "c": 0.12576,
    "h": 309.3
  },
  "luminance": 0.01912
}

Semantic roles & 50–950 ramp

primary
#3C0C57
secondary
#51922D
accent
#F23579
background
#F7F4F8
surface
#EDE7EF
border
#C8C3CA
text
#09020B
muted
#7B787C

Preview Lab

Preview with #3C0C57

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

Preview Lab → · Contrast checker → · Palette generator →

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