#3C0F59#3C0F59

#3C0F59 is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.8% C 0.125 H 307.8°. Best body text is #FFFFFF at 14.95:1 contrast (WCAG AA passes).

Color values

HEX#3C0F59
RGBrgb(60, 15, 89)
HSLhsl(276, 71%, 20%)
HSVhsv(276, 83%, 35%)
CMYKcmyk(32.6%, 83.1%, 0%, 65.1%)
CIE-LABlab(15.61, 35.27, -34.63)
CIE-LCHlch(15.61, 49.43, 315.52°)
OKLaboklab(28.84% 0.0764 -0.0984)
OKLCHoklch(28.84% 0.125 307.8)
XYZxyz(3.8371, 2.0236, 9.6377)
Luminance0.0202 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C0F59 #2C590F
analogous
#170F59 #3C0F59 #590F51
triadic
#3C0F59 #593C0F #0F593C
tetradic
#3C0F59 #59170F #2C590F #0F5159
square
#3C0F59 #59170F #2C590F #0F5159
split-complementary
#3C0F59 #51590F #0F5917
monochromatic
#12041A #190625 #3C0F59 #5F188D #8321C2

Accessibility & contrast

On white

14.95
#3C0F59 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#3C0F59 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C0F59
14.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C0F59#FFFFFF#000000##FFFFFF
##3C0F591.0014.951.4014.95
#FFFFFF14.951.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00255B
Deuteranopia (green-blind)
#002758
Tritanopia (blue-blind)
#372234
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #3c0f59;
/* rgb */ color: rgb(60, 15, 89);
/* oklch */ color: oklch(28.8% 0.125 307.8);
Tailwind
colors: {
  custom: {
    50: '#755388',
    500: '#3c0f59',
    950: '#000000',
  },
}
SCSS
$custom: #3c0f59;
$custom-light: #755388;
$custom-dark: #000000;
JSON
{
  "hex": "#3c0f59",
  "rgb": {
    "r": 60,
    "g": 15,
    "b": 89
  },
  "hsl": {
    "h": 276.486,
    "s": 71.154,
    "l": 20.392
  },
  "oklch": {
    "l": 0.28844,
    "c": 0.12461,
    "h": 307.8
  },
  "luminance": 0.02024
}

Semantic roles & 50–950 ramp

primary
#3C0F59
secondary
#579331
accent
#EE3A80
background
#F7F4F8
surface
#EDE8F0
border
#C8C4CB
text
#09030B
muted
#7B787C

Preview Lab

Preview with #3C0F59

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

Preview Lab → · Contrast checker → · Palette generator →

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