#3C2199#3C2199

#3C2199 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.2% C 0.180 H 283.7°. Best body text is #FFFFFF at 11.23:1 contrast (WCAG AA passes).

Color values

HEX#3C2199
RGBrgb(60, 33, 153)
HSLhsl(254, 65%, 36%)
HSVhsv(254, 78%, 60%)
CMYKcmyk(60.8%, 78.4%, 0%, 40%)
CIE-LABlab(24.79, 44.72, -60.59)
CIE-LCHlch(24.79, 75.31, 306.43°)
OKLaboklab(37.16% 0.0425 -0.1747)
OKLCHoklch(37.16% 0.18 283.7)
XYZxyz(8.1553, 4.3477, 30.5403)
Luminance0.0435 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C2199 #7E9921
analogous
#214299 #3C2199 #782199
triadic
#3C2199 #993C21 #21993C
tetradic
#3C2199 #992142 #7E9921 #219978
square
#3C2199 #992142 #7E9921 #219978
split-complementary
#3C2199 #997821 #429921
monochromatic
#150B34 #281667 #3C2199 #502CCB #7659DB

Accessibility & contrast

On white

11.23
#3C2199 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#3C2199 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C2199
11.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C2199#FFFFFF#000000##FFFFFF
##3C21991.0011.231.8711.23
#FFFFFF11.231.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E9C
Deuteranopia (green-blind)
#003797
Tritanopia (blue-blind)
#00445C
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #3c2199;
/* rgb */ color: rgb(60, 33, 153);
/* oklch */ color: oklch(37.2% 0.180 283.7);
Tailwind
colors: {
  custom: {
    50: '#7e60b8',
    500: '#3c2199',
    950: '#000000',
  },
}
SCSS
$custom: #3c2199;
$custom-light: #7e60b8;
$custom-dark: #000000;
JSON
{
  "hex": "#3c2199",
  "rgb": {
    "r": 60,
    "g": 33,
    "b": 153
  },
  "hsl": {
    "h": 253.5,
    "s": 64.516,
    "l": 36.471
  },
  "oklch": {
    "l": 0.37164,
    "c": 0.17977,
    "h": 283.7
  },
  "luminance": 0.04348
}

Semantic roles & 50–950 ramp

primary
#3C2199
secondary
#A8BF56
accent
#E840C2
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #3C2199

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

Preview Lab → · Contrast checker → · Palette generator →

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