#3C0F57#3C0F57

#3C0F57 is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.7% C 0.122 H 308.9°. Best body text is #FFFFFF at 15.02:1 contrast (WCAG AA passes).

Color values

HEX#3C0F57
RGBrgb(60, 15, 87)
HSLhsl(278, 71%, 20%)
HSVhsv(278, 83%, 34%)
CMYKcmyk(31%, 82.8%, 0%, 65.9%)
CIE-LABlab(15.44, 34.78, -33.56)
CIE-LCHlch(15.44, 48.33, 316.02°)
OKLaboklab(28.67% 0.0769 -0.0953)
OKLCHoklch(28.67% 0.122 308.9)
XYZxyz(3.7543, 1.9905, 9.2014)
Luminance0.0199 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C0F57 #2A570F
analogous
#180F57 #3C0F57 #570F4E
triadic
#3C0F57 #573C0F #0F573C
tetradic
#3C0F57 #57180F #2A570F #0F4E57
square
#3C0F57 #57180F #2A570F #0F4E57
split-complementary
#3C0F57 #4E570F #0F5718
monochromatic
#12051A #180623 #3C0F57 #60188B #8421BF

Accessibility & contrast

On white

15.02
#3C0F57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3C0F57
15.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C0F57#FFFFFF#000000##FFFFFF
##3C0F571.0015.021.4015.02
#FFFFFF15.021.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002559
Deuteranopia (green-blind)
#002756
Tritanopia (blue-blind)
#382132
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #3c0f57;
/* rgb */ color: rgb(60, 15, 87);
/* oklch */ color: oklch(28.7% 0.122 308.9);
Tailwind
colors: {
  custom: {
    50: '#755387',
    500: '#3c0f57',
    950: '#000000',
  },
}
SCSS
$custom: #3c0f57;
$custom-light: #755387;
$custom-dark: #000000;
JSON
{
  "hex": "#3c0f57",
  "rgb": {
    "r": 60,
    "g": 15,
    "b": 87
  },
  "hsl": {
    "h": 277.5,
    "s": 70.588,
    "l": 20
  },
  "oklch": {
    "l": 0.28668,
    "c": 0.12245,
    "h": 308.9
  },
  "luminance": 0.0199
}

Semantic roles & 50–950 ramp

primary
#3C0F57
secondary
#559131
accent
#ED3A7E
background
#F7F4F8
surface
#EDE7EF
border
#C8C3CA
text
#09030B
muted
#7B787C

Preview Lab

Preview with #3C0F57

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

Preview Lab → · Contrast checker → · Palette generator →

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