#3C1370#3C1370

#3C1370 is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.4% C 0.146 H 296.9°. Best body text is #FFFFFF at 13.82:1 contrast (WCAG AA passes).

Color values

HEX#3C1370
RGBrgb(60, 19, 112)
HSLhsl(266, 71%, 26%)
HSVhsv(266, 83%, 44%)
CMYKcmyk(46.4%, 83%, 0%, 56.1%)
CIE-LABlab(18.35, 39.55, -45.35)
CIE-LCHlch(18.35, 60.17, 311.09°)
OKLaboklab(31.42% 0.066 -0.1299)
OKLCHoklch(31.42% 0.146 296.9)
XYZxyz(5.0202, 2.5961, 15.5627)
Luminance0.0260 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C1370 #477013
analogous
#131870 #3C1370 #6A1370
triadic
#3C1370 #703C13 #13703C
tetradic
#3C1370 #701318 #477013 #13706A
square
#3C1370 #701318 #477013 #13706A
split-complementary
#3C1370 #706A13 #187013
monochromatic
#0E041A #200A3C #3C1370 #581CA4 #7425D9

Accessibility & contrast

On white

13.82
#3C1370 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#3C1370 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C1370
13.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C1370#FFFFFF#000000##FFFFFF
##3C13701.0013.821.5213.82
#FFFFFF13.821.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.821.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3c1370;
/* rgb */ color: rgb(60, 19, 112);
/* oklch */ color: oklch(31.4% 0.146 296.9);
Tailwind
colors: {
  custom: {
    50: '#78569a',
    500: '#3c1370',
    950: '#000000',
  },
}
SCSS
$custom: #3c1370;
$custom-light: #78569a;
$custom-dark: #000000;
JSON
{
  "hex": "#3c1370",
  "rgb": {
    "r": 60,
    "g": 19,
    "b": 112
  },
  "hsl": {
    "h": 266.452,
    "s": 70.992,
    "l": 25.686
  },
  "oklch": {
    "l": 0.31418,
    "c": 0.1457,
    "h": 296.9
  },
  "luminance": 0.02596
}

Semantic roles & 50–950 ramp

primary
#3C1370
secondary
#76A738
accent
#EE3A9F
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #3C1370

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

Preview Lab → · Contrast checker → · Palette generator →

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