#3C2491#3C2491

#3C2491 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.7% C 0.167 H 284.7°. Best body text is #FFFFFF at 11.33:1 contrast (WCAG AA passes).

Color values

HEX#3C2491
RGBrgb(60, 36, 145)
HSLhsl(253, 60%, 35%)
HSVhsv(253, 75%, 57%)
CMYKcmyk(58.6%, 75.2%, 0%, 43.1%)
CIE-LABlab(24.53, 40.73, -56.08)
CIE-LCHlch(24.53, 69.31, 305.99°)
OKLaboklab(36.74% 0.0425 -0.1615)
OKLCHoklch(36.74% 0.167 284.7)
XYZxyz(7.6036, 4.2663, 27.2054)
Luminance0.0427 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C2491 #799124
analogous
#244291 #3C2491 #722491
triadic
#3C2491 #913C24 #24913C
tetradic
#3C2491 #912442 #799124 #249172
square
#3C2491 #912442 #799124 #249172
split-complementary
#3C2491 #917224 #429124
monochromatic
#130C2F #281860 #3C2491 #5030C2 #7559D6

Accessibility & contrast

On white

11.33
#3C2491 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#3C2491 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C2491
11.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C2491#FFFFFF#000000##FFFFFF
##3C24911.0011.331.8511.33
#FFFFFF11.331.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D94
Deuteranopia (green-blind)
#00378F
Tritanopia (blue-blind)
#0F4258
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #3c2491;
/* rgb */ color: rgb(60, 36, 145);
/* oklch */ color: oklch(36.7% 0.167 284.7);
Tailwind
colors: {
  custom: {
    50: '#7c61b2',
    500: '#3c2491',
    950: '#000000',
  },
}
SCSS
$custom: #3c2491;
$custom-light: #7c61b2;
$custom-dark: #000000;
JSON
{
  "hex": "#3c2491",
  "rgb": {
    "r": 60,
    "g": 36,
    "b": 145
  },
  "hsl": {
    "h": 253.211,
    "s": 60.221,
    "l": 35.49
  },
  "oklch": {
    "l": 0.36741,
    "c": 0.16701,
    "h": 284.7
  },
  "luminance": 0.04267
}

Semantic roles & 50–950 ramp

primary
#3C2491
secondary
#A4BA56
accent
#E344C0
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #3C2491

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

Preview Lab → · Contrast checker → · Palette generator →

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