#3C0D57#3C0D57

#3C0D57 is a dark, vivid violet. Relative luminance 0.019; OKLCH L 28.5% C 0.125 H 309.2°. Best body text is #FFFFFF at 15.14:1 contrast (WCAG AA passes).

Color values

HEX#3C0D57
RGBrgb(60, 13, 87)
HSLhsl(278, 74%, 20%)
HSVhsv(278, 85%, 34%)
CMYKcmyk(31%, 85.1%, 0%, 65.9%)
CIE-LABlab(15.15, 35.60, -34.03)
CIE-LCHlch(15.15, 49.25, 316.29°)
OKLaboklab(28.47% 0.0788 -0.0966)
OKLCHoklch(28.47% 0.125 309.2)
XYZxyz(3.7274, 1.9367, 9.1924)
Luminance0.0194 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C0D57 #28570D
analogous
#170D57 #3C0D57 #570D4D
triadic
#3C0D57 #573C0D #0D573C
tetradic
#3C0D57 #57170D #28570D #0D4D57
square
#3C0D57 #57170D #28570D #0D4D57
split-complementary
#3C0D57 #4D570D #0D5717
monochromatic
#12041B #170522 #3C0D57 #61158C #851DC1

Accessibility & contrast

On white

15.14
#3C0D57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#3C0D57 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C0D57
15.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C0D57#FFFFFF#000000##FFFFFF
##3C0D571.0015.141.3915.14
#FFFFFF15.141.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002459
Deuteranopia (green-blind)
#002756
Tritanopia (blue-blind)
#382032
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #3c0d57;
/* rgb */ color: rgb(60, 13, 87);
/* oklch */ color: oklch(28.5% 0.125 309.2);
Tailwind
colors: {
  custom: {
    50: '#755287',
    500: '#3c0d57',
    950: '#000000',
  },
}
SCSS
$custom: #3c0d57;
$custom-light: #755287;
$custom-dark: #000000;
JSON
{
  "hex": "#3c0d57",
  "rgb": {
    "r": 60,
    "g": 13,
    "b": 87
  },
  "hsl": {
    "h": 278.108,
    "s": 74,
    "l": 19.608
  },
  "oklch": {
    "l": 0.28467,
    "c": 0.12471,
    "h": 309.2
  },
  "luminance": 0.01937
}

Semantic roles & 50–950 ramp

primary
#3C0D57
secondary
#52922E
accent
#F1377B
background
#F7F4F8
surface
#EDE7EF
border
#C8C3CA
text
#09020B
muted
#7B787C

Preview Lab

Preview with #3C0D57

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

Preview Lab → · Contrast checker → · Palette generator →

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