#3C1373#3C1373

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

Color values

HEX#3C1373
RGBrgb(60, 19, 115)
HSLhsl(266, 72%, 26%)
HSVhsv(266, 83%, 45%)
CMYKcmyk(47.8%, 83.5%, 0%, 54.9%)
CIE-LABlab(18.65, 40.36, -46.80)
CIE-LCHlch(18.65, 61.80, 310.77°)
OKLaboklab(31.72% 0.0649 -0.1342)
OKLCHoklch(31.72% 0.149 295.8)
XYZxyz(5.1900, 2.6641, 16.4571)
Luminance0.0266 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C1373 #4A7313
analogous
#131A73 #3C1373 #6C1373
triadic
#3C1373 #733C13 #13733C
tetradic
#3C1373 #73131A #4A7313 #13736C
square
#3C1373 #73131A #4A7313 #13736C
split-complementary
#3C1373 #736C13 #1A7313
monochromatic
#0E041A #210A3E #3C1373 #571CA8 #7325DB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3C1373#FFFFFF#000000##FFFFFF
##3C13731.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)
#002E76
Deuteranopia (green-blind)
#002C71
Tritanopia (blue-blind)
#2C2E43
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #3c1373;
/* rgb */ color: rgb(60, 19, 115);
/* oklch */ color: oklch(31.7% 0.149 295.8);
Tailwind
colors: {
  custom: {
    50: '#78579c',
    500: '#3c1373',
    950: '#000000',
  },
}
SCSS
$custom: #3c1373;
$custom-light: #78579c;
$custom-dark: #000000;
JSON
{
  "hex": "#3c1373",
  "rgb": {
    "r": 60,
    "g": 19,
    "b": 115
  },
  "hsl": {
    "h": 265.625,
    "s": 71.642,
    "l": 26.275
  },
  "oklch": {
    "l": 0.31715,
    "c": 0.14908,
    "h": 295.8
  },
  "luminance": 0.02664
}

Semantic roles & 50–950 ramp

primary
#3C1373
secondary
#79AA38
accent
#EE39A1
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A030E
muted
#7C787E

Preview Lab

Preview with #3C1373

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

Preview Lab → · Contrast checker → · Palette generator →

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