#3C1574#3C1574

#3C1574 is a dark, vivid violet. Relative luminance 0.028; OKLCH L 32.0% C 0.148 H 295.2°. Best body text is #FFFFFF at 13.53:1 contrast (WCAG AA passes).

Color values

HEX#3C1574
RGBrgb(60, 21, 116)
HSLhsl(265, 69%, 27%)
HSVhsv(265, 82%, 45%)
CMYKcmyk(48.3%, 81.9%, 0%, 54.5%)
CIE-LABlab(19.05, 39.76, -46.79)
CIE-LCHlch(19.05, 61.40, 310.35°)
OKLaboklab(32.02% 0.063 -0.1342)
OKLCHoklch(32.02% 0.148 295.2)
XYZxyz(5.2832, 2.7578, 16.7736)
Luminance0.0276 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C1574 #4D7415
analogous
#151D74 #3C1574 #6C1574
triadic
#3C1574 #743C15 #15743C
tetradic
#3C1574 #74151D #4D7415 #15746C
square
#3C1574 #74151D #4D7415 #15746C
split-complementary
#3C1574 #746C15 #1D7415
monochromatic
#0D051A #210C40 #3C1574 #571EA8 #722BD9

Accessibility & contrast

On white

13.53
#3C1574 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#3C1574 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C1574
13.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C1574#FFFFFF#000000##FFFFFF
##3C15741.0013.531.5513.53
#FFFFFF13.531.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F77
Deuteranopia (green-blind)
#002D72
Tritanopia (blue-blind)
#2C3044
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #3c1574;
/* rgb */ color: rgb(60, 21, 116);
/* oklch */ color: oklch(32.0% 0.148 295.2);
Tailwind
colors: {
  custom: {
    50: '#78589d',
    500: '#3c1574',
    950: '#000000',
  },
}
SCSS
$custom: #3c1574;
$custom-light: #78589d;
$custom-dark: #000000;
JSON
{
  "hex": "#3c1574",
  "rgb": {
    "r": 60,
    "g": 21,
    "b": 116
  },
  "hsl": {
    "h": 264.632,
    "s": 69.343,
    "l": 26.863
  },
  "oklch": {
    "l": 0.32024,
    "c": 0.14822,
    "h": 295.2
  },
  "luminance": 0.02758
}

Semantic roles & 50–950 ramp

primary
#3C1574
secondary
#7CAA3B
accent
#EC3CA4
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A030E
muted
#7C787E

Preview Lab

Preview with #3C1574

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

Preview Lab → · Contrast checker → · Palette generator →

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