#3C196C#3C196C

#3C196C is a dark, vivid violet. Relative luminance 0.027; OKLCH L 31.7% C 0.134 H 297.3°. Best body text is #FFFFFF at 13.57:1 contrast (WCAG AA passes).

Color values

HEX#3C196C
RGBrgb(60, 25, 108)
HSLhsl(265, 62%, 26%)
HSVhsv(265, 77%, 42%)
CMYKcmyk(44.4%, 76.9%, 0%, 57.6%)
CIE-LABlab(18.96, 35.60, -41.74)
CIE-LCHlch(18.96, 54.86, 310.46°)
OKLaboklab(31.73% 0.0616 -0.1194)
OKLCHoklch(31.73% 0.134 297.3)
XYZxyz(4.9172, 2.7385, 14.4540)
Luminance0.0274 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C196C #496C19
analogous
#191F6C #3C196C #65196C
triadic
#3C196C #6C3C19 #196C3C
tetradic
#3C196C #6C191F #496C19 #196C65
square
#3C196C #6C191F #496C19 #196C65
split-complementary
#3C196C #6C6519 #1F6C19
monochromatic
#0E0619 #200D3A #3C196C #58259E #7330CF

Accessibility & contrast

On white

13.57
#3C196C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3C196C
13.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C196C#FFFFFF#000000##FFFFFF
##3C196C1.0013.571.5513.57
#FFFFFF13.571.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E6E
Deuteranopia (green-blind)
#002D6A
Tritanopia (blue-blind)
#302E41
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #3c196c;
/* rgb */ color: rgb(60, 25, 108);
/* oklch */ color: oklch(31.7% 0.134 297.3);
Tailwind
colors: {
  custom: {
    50: '#775997',
    500: '#3c196c',
    950: '#000000',
  },
}
SCSS
$custom: #3c196c;
$custom-light: #775997;
$custom-dark: #000000;
JSON
{
  "hex": "#3c196c",
  "rgb": {
    "r": 60,
    "g": 25,
    "b": 108
  },
  "hsl": {
    "h": 265.301,
    "s": 62.406,
    "l": 26.078
  },
  "oklch": {
    "l": 0.31734,
    "c": 0.13435,
    "h": 297.3
  },
  "luminance": 0.02739
}

Semantic roles & 50–950 ramp

primary
#3C196C
secondary
#78A13F
accent
#E542A1
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040D
muted
#7B797E

Preview Lab

Preview with #3C196C

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

Preview Lab → · Contrast checker → · Palette generator →

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