#3C196D#3C196D

#3C196D is a dark, vivid violet. Relative luminance 0.028; OKLCH L 31.8% C 0.136 H 296.9°. Best body text is #FFFFFF at 13.53:1 contrast (WCAG AA passes).

Color values

HEX#3C196D
RGBrgb(60, 25, 109)
HSLhsl(265, 63%, 26%)
HSVhsv(265, 77%, 43%)
CMYKcmyk(45%, 77.1%, 0%, 57.3%)
CIE-LABlab(19.06, 35.88, -42.24)
CIE-LCHlch(19.06, 55.42, 310.34°)
OKLaboklab(31.83% 0.0614 -0.1209)
OKLCHoklch(31.83% 0.136 296.9)
XYZxyz(4.9707, 2.7599, 14.7359)
Luminance0.0276 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C196D #4A6D19
analogous
#19206D #3C196D #66196D
triadic
#3C196D #6D3C19 #196D3C
tetradic
#3C196D #6D1920 #4A6D19 #196D66
square
#3C196D #6D1920 #4A6D19 #196D66
split-complementary
#3C196D #6D6619 #206D19
monochromatic
#0E0619 #210E3B #3C196D #57249F #7331D0

Accessibility & contrast

On white

13.53
#3C196D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#3C196D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C196D
13.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C196D#FFFFFF#000000##FFFFFF
##3C196D1.0013.531.5513.53
#FFFFFF13.531.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F6F
Deuteranopia (green-blind)
#002D6B
Tritanopia (blue-blind)
#2F2F41
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #3c196d;
/* rgb */ color: rgb(60, 25, 109);
/* oklch */ color: oklch(31.8% 0.136 296.9);
Tailwind
colors: {
  custom: {
    50: '#775998',
    500: '#3c196d',
    950: '#000000',
  },
}
SCSS
$custom: #3c196d;
$custom-light: #775998;
$custom-dark: #000000;
JSON
{
  "hex": "#3c196d",
  "rgb": {
    "r": 60,
    "g": 25,
    "b": 109
  },
  "hsl": {
    "h": 265,
    "s": 62.687,
    "l": 26.275
  },
  "oklch": {
    "l": 0.31827,
    "c": 0.13555,
    "h": 296.9
  },
  "luminance": 0.0276
}

Semantic roles & 50–950 ramp

primary
#3C196D
secondary
#79A23F
accent
#E642A2
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #3C196D

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

Preview Lab → · Contrast checker → · Palette generator →

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