#3C196F#3C196F

#3C196F is a dark, vivid violet. Relative luminance 0.028; OKLCH L 32.0% C 0.138 H 296.2°. Best body text is #FFFFFF at 13.45:1 contrast (WCAG AA passes).

Color values

HEX#3C196F
RGBrgb(60, 25, 111)
HSLhsl(264, 63%, 27%)
HSVhsv(264, 77%, 44%)
CMYKcmyk(45.9%, 77.5%, 0%, 56.5%)
CIE-LABlab(19.24, 36.44, -43.24)
CIE-LCHlch(19.24, 56.55, 310.12°)
OKLaboklab(32.01% 0.0609 -0.1238)
OKLCHoklch(32.01% 0.138 296.2)
XYZxyz(5.0796, 2.8035, 15.3093)
Luminance0.0280 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C196F #4C6F19
analogous
#19216F #3C196F #67196F
triadic
#3C196F #6F3C19 #196F3C
tetradic
#3C196F #6F1921 #4C6F19 #196F67
square
#3C196F #6F1921 #4C6F19 #196F67
split-complementary
#3C196F #6F6719 #216F19
monochromatic
#0E0619 #210E3D #3C196F #5724A1 #7232D1

Accessibility & contrast

On white

13.45
#3C196F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#3C196F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C196F
13.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C196F#FFFFFF#000000##FFFFFF
##3C196F1.0013.451.5613.45
#FFFFFF13.451.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F71
Deuteranopia (green-blind)
#002D6D
Tritanopia (blue-blind)
#2E2F42
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #3c196f;
/* rgb */ color: rgb(60, 25, 111);
/* oklch */ color: oklch(32.0% 0.138 296.2);
Tailwind
colors: {
  custom: {
    50: '#775999',
    500: '#3c196f',
    950: '#000000',
  },
}
SCSS
$custom: #3c196f;
$custom-light: #775999;
$custom-dark: #000000;
JSON
{
  "hex": "#3c196f",
  "rgb": {
    "r": 60,
    "g": 25,
    "b": 111
  },
  "hsl": {
    "h": 264.419,
    "s": 63.235,
    "l": 26.667
  },
  "oklch": {
    "l": 0.32013,
    "c": 0.13795,
    "h": 296.2
  },
  "luminance": 0.02804
}

Semantic roles & 50–950 ramp

primary
#3C196F
secondary
#7BA43F
accent
#E642A3
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #3C196F

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

Preview Lab → · Contrast checker → · Palette generator →

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