#3C177A#3C177A

#3C177A is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.8% C 0.153 H 292.8°. Best body text is #FFFFFF at 13.16:1 contrast (WCAG AA passes).

Color values

HEX#3C177A
RGBrgb(60, 23, 122)
HSLhsl(262, 68%, 28%)
HSVhsv(262, 81%, 48%)
CMYKcmyk(50.8%, 81.1%, 0%, 52.2%)
CIE-LABlab(19.96, 40.51, -49.14)
CIE-LCHlch(19.96, 63.69, 309.50°)
OKLaboklab(32.84% 0.0594 -0.1411)
OKLCHoklch(32.84% 0.153 292.8)
XYZxyz(5.6817, 2.9784, 18.6841)
Luminance0.0298 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C177A #557A17
analogous
#17237A #3C177A #6D177A
triadic
#3C177A #7A3C17 #177A3C
tetradic
#3C177A #7A1723 #557A17 #177A6D
square
#3C177A #7A1723 #557A17 #177A6D
split-complementary
#3C177A #7A6D17 #237A17
monochromatic
#0D051A #230D47 #3C177A #5521AD #7133D9

Accessibility & contrast

On white

13.16
#3C177A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3C177A
13.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C177A#FFFFFF#000000##FFFFFF
##3C177A1.0013.161.6013.16
#FFFFFF13.161.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00317D
Deuteranopia (green-blind)
#002E78
Tritanopia (blue-blind)
#283348
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #3c177a;
/* rgb */ color: rgb(60, 23, 122);
/* oklch */ color: oklch(32.8% 0.153 292.8);
Tailwind
colors: {
  custom: {
    50: '#7959a1',
    500: '#3c177a',
    950: '#000000',
  },
}
SCSS
$custom: #3c177a;
$custom-light: #7959a1;
$custom-dark: #000000;
JSON
{
  "hex": "#3c177a",
  "rgb": {
    "r": 60,
    "g": 23,
    "b": 122
  },
  "hsl": {
    "h": 262.424,
    "s": 68.276,
    "l": 28.431
  },
  "oklch": {
    "l": 0.3284,
    "c": 0.15309,
    "h": 292.8
  },
  "luminance": 0.02979
}

Semantic roles & 50–950 ramp

primary
#3C177A
secondary
#85AF3E
accent
#EB3DAA
background
#F7F5FA
surface
#EEE9F3
border
#C9C5CD
text
#0A040F
muted
#7C797F

Preview Lab

Preview with #3C177A

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

Preview Lab → · Contrast checker → · Palette generator →

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