#3C1773#3C1773

#3C1773 is a dark, vivid violet. Relative luminance 0.028; OKLCH L 32.2% C 0.145 H 295.2°. Best body text is #FFFFFF at 13.44:1 contrast (WCAG AA passes).

Color values

HEX#3C1773
RGBrgb(60, 23, 115)
HSLhsl(264, 67%, 27%)
HSVhsv(264, 80%, 45%)
CMYKcmyk(47.8%, 80%, 0%, 54.9%)
CIE-LABlab(19.27, 38.55, -45.78)
CIE-LCHlch(19.27, 59.85, 310.10°)
OKLaboklab(32.15% 0.0616 -0.1312)
OKLCHoklch(32.15% 0.145 295.2)
XYZxyz(5.2635, 2.8111, 16.4816)
Luminance0.0281 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C1773 #4E7317
analogous
#172073 #3C1773 #6A1773
triadic
#3C1773 #733C17 #17733C
tetradic
#3C1773 #731720 #4E7317 #17736A
square
#3C1773 #731720 #4E7317 #17736A
split-complementary
#3C1773 #736A17 #207317
monochromatic
#0D051A #210D40 #3C1773 #5721A6 #722FD5

Accessibility & contrast

On white

13.44
#3C1773 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#3C1773 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C1773
13.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C1773#FFFFFF#000000##FFFFFF
##3C17731.0013.441.5613.44
#FFFFFF13.441.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F76
Deuteranopia (green-blind)
#002D71
Tritanopia (blue-blind)
#2C3044
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #3c1773;
/* rgb */ color: rgb(60, 23, 115);
/* oklch */ color: oklch(32.2% 0.145 295.2);
Tailwind
colors: {
  custom: {
    50: '#78599c',
    500: '#3c1773',
    950: '#000000',
  },
}
SCSS
$custom: #3c1773;
$custom-light: #78599c;
$custom-dark: #000000;
JSON
{
  "hex": "#3c1773",
  "rgb": {
    "r": 60,
    "g": 23,
    "b": 115
  },
  "hsl": {
    "h": 264.13,
    "s": 66.667,
    "l": 27.059
  },
  "oklch": {
    "l": 0.32151,
    "c": 0.14496,
    "h": 295.2
  },
  "luminance": 0.02811
}

Semantic roles & 50–950 ramp

primary
#3C1773
secondary
#7DA93D
accent
#EA3EA5
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #3C1773

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

Preview Lab → · Contrast checker → · Palette generator →

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