#3C0E57#3C0E57

#3C0E57 is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.6% C 0.124 H 309.1°. Best body text is #FFFFFF at 15.08:1 contrast (WCAG AA passes).

Color values

HEX#3C0E57
RGBrgb(60, 14, 87)
HSLhsl(278, 72%, 20%)
HSVhsv(278, 84%, 34%)
CMYKcmyk(31%, 83.9%, 0%, 65.9%)
CIE-LABlab(15.29, 35.20, -33.80)
CIE-LCHlch(15.29, 48.80, 316.16°)
OKLaboklab(28.57% 0.0779 -0.096)
OKLCHoklch(28.57% 0.124 309.1)
XYZxyz(3.7405, 1.9629, 9.1968)
Luminance0.0196 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C0E57 #29570E
analogous
#170E57 #3C0E57 #570E4E
triadic
#3C0E57 #573C0E #0E573C
tetradic
#3C0E57 #57170E #29570E #0E4E57
square
#3C0E57 #57170E #29570E #0E4E57
split-complementary
#3C0E57 #4E570E #0E5717
monochromatic
#12041A #180622 #3C0E57 #60168C #851FC0

Accessibility & contrast

On white

15.08
#3C0E57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3C0E57
15.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C0E57#FFFFFF#000000##FFFFFF
##3C0E571.0015.081.3915.08
#FFFFFF15.081.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.081.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3c0e57;
/* rgb */ color: rgb(60, 14, 87);
/* oklch */ color: oklch(28.6% 0.124 309.1);
Tailwind
colors: {
  custom: {
    50: '#755387',
    500: '#3c0e57',
    950: '#000000',
  },
}
SCSS
$custom: #3c0e57;
$custom-light: #755387;
$custom-dark: #000000;
JSON
{
  "hex": "#3c0e57",
  "rgb": {
    "r": 60,
    "g": 14,
    "b": 87
  },
  "hsl": {
    "h": 277.808,
    "s": 72.277,
    "l": 19.804
  },
  "oklch": {
    "l": 0.28565,
    "c": 0.1236,
    "h": 309.1
  },
  "luminance": 0.01963
}

Semantic roles & 50–950 ramp

primary
#3C0E57
secondary
#549130
accent
#EF397C
background
#F7F4F8
surface
#EDE7EF
border
#C8C3CA
text
#09030B
muted
#7B787C

Preview Lab

Preview with #3C0E57

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

Preview Lab → · Contrast checker → · Palette generator →

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