#3C197A#3C197A

#3C197A is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.1% C 0.151 H 292.5°. Best body text is #FFFFFF at 13.03:1 contrast (WCAG AA passes).

Color values

HEX#3C197A
RGBrgb(60, 25, 122)
HSLhsl(262, 66%, 29%)
HSVhsv(262, 80%, 48%)
CMYKcmyk(50.8%, 79.5%, 0%, 52.2%)
CIE-LABlab(20.29, 39.57, -48.60)
CIE-LCHlch(20.29, 62.67, 309.15°)
OKLaboklab(33.07% 0.0578 -0.1395)
OKLCHoklch(33.07% 0.151 292.5)
XYZxyz(5.7230, 3.0609, 18.6978)
Luminance0.0306 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C197A #577A19
analogous
#19277A #3C197A #6D197A
triadic
#3C197A #7A3C19 #197A3C
tetradic
#3C197A #7A1927 #577A19 #197A6D
square
#3C197A #7A1927 #577A19 #197A6D
split-complementary
#3C197A #7A6D19 #277A19
monochromatic
#0C0519 #230F47 #3C197A #5523AD #7137D6

Accessibility & contrast

On white

13.03
#3C197A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#3C197A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C197A
13.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C197A#FFFFFF#000000##FFFFFF
##3C197A1.0013.031.6113.03
#FFFFFF13.031.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00327D
Deuteranopia (green-blind)
#002F78
Tritanopia (blue-blind)
#283449
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #3c197a;
/* rgb */ color: rgb(60, 25, 122);
/* oklch */ color: oklch(33.1% 0.151 292.5);
Tailwind
colors: {
  custom: {
    50: '#795aa1',
    500: '#3c197a',
    950: '#000000',
  },
}
SCSS
$custom: #3c197a;
$custom-light: #795aa1;
$custom-dark: #000000;
JSON
{
  "hex": "#3c197a",
  "rgb": {
    "r": 60,
    "g": 25,
    "b": 122
  },
  "hsl": {
    "h": 261.649,
    "s": 65.986,
    "l": 28.824
  },
  "oklch": {
    "l": 0.3307,
    "c": 0.15102,
    "h": 292.5
  },
  "luminance": 0.03061
}

Semantic roles & 50–950 ramp

primary
#3C197A
secondary
#87AF40
accent
#E93FAC
background
#F7F5FA
surface
#EEE9F3
border
#C9C5CD
text
#0A040F
muted
#7C797F

Preview Lab

Preview with #3C197A

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

Preview Lab → · Contrast checker → · Palette generator →

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