#3C199E#3C199E

#3C199E is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.8% C 0.192 H 283.7°. Best body text is #FFFFFF at 11.51:1 contrast (WCAG AA passes).

Color values

HEX#3C199E
RGBrgb(60, 25, 158)
HSLhsl(256, 73%, 36%)
HSVhsv(256, 84%, 62%)
CMYKcmyk(62%, 84.2%, 0%, 38%)
CIE-LABlab(24.08, 49.80, -64.83)
CIE-LCHlch(24.08, 81.75, 307.53°)
OKLaboklab(36.83% 0.0456 -0.1869)
OKLCHoklch(36.83% 0.192 283.7)
XYZxyz(8.3808, 4.1240, 32.6955)
Luminance0.0413 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C199E #7B9E19
analogous
#19399E #3C199E #7E199E
triadic
#3C199E #9E3C19 #199E3C
tetradic
#3C199E #9E1939 #7B9E19 #199E7E
square
#3C199E #9E1939 #7B9E19 #199E7E
split-complementary
#3C199E #9E7E19 #399E19
monochromatic
#140834 #281169 #3C199E #5021D3 #754EE3

Accessibility & contrast

On white

11.51
#3C199E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#3C199E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C199E
11.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C199E#FFFFFF#000000##FFFFFF
##3C199E1.0011.511.8311.51
#FFFFFF11.511.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003DA2
Deuteranopia (green-blind)
#00359C
Tritanopia (blue-blind)
#00435E
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #3c199e;
/* rgb */ color: rgb(60, 25, 158);
/* oklch */ color: oklch(36.8% 0.192 283.7);
Tailwind
colors: {
  custom: {
    50: '#7f5dbc',
    500: '#3c199e',
    950: '#000000',
  },
}
SCSS
$custom: #3c199e;
$custom-light: #7f5dbc;
$custom-dark: #000000;
JSON
{
  "hex": "#3c199e",
  "rgb": {
    "r": 60,
    "g": 25,
    "b": 158
  },
  "hsl": {
    "h": 255.789,
    "s": 72.678,
    "l": 35.882
  },
  "oklch": {
    "l": 0.3683,
    "c": 0.1924,
    "h": 283.7
  },
  "luminance": 0.04125
}

Semantic roles & 50–950 ramp

primary
#3C199E
secondary
#A6C54E
accent
#EF38BF
background
#F8F5FB
surface
#F0E9F7
border
#CBC5D0
text
#0B0412
muted
#7C7981

Preview Lab

Preview with #3C199E

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

Preview Lab → · Contrast checker → · Palette generator →

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