#3C2392#3C2392

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

Color values

HEX#3C2392
RGBrgb(60, 35, 146)
HSLhsl(254, 61%, 35%)
HSVhsv(254, 76%, 57%)
CMYKcmyk(58.9%, 76%, 0%, 42.7%)
CIE-LABlab(24.44, 41.57, -56.85)
CIE-LCHlch(24.44, 70.43, 306.18°)
OKLaboklab(36.71% 0.043 -0.1637)
OKLCHoklch(36.71% 0.169 284.7)
XYZxyz(7.6512, 4.2376, 27.6033)
Luminance0.0424 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C2392 #799223
analogous
#234192 #3C2392 #742392
triadic
#3C2392 #923C23 #23923C
tetradic
#3C2392 #922341 #799223 #239274
square
#3C2392 #922341 #799223 #239274
split-complementary
#3C2392 #927423 #419223
monochromatic
#130B2F #281761 #3C2392 #502FC3 #7558D7

Accessibility & contrast

On white

11.37
#3C2392 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3C2392
11.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C2392#FFFFFF#000000##FFFFFF
##3C23921.0011.371.8511.37
#FFFFFF11.371.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.371.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3c2392;
/* rgb */ color: rgb(60, 35, 146);
/* oklch */ color: oklch(36.7% 0.169 284.7);
Tailwind
colors: {
  custom: {
    50: '#7c61b3',
    500: '#3c2392',
    950: '#000000',
  },
}
SCSS
$custom: #3c2392;
$custom-light: #7c61b3;
$custom-dark: #000000;
JSON
{
  "hex": "#3c2392",
  "rgb": {
    "r": 60,
    "g": 35,
    "b": 146
  },
  "hsl": {
    "h": 253.514,
    "s": 61.326,
    "l": 35.49
  },
  "oklch": {
    "l": 0.36706,
    "c": 0.16931,
    "h": 284.7
  },
  "luminance": 0.04238
}

Semantic roles & 50–950 ramp

primary
#3C2392
secondary
#A4BB55
accent
#E443C0
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #3C2392

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

Preview Lab → · Contrast checker → · Palette generator →

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