#3C196A#3C196A

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

Color values

HEX#3C196A
RGBrgb(60, 25, 106)
HSLhsl(266, 62%, 26%)
HSVhsv(266, 76%, 42%)
CMYKcmyk(43.4%, 76.4%, 0%, 58.4%)
CIE-LABlab(18.79, 35.03, -40.73)
CIE-LCHlch(18.79, 53.72, 310.70°)
OKLaboklab(31.55% 0.0621 -0.1164)
OKLCHoklch(31.55% 0.132 298.1)
XYZxyz(4.8120, 2.6965, 13.8998)
Luminance0.0270 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C196A #476A19
analogous
#191E6A #3C196A #64196A
triadic
#3C196A #6A3C19 #196A3C
tetradic
#3C196A #6A191E #476A19 #196A64
square
#3C196A #6A191E #476A19 #196A64
split-complementary
#3C196A #6A6419 #1E6A19
monochromatic
#0E0619 #200D38 #3C196A #58259C #7430CD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3C196A#FFFFFF#000000##FFFFFF
##3C196A1.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)
#002E6C
Deuteranopia (green-blind)
#002D68
Tritanopia (blue-blind)
#312E40
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #3c196a;
/* rgb */ color: rgb(60, 25, 106);
/* oklch */ color: oklch(31.6% 0.132 298.1);
Tailwind
colors: {
  custom: {
    50: '#775995',
    500: '#3c196a',
    950: '#000000',
  },
}
SCSS
$custom: #3c196a;
$custom-light: #775995;
$custom-dark: #000000;
JSON
{
  "hex": "#3c196a",
  "rgb": {
    "r": 60,
    "g": 25,
    "b": 106
  },
  "hsl": {
    "h": 265.926,
    "s": 61.832,
    "l": 25.686
  },
  "oklch": {
    "l": 0.31551,
    "c": 0.13193,
    "h": 298.1
  },
  "luminance": 0.02697
}

Semantic roles & 50–950 ramp

primary
#3C196A
secondary
#76A03F
accent
#E5439F
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040D
muted
#7B797E

Preview Lab

Preview with #3C196A

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

Preview Lab → · Contrast checker → · Palette generator →

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