#3C197C#3C197C

#3C197C is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.3% C 0.153 H 291.9°. Best body text is #FFFFFF at 12.95:1 contrast (WCAG AA passes).

Color values

HEX#3C197C
RGBrgb(60, 25, 124)
HSLhsl(261, 66%, 29%)
HSVhsv(261, 80%, 49%)
CMYKcmyk(51.6%, 79.8%, 0%, 51.4%)
CIE-LABlab(20.48, 40.14, -49.56)
CIE-LCHlch(20.48, 63.77, 309.01°)
OKLaboklab(33.27% 0.0572 -0.1423)
OKLCHoklch(33.27% 0.153 291.9)
XYZxyz(5.8482, 3.1109, 19.3572)
Luminance0.0311 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C197C #597C19
analogous
#19287C #3C197C #6E197C
triadic
#3C197C #7C3C19 #197C3C
tetradic
#3C197C #7C1928 #597C19 #197C6E
square
#3C197C #7C1928 #597C19 #197C6E
split-complementary
#3C197C #7C6E19 #287C19
monochromatic
#0C0519 #230F49 #3C197C #5523AF #7038D7

Accessibility & contrast

On white

12.95
#3C197C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#3C197C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C197C
12.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C197C#FFFFFF#000000##FFFFFF
##3C197C1.0012.951.6212.95
#FFFFFF12.951.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00337F
Deuteranopia (green-blind)
#002F7A
Tritanopia (blue-blind)
#27354A
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #3c197c;
/* rgb */ color: rgb(60, 25, 124);
/* oklch */ color: oklch(33.3% 0.153 291.9);
Tailwind
colors: {
  custom: {
    50: '#795aa3',
    500: '#3c197c',
    950: '#000000',
  },
}
SCSS
$custom: #3c197c;
$custom-light: #795aa3;
$custom-dark: #000000;
JSON
{
  "hex": "#3c197c",
  "rgb": {
    "r": 60,
    "g": 25,
    "b": 124
  },
  "hsl": {
    "h": 261.212,
    "s": 66.443,
    "l": 29.216
  },
  "oklch": {
    "l": 0.33267,
    "c": 0.15337,
    "h": 291.9
  },
  "luminance": 0.03111
}

Semantic roles & 50–950 ramp

primary
#3C197C
secondary
#89B040
accent
#E93EAD
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A040F
muted
#7C797F

Preview Lab

Preview with #3C197C

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

Preview Lab → · Contrast checker → · Palette generator →

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