#3C2492#3C2492

#3C2492 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.8% C 0.168 H 284.5°. Best body text is #FFFFFF at 11.29:1 contrast (WCAG AA passes).

Color values

HEX#3C2492
RGBrgb(60, 36, 146)
HSLhsl(253, 60%, 36%)
HSVhsv(253, 75%, 57%)
CMYKcmyk(58.9%, 75.3%, 0%, 42.7%)
CIE-LABlab(24.63, 41.04, -56.54)
CIE-LCHlch(24.63, 69.86, 305.97°)
OKLaboklab(36.84% 0.0423 -0.1628)
OKLCHoklch(36.84% 0.168 284.5)
XYZxyz(7.6811, 4.2973, 27.6133)
Luminance0.0430 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C2492 #7A9224
analogous
#244392 #3C2492 #732492
triadic
#3C2492 #923C24 #24923C
tetradic
#3C2492 #922443 #7A9224 #249273
square
#3C2492 #922443 #7A9224 #249273
split-complementary
#3C2492 #927324 #439224
monochromatic
#140C30 #281861 #3C2492 #5030C3 #755AD6

Accessibility & contrast

On white

11.29
#3C2492 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#3C2492 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C2492
11.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C2492#FFFFFF#000000##FFFFFF
##3C24921.0011.291.8611.29
#FFFFFF11.291.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E95
Deuteranopia (green-blind)
#003790
Tritanopia (blue-blind)
#0D4359
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #3c2492;
/* rgb */ color: rgb(60, 36, 146);
/* oklch */ color: oklch(36.8% 0.168 284.5);
Tailwind
colors: {
  custom: {
    50: '#7c62b3',
    500: '#3c2492',
    950: '#000000',
  },
}
SCSS
$custom: #3c2492;
$custom-light: #7c62b3;
$custom-dark: #000000;
JSON
{
  "hex": "#3c2492",
  "rgb": {
    "r": 60,
    "g": 36,
    "b": 146
  },
  "hsl": {
    "h": 253.091,
    "s": 60.44,
    "l": 35.686
  },
  "oklch": {
    "l": 0.3684,
    "c": 0.16824,
    "h": 284.5
  },
  "luminance": 0.04298
}

Semantic roles & 50–950 ramp

primary
#3C2492
secondary
#A5BB57
accent
#E444C1
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #3C2492

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

Preview Lab → · Contrast checker → · Palette generator →

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