#3C1571#3C1571

#3C1571 is a dark, vivid violet. Relative luminance 0.027; OKLCH L 31.7% C 0.145 H 296.2°. Best body text is #FFFFFF at 13.66:1 contrast (WCAG AA passes).

Color values

HEX#3C1571
RGBrgb(60, 21, 113)
HSLhsl(265, 69%, 26%)
HSVhsv(265, 81%, 44%)
CMYKcmyk(46.9%, 81.4%, 0%, 55.7%)
CIE-LABlab(18.75, 38.93, -45.33)
CIE-LCHlch(18.75, 59.76, 310.66°)
OKLaboklab(31.73% 0.064 -0.1299)
OKLCHoklch(31.73% 0.145 296.2)
XYZxyz(5.1115, 2.6891, 15.8693)
Luminance0.0269 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C1571 #4A7115
analogous
#151C71 #3C1571 #6A1571
triadic
#3C1571 #713C15 #15713C
tetradic
#3C1571 #71151C #4A7115 #15716A
square
#3C1571 #71151C #4A7115 #15716A
split-complementary
#3C1571 #716A15 #1C7115
monochromatic
#0E051A #210B3D #3C1571 #571FA5 #7329D7

Accessibility & contrast

On white

13.66
#3C1571 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#3C1571 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C1571
13.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C1571#FFFFFF#000000##FFFFFF
##3C15711.0013.661.5413.66
#FFFFFF13.661.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E74
Deuteranopia (green-blind)
#002C6F
Tritanopia (blue-blind)
#2D2E43
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #3c1571;
/* rgb */ color: rgb(60, 21, 113);
/* oklch */ color: oklch(31.7% 0.145 296.2);
Tailwind
colors: {
  custom: {
    50: '#78589b',
    500: '#3c1571',
    950: '#000000',
  },
}
SCSS
$custom: #3c1571;
$custom-light: #78589b;
$custom-dark: #000000;
JSON
{
  "hex": "#3c1571",
  "rgb": {
    "r": 60,
    "g": 21,
    "b": 113
  },
  "hsl": {
    "h": 265.435,
    "s": 68.657,
    "l": 26.275
  },
  "oklch": {
    "l": 0.3173,
    "c": 0.14479,
    "h": 296.2
  },
  "luminance": 0.02689
}

Semantic roles & 50–950 ramp

primary
#3C1571
secondary
#79A73B
accent
#EB3CA1
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #3C1571

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

Preview Lab → · Contrast checker → · Palette generator →

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