#3C1470#3C1470

#3C1470 is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.5% C 0.145 H 296.8°. Best body text is #FFFFFF at 13.76:1 contrast (WCAG AA passes).

Color values

HEX#3C1470
RGBrgb(60, 20, 112)
HSLhsl(266, 70%, 26%)
HSVhsv(266, 82%, 44%)
CMYKcmyk(46.4%, 82.1%, 0%, 56.1%)
CIE-LABlab(18.50, 39.11, -45.10)
CIE-LCHlch(18.50, 59.70, 310.93°)
OKLaboklab(31.52% 0.0651 -0.1292)
OKLCHoklch(31.52% 0.145 296.8)
XYZxyz(5.0375, 2.6307, 15.5685)
Luminance0.0263 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C1470 #487014
analogous
#141A70 #3C1470 #6A1470
triadic
#3C1470 #703C14 #14703C
tetradic
#3C1470 #70141A #487014 #14706A
square
#3C1470 #70141A #487014 #14706A
split-complementary
#3C1470 #706A14 #1A7014
monochromatic
#0E051A #200B3C #3C1470 #581DA4 #7427D8

Accessibility & contrast

On white

13.76
#3C1470 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3C1470
13.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C1470#FFFFFF#000000##FFFFFF
##3C14701.0013.761.5313.76
#FFFFFF13.761.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.761.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3c1470;
/* rgb */ color: rgb(60, 20, 112);
/* oklch */ color: oklch(31.5% 0.145 296.8);
Tailwind
colors: {
  custom: {
    50: '#78579a',
    500: '#3c1470',
    950: '#000000',
  },
}
SCSS
$custom: #3c1470;
$custom-light: #78579a;
$custom-dark: #000000;
JSON
{
  "hex": "#3c1470",
  "rgb": {
    "r": 60,
    "g": 20,
    "b": 112
  },
  "hsl": {
    "h": 266.087,
    "s": 69.697,
    "l": 25.882
  },
  "oklch": {
    "l": 0.31524,
    "c": 0.14469,
    "h": 296.8
  },
  "luminance": 0.02631
}

Semantic roles & 50–950 ramp

primary
#3C1470
secondary
#77A639
accent
#ED3B9F
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #3C1470

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

Preview Lab → · Contrast checker → · Palette generator →

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