#3C176B#3C176B

#3C176B is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.4% C 0.136 H 298.1°. Best body text is #FFFFFF at 13.75:1 contrast (WCAG AA passes).

Color values

HEX#3C176B
RGBrgb(60, 23, 107)
HSLhsl(266, 65%, 25%)
HSVhsv(266, 79%, 42%)
CMYKcmyk(43.9%, 78.5%, 0%, 58%)
CIE-LABlab(18.52, 36.33, -41.82)
CIE-LCHlch(18.52, 55.39, 310.98°)
OKLaboklab(31.39% 0.0639 -0.1196)
OKLCHoklch(31.39% 0.136 298.1)
XYZxyz(4.8230, 2.6349, 14.1615)
Luminance0.0263 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C176B #466B17
analogous
#171C6B #3C176B #66176B
triadic
#3C176B #6B3C17 #176B3C
tetradic
#3C176B #6B171C #466B17 #176B66
square
#3C176B #6B171C #466B17 #176B66
split-complementary
#3C176B #6B6617 #1C6B17
monochromatic
#0E0519 #200C39 #3C176B #58229D #742DD0

Accessibility & contrast

On white

13.75
#3C176B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#3C176B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C176B
13.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C176B#FFFFFF#000000##FFFFFF
##3C176B1.0013.751.5313.75
#FFFFFF13.751.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D6D
Deuteranopia (green-blind)
#002C69
Tritanopia (blue-blind)
#302D40
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #3c176b;
/* rgb */ color: rgb(60, 23, 107);
/* oklch */ color: oklch(31.4% 0.136 298.1);
Tailwind
colors: {
  custom: {
    50: '#775896',
    500: '#3c176b',
    950: '#000000',
  },
}
SCSS
$custom: #3c176b;
$custom-light: #775896;
$custom-dark: #000000;
JSON
{
  "hex": "#3c176b",
  "rgb": {
    "r": 60,
    "g": 23,
    "b": 107
  },
  "hsl": {
    "h": 266.429,
    "s": 64.615,
    "l": 25.49
  },
  "oklch": {
    "l": 0.31391,
    "c": 0.13559,
    "h": 298.1
  },
  "luminance": 0.02635
}

Semantic roles & 50–950 ramp

primary
#3C176B
secondary
#75A13D
accent
#E8409E
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030D
muted
#7B787E

Preview Lab

Preview with #3C176B

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

Preview Lab → · Contrast checker → · Palette generator →

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