#3C199D#3C199D

#3C199D is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.7% C 0.191 H 283.9°. Best body text is #FFFFFF at 11.55:1 contrast (WCAG AA passes).

Color values

HEX#3C199D
RGBrgb(60, 25, 157)
HSLhsl(256, 73%, 36%)
HSVhsv(256, 84%, 62%)
CMYKcmyk(61.8%, 84.1%, 0%, 38.4%)
CIE-LABlab(23.97, 49.52, -64.40)
CIE-LCHlch(23.97, 81.24, 307.56°)
OKLaboklab(36.72% 0.0459 -0.1857)
OKLCHoklch(36.72% 0.191 283.9)
XYZxyz(8.2950, 4.0897, 32.2440)
Luminance0.0409 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C199D #7A9D19
analogous
#19389D #3C199D #7E199D
triadic
#3C199D #9D3C19 #199D3C
tetradic
#3C199D #9D1938 #7A9D19 #199D7E
square
#3C199D #9D1938 #7A9D19 #199D7E
split-complementary
#3C199D #9D7E19 #389D19
monochromatic
#140833 #281168 #3C199D #5021D2 #754EE3

Accessibility & contrast

On white

11.55
#3C199D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#3C199D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C199D
11.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C199D#FFFFFF#000000##FFFFFF
##3C199D1.0011.551.8211.55
#FFFFFF11.551.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003DA1
Deuteranopia (green-blind)
#00359B
Tritanopia (blue-blind)
#00425D
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #3c199d;
/* rgb */ color: rgb(60, 25, 157);
/* oklch */ color: oklch(36.7% 0.191 283.9);
Tailwind
colors: {
  custom: {
    50: '#7f5cbb',
    500: '#3c199d',
    950: '#000000',
  },
}
SCSS
$custom: #3c199d;
$custom-light: #7f5cbb;
$custom-dark: #000000;
JSON
{
  "hex": "#3c199d",
  "rgb": {
    "r": 60,
    "g": 25,
    "b": 157
  },
  "hsl": {
    "h": 255.909,
    "s": 72.527,
    "l": 35.686
  },
  "oklch": {
    "l": 0.36721,
    "c": 0.19127,
    "h": 283.9
  },
  "luminance": 0.0409
}

Semantic roles & 50–950 ramp

primary
#3C199D
secondary
#A5C54D
accent
#EF39BF
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0412
muted
#7C7981

Preview Lab

Preview with #3C199D

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

Preview Lab → · Contrast checker → · Palette generator →

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