#3C1372#3C1372

#3C1372 is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.6% C 0.148 H 296.2°. Best body text is #FFFFFF at 13.74:1 contrast (WCAG AA passes).

Color values

HEX#3C1372
RGBrgb(60, 19, 114)
HSLhsl(266, 71%, 26%)
HSVhsv(266, 83%, 45%)
CMYKcmyk(47.4%, 83.3%, 0%, 55.3%)
CIE-LABlab(18.55, 40.09, -46.32)
CIE-LCHlch(18.55, 61.26, 310.88°)
OKLaboklab(31.62% 0.0653 -0.1328)
OKLCHoklch(31.62% 0.148 296.2)
XYZxyz(5.1328, 2.6412, 16.1557)
Luminance0.0264 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C1372 #497213
analogous
#131972 #3C1372 #6B1372
triadic
#3C1372 #723C13 #13723C
tetradic
#3C1372 #721319 #497213 #13726B
square
#3C1372 #721319 #497213 #13726B
split-complementary
#3C1372 #726B13 #197213
monochromatic
#0E041A #200A3E #3C1372 #581CA6 #7325DB

Accessibility & contrast

On white

13.74
#3C1372 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3C1372
13.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C1372#FFFFFF#000000##FFFFFF
##3C13721.0013.741.5313.74
#FFFFFF13.741.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E75
Deuteranopia (green-blind)
#002C70
Tritanopia (blue-blind)
#2D2E43
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #3c1372;
/* rgb */ color: rgb(60, 19, 114);
/* oklch */ color: oklch(31.6% 0.148 296.2);
Tailwind
colors: {
  custom: {
    50: '#78579b',
    500: '#3c1372',
    950: '#000000',
  },
}
SCSS
$custom: #3c1372;
$custom-light: #78579b;
$custom-dark: #000000;
JSON
{
  "hex": "#3c1372",
  "rgb": {
    "r": 60,
    "g": 19,
    "b": 114
  },
  "hsl": {
    "h": 265.895,
    "s": 71.429,
    "l": 26.078
  },
  "oklch": {
    "l": 0.31616,
    "c": 0.14795,
    "h": 296.2
  },
  "luminance": 0.02641
}

Semantic roles & 50–950 ramp

primary
#3C1372
secondary
#78A938
accent
#EE3AA0
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A030E
muted
#7C787E

Preview Lab

Preview with #3C1372

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

Preview Lab → · Contrast checker → · Palette generator →

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