#3C2091#3C2091

#3C2091 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.2% C 0.171 H 285.4°. Best body text is #FFFFFF at 11.62:1 contrast (WCAG AA passes).

Color values

HEX#3C2091
RGBrgb(60, 32, 145)
HSLhsl(255, 64%, 35%)
HSVhsv(255, 78%, 57%)
CMYKcmyk(58.6%, 77.9%, 0%, 43.1%)
CIE-LABlab(23.80, 42.83, -57.30)
CIE-LCHlch(23.80, 71.53, 306.78°)
OKLaboklab(36.22% 0.0455 -0.165)
OKLCHoklch(36.22% 0.171 285.4)
XYZxyz(7.4893, 4.0376, 27.1673)
Luminance0.0404 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C2091 #759120
analogous
#203D91 #3C2091 #742091
triadic
#3C2091 #913C20 #20913C
tetradic
#3C2091 #91203D #759120 #209174
square
#3C2091 #91203D #759120 #209174
split-complementary
#3C2091 #917420 #3D9120
monochromatic
#130A2D #27155F #3C2091 #512BC3 #7452D9

Accessibility & contrast

On white

11.62
#3C2091 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#3C2091 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C2091
11.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C2091#FFFFFF#000000##FFFFFF
##3C20911.0011.621.8111.62
#FFFFFF11.621.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C94
Deuteranopia (green-blind)
#00358F
Tritanopia (blue-blind)
#104057
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #3c2091;
/* rgb */ color: rgb(60, 32, 145);
/* oklch */ color: oklch(36.2% 0.171 285.4);
Tailwind
colors: {
  custom: {
    50: '#7c5fb2',
    500: '#3c2091',
    950: '#000000',
  },
}
SCSS
$custom: #3c2091;
$custom-light: #7c5fb2;
$custom-dark: #000000;
JSON
{
  "hex": "#3c2091",
  "rgb": {
    "r": 60,
    "g": 32,
    "b": 145
  },
  "hsl": {
    "h": 254.867,
    "s": 63.842,
    "l": 34.706
  },
  "oklch": {
    "l": 0.36222,
    "c": 0.17119,
    "h": 285.4
  },
  "luminance": 0.04038
}

Semantic roles & 50–950 ramp

primary
#3C2091
secondary
#A2BC51
accent
#E741BE
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #3C2091

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

Preview Lab → · Contrast checker → · Palette generator →

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