#3C196E#3C196E

#3C196E is a dark, vivid violet. Relative luminance 0.028; OKLCH L 31.9% C 0.137 H 296.6°. Best body text is #FFFFFF at 13.49:1 contrast (WCAG AA passes).

Color values

HEX#3C196E
RGBrgb(60, 25, 110)
HSLhsl(265, 63%, 26%)
HSVhsv(265, 77%, 43%)
CMYKcmyk(45.5%, 77.3%, 0%, 56.9%)
CIE-LABlab(19.15, 36.16, -42.74)
CIE-LCHlch(19.15, 55.99, 310.23°)
OKLaboklab(31.92% 0.0611 -0.1223)
OKLCHoklch(31.92% 0.137 296.6)
XYZxyz(5.0248, 2.7816, 15.0210)
Luminance0.0278 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C196E #4B6E19
analogous
#19216E #3C196E #67196E
triadic
#3C196E #6E3C19 #196E3C
tetradic
#3C196E #6E1921 #4B6E19 #196E67
square
#3C196E #6E1921 #4B6E19 #196E67
split-complementary
#3C196E #6E6719 #216E19
monochromatic
#0E0619 #210E3C #3C196E #5724A0 #7331D0

Accessibility & contrast

On white

13.49
#3C196E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3C196E
13.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C196E#FFFFFF#000000##FFFFFF
##3C196E1.0013.491.5613.49
#FFFFFF13.491.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F70
Deuteranopia (green-blind)
#002D6C
Tritanopia (blue-blind)
#2F2F42
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #3c196e;
/* rgb */ color: rgb(60, 25, 110);
/* oklch */ color: oklch(31.9% 0.137 296.6);
Tailwind
colors: {
  custom: {
    50: '#775998',
    500: '#3c196e',
    950: '#000000',
  },
}
SCSS
$custom: #3c196e;
$custom-light: #775998;
$custom-dark: #000000;
JSON
{
  "hex": "#3c196e",
  "rgb": {
    "r": 60,
    "g": 25,
    "b": 110
  },
  "hsl": {
    "h": 264.706,
    "s": 62.963,
    "l": 26.471
  },
  "oklch": {
    "l": 0.3192,
    "c": 0.13675,
    "h": 296.6
  },
  "luminance": 0.02782
}

Semantic roles & 50–950 ramp

primary
#3C196E
secondary
#7AA33F
accent
#E642A2
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #3C196E

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

Preview Lab → · Contrast checker → · Palette generator →

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