#3C1570#3C1570

#3C1570 is a dark, vivid violet. Relative luminance 0.027; OKLCH L 31.6% C 0.144 H 296.6°. Best body text is #FFFFFF at 13.70:1 contrast (WCAG AA passes).

Color values

HEX#3C1570
RGBrgb(60, 21, 112)
HSLhsl(266, 68%, 26%)
HSVhsv(266, 81%, 44%)
CMYKcmyk(46.4%, 81.2%, 0%, 56.1%)
CIE-LABlab(18.66, 38.66, -44.84)
CIE-LCHlch(18.66, 59.21, 310.76°)
OKLaboklab(31.63% 0.0643 -0.1285)
OKLCHoklch(31.63% 0.144 296.6)
XYZxyz(5.0555, 2.6667, 15.5745)
Luminance0.0267 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C1570 #497015
analogous
#151C70 #3C1570 #691570
triadic
#3C1570 #703C15 #15703C
tetradic
#3C1570 #70151C #497015 #157069
square
#3C1570 #70151C #497015 #157069
split-complementary
#3C1570 #706915 #1C7015
monochromatic
#0E051A #200B3C #3C1570 #581FA4 #7329D7

Accessibility & contrast

On white

13.70
#3C1570 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#3C1570 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C1570
13.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C1570#FFFFFF#000000##FFFFFF
##3C15701.0013.701.5313.70
#FFFFFF13.701.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E73
Deuteranopia (green-blind)
#002C6E
Tritanopia (blue-blind)
#2E2E42
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #3c1570;
/* rgb */ color: rgb(60, 21, 112);
/* oklch */ color: oklch(31.6% 0.144 296.6);
Tailwind
colors: {
  custom: {
    50: '#78579a',
    500: '#3c1570',
    950: '#000000',
  },
}
SCSS
$custom: #3c1570;
$custom-light: #78579a;
$custom-dark: #000000;
JSON
{
  "hex": "#3c1570",
  "rgb": {
    "r": 60,
    "g": 21,
    "b": 112
  },
  "hsl": {
    "h": 265.714,
    "s": 68.421,
    "l": 26.078
  },
  "oklch": {
    "l": 0.31633,
    "c": 0.14365,
    "h": 296.6
  },
  "luminance": 0.02667
}

Semantic roles & 50–950 ramp

primary
#3C1570
secondary
#78A63B
accent
#EB3DA0
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #3C1570

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

Preview Lab → · Contrast checker → · Palette generator →

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