#3C176E#3C176E

#3C176E is a dark, vivid violet. Relative luminance 0.027; OKLCH L 31.7% C 0.139 H 297.0°. Best body text is #FFFFFF at 13.64:1 contrast (WCAG AA passes).

Color values

HEX#3C176E
RGBrgb(60, 23, 110)
HSLhsl(266, 65%, 26%)
HSVhsv(266, 79%, 43%)
CMYKcmyk(45.5%, 79.1%, 0%, 56.9%)
CIE-LABlab(18.80, 37.16, -43.32)
CIE-LCHlch(18.80, 57.07, 310.62°)
OKLaboklab(31.67% 0.0631 -0.124)
OKLCHoklch(31.67% 0.139 297)
XYZxyz(4.9836, 2.6991, 15.0072)
Luminance0.0270 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C176E #496E17
analogous
#171D6E #3C176E #67176E
triadic
#3C176E #6E3C17 #176E3C
tetradic
#3C176E #6E171D #496E17 #176E67
square
#3C176E #6E171D #496E17 #176E67
split-complementary
#3C176E #6E6717 #1D6E17
monochromatic
#0E0519 #200C3B #3C176E #5822A1 #732CD3

Accessibility & contrast

On white

13.64
#3C176E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#3C176E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C176E
13.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C176E#FFFFFF#000000##FFFFFF
##3C176E1.0013.641.5413.64
#FFFFFF13.641.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E70
Deuteranopia (green-blind)
#002D6C
Tritanopia (blue-blind)
#2F2E41
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #3c176e;
/* rgb */ color: rgb(60, 23, 110);
/* oklch */ color: oklch(31.7% 0.139 297.0);
Tailwind
colors: {
  custom: {
    50: '#775898',
    500: '#3c176e',
    950: '#000000',
  },
}
SCSS
$custom: #3c176e;
$custom-light: #775898;
$custom-dark: #000000;
JSON
{
  "hex": "#3c176e",
  "rgb": {
    "r": 60,
    "g": 23,
    "b": 110
  },
  "hsl": {
    "h": 265.517,
    "s": 65.414,
    "l": 26.078
  },
  "oklch": {
    "l": 0.31673,
    "c": 0.13911,
    "h": 297
  },
  "luminance": 0.02699
}

Semantic roles & 50–950 ramp

primary
#3C176E
secondary
#78A43D
accent
#E83FA1
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #3C176E

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

Preview Lab → · Contrast checker → · Palette generator →

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