#3C166A#3C166A

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

Color values

HEX#3C166A
RGBrgb(60, 22, 106)
HSLhsl(267, 66%, 25%)
HSVhsv(267, 79%, 42%)
CMYKcmyk(43.4%, 79.2%, 0%, 58.4%)
CIE-LABlab(18.25, 36.54, -41.60)
CIE-LCHlch(18.25, 55.36, 311.30°)
OKLaboklab(31.18% 0.0651 -0.1189)
OKLCHoklch(31.18% 0.136 298.7)
XYZxyz(4.7512, 2.5750, 13.8796)
Luminance0.0257 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C166A #446A16
analogous
#161A6A #3C166A #66166A
triadic
#3C166A #6A3C16 #166A3C
tetradic
#3C166A #6A161A #446A16 #166A66
square
#3C166A #6A161A #446A16 #166A66
split-complementary
#3C166A #6A6616 #1A6A16
monochromatic
#0E0519 #1F0B37 #3C166A #59219D #752BCF

Accessibility & contrast

On white

13.86
#3C166A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#3C166A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C166A
13.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C166A#FFFFFF#000000##FFFFFF
##3C166A1.0013.861.5213.86
#FFFFFF13.861.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D6C
Deuteranopia (green-blind)
#002C68
Tritanopia (blue-blind)
#312C3F
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #3c166a;
/* rgb */ color: rgb(60, 22, 106);
/* oklch */ color: oklch(31.2% 0.136 298.7);
Tailwind
colors: {
  custom: {
    50: '#775895',
    500: '#3c166a',
    950: '#000000',
  },
}
SCSS
$custom: #3c166a;
$custom-light: #775895;
$custom-dark: #000000;
JSON
{
  "hex": "#3c166a",
  "rgb": {
    "r": 60,
    "g": 22,
    "b": 106
  },
  "hsl": {
    "h": 267.143,
    "s": 65.625,
    "l": 25.098
  },
  "oklch": {
    "l": 0.31177,
    "c": 0.13559,
    "h": 298.7
  },
  "luminance": 0.02575
}

Semantic roles & 50–950 ramp

primary
#3C166A
secondary
#73A03B
accent
#E93F9C
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030D
muted
#7B787E

Preview Lab

Preview with #3C166A

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

Preview Lab → · Contrast checker → · Palette generator →

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