#3C2191#3C2191

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

Color values

HEX#3C2191
RGBrgb(60, 33, 145)
HSLhsl(254, 63%, 35%)
HSVhsv(254, 77%, 57%)
CMYKcmyk(58.6%, 77.2%, 0%, 43.1%)
CIE-LABlab(23.97, 42.31, -57.00)
CIE-LCHlch(23.97, 70.99, 306.59°)
OKLaboklab(36.35% 0.0448 -0.1642)
OKLCHoklch(36.35% 0.17 285.3)
XYZxyz(7.5166, 4.0923, 27.1764)
Luminance0.0409 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C2191 #769121
analogous
#213E91 #3C2191 #742191
triadic
#3C2191 #913C21 #21913C
tetradic
#3C2191 #91213E #769121 #219174
square
#3C2191 #91213E #769121 #219174
split-complementary
#3C2191 #917421 #3E9121
monochromatic
#130A2D #27165F #3C2191 #512CC3 #7454D8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3C2191#FFFFFF#000000##FFFFFF
##3C21911.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)
#003C94
Deuteranopia (green-blind)
#00368F
Tritanopia (blue-blind)
#0F4158
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #3c2191;
/* rgb */ color: rgb(60, 33, 145);
/* oklch */ color: oklch(36.3% 0.170 285.3);
Tailwind
colors: {
  custom: {
    50: '#7c60b2',
    500: '#3c2191',
    950: '#000000',
  },
}
SCSS
$custom: #3c2191;
$custom-light: #7c60b2;
$custom-dark: #000000;
JSON
{
  "hex": "#3c2191",
  "rgb": {
    "r": 60,
    "g": 33,
    "b": 145
  },
  "hsl": {
    "h": 254.464,
    "s": 62.921,
    "l": 34.902
  },
  "oklch": {
    "l": 0.36347,
    "c": 0.17017,
    "h": 285.3
  },
  "luminance": 0.04093
}

Semantic roles & 50–950 ramp

primary
#3C2191
secondary
#A2BC52
accent
#E642BE
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #3C2191

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

Preview Lab → · Contrast checker → · Palette generator →

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