#3C196B#3C196B

#3C196B is a dark, vivid violet. Relative luminance 0.027; OKLCH L 31.6% C 0.133 H 297.7°. Best body text is #FFFFFF at 13.61:1 contrast (WCAG AA passes).

Color values

HEX#3C196B
RGBrgb(60, 25, 107)
HSLhsl(266, 62%, 26%)
HSVhsv(266, 77%, 42%)
CMYKcmyk(43.9%, 76.6%, 0%, 58%)
CIE-LABlab(18.87, 35.32, -41.24)
CIE-LCHlch(18.87, 54.29, 310.58°)
OKLaboklab(31.64% 0.0619 -0.1179)
OKLCHoklch(31.64% 0.133 297.7)
XYZxyz(4.8643, 2.7174, 14.1753)
Luminance0.0272 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C196B #486B19
analogous
#191F6B #3C196B #65196B
triadic
#3C196B #6B3C19 #196B3C
tetradic
#3C196B #6B191F #486B19 #196B65
square
#3C196B #6B191F #486B19 #196B65
split-complementary
#3C196B #6B6519 #1F6B19
monochromatic
#0E0619 #200D39 #3C196B #58259D #7430CE

Accessibility & contrast

On white

13.61
#3C196B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#3C196B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C196B
13.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C196B#FFFFFF#000000##FFFFFF
##3C196B1.0013.611.5413.61
#FFFFFF13.611.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E6D
Deuteranopia (green-blind)
#002D69
Tritanopia (blue-blind)
#302E40
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #3c196b;
/* rgb */ color: rgb(60, 25, 107);
/* oklch */ color: oklch(31.6% 0.133 297.7);
Tailwind
colors: {
  custom: {
    50: '#775996',
    500: '#3c196b',
    950: '#000000',
  },
}
SCSS
$custom: #3c196b;
$custom-light: #775996;
$custom-dark: #000000;
JSON
{
  "hex": "#3c196b",
  "rgb": {
    "r": 60,
    "g": 25,
    "b": 107
  },
  "hsl": {
    "h": 265.61,
    "s": 62.121,
    "l": 25.882
  },
  "oklch": {
    "l": 0.31642,
    "c": 0.13314,
    "h": 297.7
  },
  "luminance": 0.02717
}

Semantic roles & 50–950 ramp

primary
#3C196B
secondary
#77A13F
accent
#E543A0
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040D
muted
#7B797E

Preview Lab

Preview with #3C196B

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

Preview Lab → · Contrast checker → · Palette generator →

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