#3C0C55#3C0C55

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

Color values

HEX#3C0C55
RGBrgb(60, 12, 85)
HSLhsl(279, 75%, 19%)
HSVhsv(279, 86%, 33%)
CMYKcmyk(29.4%, 85.9%, 0%, 66.7%)
CIE-LABlab(14.84, 35.51, -33.18)
CIE-LCHlch(14.84, 48.59, 316.94°)
OKLaboklab(28.2% 0.0803 -0.0941)
OKLCHoklch(28.2% 0.124 310.5)
XYZxyz(3.6343, 1.8796, 8.7639)
Luminance0.0188 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C0C55 #25550C
analogous
#180C55 #3C0C55 #550C4A
triadic
#3C0C55 #553C0C #0C553C
tetradic
#3C0C55 #55180C #25550C #0C4A55
square
#3C0C55 #55180C #25550C #0C4A55
split-complementary
#3C0C55 #4A550C #0C5518
monochromatic
#13041B #16041F #3C0C55 #62148B #881BC0

Accessibility & contrast

On white

15.26
#3C0C55 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3C0C55
15.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C0C55#FFFFFF#000000##FFFFFF
##3C0C551.0015.261.3815.26
#FFFFFF15.261.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002357
Deuteranopia (green-blind)
#002654
Tritanopia (blue-blind)
#381E31
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #3c0c55;
/* rgb */ color: rgb(60, 12, 85);
/* oklch */ color: oklch(28.2% 0.124 310.5);
Tailwind
colors: {
  custom: {
    50: '#755285',
    500: '#3c0c55',
    950: '#000000',
  },
}
SCSS
$custom: #3c0c55;
$custom-light: #755285;
$custom-dark: #000000;
JSON
{
  "hex": "#3c0c55",
  "rgb": {
    "r": 60,
    "g": 12,
    "b": 85
  },
  "hsl": {
    "h": 279.452,
    "s": 75.258,
    "l": 19.02
  },
  "oklch": {
    "l": 0.28196,
    "c": 0.12369,
    "h": 310.5
  },
  "luminance": 0.01879
}

Semantic roles & 50–950 ramp

primary
#3C0C55
secondary
#4F902D
accent
#F23676
background
#F7F4F8
surface
#EDE7EF
border
#C8C3CA
text
#09020B
muted
#7B787C

Preview Lab

Preview with #3C0C55

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

Preview Lab → · Contrast checker → · Palette generator →

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