#3C2292#3C2292

#3C2292 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.6% C 0.170 H 284.9°. Best body text is #FFFFFF at 11.44:1 contrast (WCAG AA passes).

Color values

HEX#3C2292
RGBrgb(60, 34, 146)
HSLhsl(254, 62%, 35%)
HSVhsv(254, 77%, 57%)
CMYKcmyk(58.9%, 76.7%, 0%, 42.7%)
CIE-LABlab(24.26, 42.10, -57.16)
CIE-LCHlch(24.26, 70.99, 306.37°)
OKLaboklab(36.58% 0.0438 -0.1646)
OKLCHoklch(36.58% 0.17 284.9)
XYZxyz(7.6222, 4.1796, 27.5936)
Luminance0.0418 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C2292 #789222
analogous
#224092 #3C2292 #742292
triadic
#3C2292 #923C22 #22923C
tetradic
#3C2292 #922240 #789222 #229274
square
#3C2292 #922240 #789222 #229274
split-complementary
#3C2292 #927422 #409222
monochromatic
#130B2F #281660 #3C2292 #502EC4 #7557D8

Accessibility & contrast

On white

11.44
#3C2292 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#3C2292 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C2292
11.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C2292#FFFFFF#000000##FFFFFF
##3C22921.0011.441.8411.44
#FFFFFF11.441.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D95
Deuteranopia (green-blind)
#003690
Tritanopia (blue-blind)
#0D4258
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #3c2292;
/* rgb */ color: rgb(60, 34, 146);
/* oklch */ color: oklch(36.6% 0.170 284.9);
Tailwind
colors: {
  custom: {
    50: '#7c60b3',
    500: '#3c2292',
    950: '#000000',
  },
}
SCSS
$custom: #3c2292;
$custom-light: #7c60b3;
$custom-dark: #000000;
JSON
{
  "hex": "#3c2292",
  "rgb": {
    "r": 60,
    "g": 34,
    "b": 146
  },
  "hsl": {
    "h": 253.929,
    "s": 62.222,
    "l": 35.294
  },
  "oklch": {
    "l": 0.36576,
    "c": 0.17035,
    "h": 284.9
  },
  "luminance": 0.0418
}

Semantic roles & 50–950 ramp

primary
#3C2292
secondary
#A4BC54
accent
#E543C0
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #3C2292

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

Preview Lab → · Contrast checker → · Palette generator →

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