#3C1473#3C1473

#3C1473 is a dark, vivid violet. Relative luminance 0.027; OKLCH L 31.8% C 0.148 H 295.7°. Best body text is #FFFFFF at 13.64:1 contrast (WCAG AA passes).

Color values

HEX#3C1473
RGBrgb(60, 20, 115)
HSLhsl(265, 70%, 26%)
HSVhsv(265, 83%, 45%)
CMYKcmyk(47.8%, 82.6%, 0%, 54.9%)
CIE-LABlab(18.79, 39.93, -46.56)
CIE-LCHlch(18.79, 61.33, 310.62°)
OKLaboklab(31.82% 0.0642 -0.1335)
OKLCHoklch(31.82% 0.148 295.7)
XYZxyz(5.2073, 2.6986, 16.4629)
Luminance0.0270 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C1473 #4B7314
analogous
#141C73 #3C1473 #6C1473
triadic
#3C1473 #733C14 #14733C
tetradic
#3C1473 #73141C #4B7314 #14736C
square
#3C1473 #73141C #4B7314 #14736C
split-complementary
#3C1473 #736C14 #1C7314
monochromatic
#0E051A #210B3F #3C1473 #571DA7 #7328DA

Accessibility & contrast

On white

13.64
#3C1473 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#3C1473 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C1473
13.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C1473#FFFFFF#000000##FFFFFF
##3C14731.0013.641.5413.64
#FFFFFF13.641.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E76
Deuteranopia (green-blind)
#002C71
Tritanopia (blue-blind)
#2C2F44
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #3c1473;
/* rgb */ color: rgb(60, 20, 115);
/* oklch */ color: oklch(31.8% 0.148 295.7);
Tailwind
colors: {
  custom: {
    50: '#78579c',
    500: '#3c1473',
    950: '#000000',
  },
}
SCSS
$custom: #3c1473;
$custom-light: #78579c;
$custom-dark: #000000;
JSON
{
  "hex": "#3c1473",
  "rgb": {
    "r": 60,
    "g": 20,
    "b": 115
  },
  "hsl": {
    "h": 265.263,
    "s": 70.37,
    "l": 26.471
  },
  "oklch": {
    "l": 0.31819,
    "c": 0.1481,
    "h": 295.7
  },
  "luminance": 0.02699
}

Semantic roles & 50–950 ramp

primary
#3C1473
secondary
#7AA93A
accent
#ED3BA2
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A030E
muted
#7C787E

Preview Lab

Preview with #3C1473

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

Preview Lab → · Contrast checker → · Palette generator →

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