#3C177E#3C177E

#3C177E is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.2% C 0.158 H 291.6°. Best body text is #FFFFFF at 13.00:1 contrast (WCAG AA passes).

Color values

HEX#3C177E
RGBrgb(60, 23, 126)
HSLhsl(262, 69%, 29%)
HSVhsv(262, 82%, 49%)
CMYKcmyk(52.4%, 81.7%, 0%, 50.6%)
CIE-LABlab(20.36, 41.64, -51.03)
CIE-LCHlch(20.36, 65.86, 309.21°)
OKLaboklab(33.24% 0.0581 -0.1466)
OKLCHoklch(33.24% 0.158 291.6)
XYZxyz(5.9347, 3.0796, 20.0163)
Luminance0.0308 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C177E #597E17
analogous
#17267E #3C177E #70177E
triadic
#3C177E #7E3C17 #177E3C
tetradic
#3C177E #7E1726 #597E17 #177E70
square
#3C177E #7E1726 #597E17 #177E70
split-complementary
#3C177E #7E7017 #267E17
monochromatic
#0C051A #230E4A #3C177E #5520B2 #7035DA

Accessibility & contrast

On white

13.00
#3C177E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#3C177E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C177E
13.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C177E#FFFFFF#000000##FFFFFF
##3C177E1.0013.001.6213.00
#FFFFFF13.001.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF13.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003381
Deuteranopia (green-blind)
#002F7C
Tritanopia (blue-blind)
#25354B
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #3c177e;
/* rgb */ color: rgb(60, 23, 126);
/* oklch */ color: oklch(33.2% 0.158 291.6);
Tailwind
colors: {
  custom: {
    50: '#7a59a4',
    500: '#3c177e',
    950: '#000000',
  },
}
SCSS
$custom: #3c177e;
$custom-light: #7a59a4;
$custom-dark: #000000;
JSON
{
  "hex": "#3c177e",
  "rgb": {
    "r": 60,
    "g": 23,
    "b": 126
  },
  "hsl": {
    "h": 261.553,
    "s": 69.128,
    "l": 29.216
  },
  "oklch": {
    "l": 0.33242,
    "c": 0.15771,
    "h": 291.6
  },
  "luminance": 0.0308
}

Semantic roles & 50–950 ramp

primary
#3C177E
secondary
#89B33E
accent
#EC3CAD
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A040F
muted
#7C797F

Preview Lab

Preview with #3C177E

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

Preview Lab → · Contrast checker → · Palette generator →

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