#3C177B#3C177B

#3C177B is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.9% C 0.154 H 292.5°. Best body text is #FFFFFF at 13.12:1 contrast (WCAG AA passes).

Color values

HEX#3C177B
RGBrgb(60, 23, 123)
HSLhsl(262, 68%, 29%)
HSVhsv(262, 81%, 48%)
CMYKcmyk(51.2%, 81.3%, 0%, 51.8%)
CIE-LABlab(20.06, 40.79, -49.62)
CIE-LCHlch(20.06, 64.24, 309.43°)
OKLaboklab(32.94% 0.0591 -0.1425)
OKLCHoklch(32.94% 0.154 292.5)
XYZxyz(5.7440, 3.0033, 19.0121)
Luminance0.0300 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C177B #567B17
analogous
#17247B #3C177B #6E177B
triadic
#3C177B #7B3C17 #177B3C
tetradic
#3C177B #7B1724 #567B17 #177B6E
square
#3C177B #7B1724 #567B17 #177B6E
split-complementary
#3C177B #7B6E17 #247B17
monochromatic
#0D051A #230D47 #3C177B #5521AF #7133D9

Accessibility & contrast

On white

13.12
#3C177B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#3C177B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C177B
13.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C177B#FFFFFF#000000##FFFFFF
##3C177B1.0013.121.6013.12
#FFFFFF13.121.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00327E
Deuteranopia (green-blind)
#002E79
Tritanopia (blue-blind)
#273349
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #3c177b;
/* rgb */ color: rgb(60, 23, 123);
/* oklch */ color: oklch(32.9% 0.154 292.5);
Tailwind
colors: {
  custom: {
    50: '#7959a2',
    500: '#3c177b',
    950: '#000000',
  },
}
SCSS
$custom: #3c177b;
$custom-light: #7959a2;
$custom-dark: #000000;
JSON
{
  "hex": "#3c177b",
  "rgb": {
    "r": 60,
    "g": 23,
    "b": 123
  },
  "hsl": {
    "h": 262.2,
    "s": 68.493,
    "l": 28.627
  },
  "oklch": {
    "l": 0.3294,
    "c": 0.15425,
    "h": 292.5
  },
  "luminance": 0.03004
}

Semantic roles & 50–950 ramp

primary
#3C177B
secondary
#86B03E
accent
#EB3CAB
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A040F
muted
#7C797F

Preview Lab

Preview with #3C177B

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

Preview Lab → · Contrast checker → · Palette generator →

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