#3C2192#3C2192

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

Color values

HEX#3C2192
RGBrgb(60, 33, 146)
HSLhsl(254, 63%, 35%)
HSVhsv(254, 77%, 57%)
CMYKcmyk(58.9%, 77.4%, 0%, 42.7%)
CIE-LABlab(24.07, 42.62, -57.46)
CIE-LCHlch(24.07, 71.54, 306.57°)
OKLaboklab(36.45% 0.0445 -0.1655)
OKLCHoklch(36.45% 0.171 285.1)
XYZxyz(7.5941, 4.1232, 27.5843)
Luminance0.0412 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C2192 #779221
analogous
#213F92 #3C2192 #742192
triadic
#3C2192 #923C21 #21923C
tetradic
#3C2192 #92213F #779221 #219274
square
#3C2192 #92213F #779221 #219274
split-complementary
#3C2192 #927421 #3F9221
monochromatic
#130A2E #271660 #3C2192 #512CC4 #7455D9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3C2192#FFFFFF#000000##FFFFFF
##3C21921.0011.511.8211.51
#FFFFFF11.511.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C95
Deuteranopia (green-blind)
#003690
Tritanopia (blue-blind)
#0D4158
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #3c2192;
/* rgb */ color: rgb(60, 33, 146);
/* oklch */ color: oklch(36.4% 0.171 285.1);
Tailwind
colors: {
  custom: {
    50: '#7c60b3',
    500: '#3c2192',
    950: '#000000',
  },
}
SCSS
$custom: #3c2192;
$custom-light: #7c60b3;
$custom-dark: #000000;
JSON
{
  "hex": "#3c2192",
  "rgb": {
    "r": 60,
    "g": 33,
    "b": 146
  },
  "hsl": {
    "h": 254.336,
    "s": 63.128,
    "l": 35.098
  },
  "oklch": {
    "l": 0.36448,
    "c": 0.17138,
    "h": 285.1
  },
  "luminance": 0.04124
}

Semantic roles & 50–950 ramp

primary
#3C2192
secondary
#A3BC53
accent
#E642BF
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #3C2192

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

Preview Lab → · Contrast checker → · Palette generator →

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