#3C197D#3C197D

#3C197D is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.4% C 0.155 H 291.6°. Best body text is #FFFFFF at 12.90:1 contrast (WCAG AA passes).

Color values

HEX#3C197D
RGBrgb(60, 25, 125)
HSLhsl(261, 67%, 29%)
HSVhsv(261, 80%, 49%)
CMYKcmyk(52%, 80%, 0%, 51%)
CIE-LABlab(20.58, 40.42, -50.03)
CIE-LCHlch(20.58, 64.32, 308.94°)
OKLaboklab(33.37% 0.0569 -0.1437)
OKLCHoklch(33.37% 0.155 291.6)
XYZxyz(5.9117, 3.1364, 19.6919)
Luminance0.0314 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C197D #5A7D19
analogous
#19287D #3C197D #6E197D
triadic
#3C197D #7D3C19 #197D3C
tetradic
#3C197D #7D1928 #5A7D19 #197D6E
square
#3C197D #7D1928 #5A7D19 #197D6E
split-complementary
#3C197D #7D6E19 #287D19
monochromatic
#0C051A #240F4A #3C197D #5423B0 #7039D7

Accessibility & contrast

On white

12.90
#3C197D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#3C197D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C197D
12.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C197D#FFFFFF#000000##FFFFFF
##3C197D1.0012.901.6312.90
#FFFFFF12.901.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003380
Deuteranopia (green-blind)
#002F7B
Tritanopia (blue-blind)
#26354A
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #3c197d;
/* rgb */ color: rgb(60, 25, 125);
/* oklch */ color: oklch(33.4% 0.155 291.6);
Tailwind
colors: {
  custom: {
    50: '#795aa4',
    500: '#3c197d',
    950: '#000000',
  },
}
SCSS
$custom: #3c197d;
$custom-light: #795aa4;
$custom-dark: #000000;
JSON
{
  "hex": "#3c197d",
  "rgb": {
    "r": 60,
    "g": 25,
    "b": 125
  },
  "hsl": {
    "h": 261,
    "s": 66.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.33367,
    "c": 0.15455,
    "h": 291.6
  },
  "luminance": 0.03137
}

Semantic roles & 50–950 ramp

primary
#3C197D
secondary
#8AB140
accent
#EA3EAE
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A040F
muted
#7C797F

Preview Lab

Preview with #3C197D

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

Preview Lab → · Contrast checker → · Palette generator →

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