#3C1471#3C1471

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

Color values

HEX#3C1471
RGBrgb(60, 20, 113)
HSLhsl(266, 70%, 26%)
HSVhsv(266, 82%, 44%)
CMYKcmyk(46.9%, 82.3%, 0%, 55.7%)
CIE-LABlab(18.60, 39.38, -45.59)
CIE-LCHlch(18.60, 60.24, 310.82°)
OKLaboklab(31.62% 0.0648 -0.1306)
OKLCHoklch(31.62% 0.146 296.4)
XYZxyz(5.0935, 2.6531, 15.8633)
Luminance0.0265 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C1471 #497114
analogous
#141B71 #3C1471 #6A1471
triadic
#3C1471 #713C14 #14713C
tetradic
#3C1471 #71141B #497114 #14716A
square
#3C1471 #71141B #497114 #14716A
split-complementary
#3C1471 #716A14 #1B7114
monochromatic
#0E051A #200B3D #3C1471 #581DA5 #7327D9

Accessibility & contrast

On white

13.72
#3C1471 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3C1471
13.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C1471#FFFFFF#000000##FFFFFF
##3C14711.0013.721.5313.72
#FFFFFF13.721.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.721.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3c1471;
/* rgb */ color: rgb(60, 20, 113);
/* oklch */ color: oklch(31.6% 0.146 296.4);
Tailwind
colors: {
  custom: {
    50: '#78579b',
    500: '#3c1471',
    950: '#000000',
  },
}
SCSS
$custom: #3c1471;
$custom-light: #78579b;
$custom-dark: #000000;
JSON
{
  "hex": "#3c1471",
  "rgb": {
    "r": 60,
    "g": 20,
    "b": 113
  },
  "hsl": {
    "h": 265.806,
    "s": 69.925,
    "l": 26.078
  },
  "oklch": {
    "l": 0.31622,
    "c": 0.14582,
    "h": 296.4
  },
  "luminance": 0.02653
}

Semantic roles & 50–950 ramp

primary
#3C1471
secondary
#78A739
accent
#ED3BA0
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #3C1471

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

Preview Lab → · Contrast checker → · Palette generator →

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