#3C2496#3C2496

#3C2496 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.2% C 0.173 H 283.8°. Best body text is #FFFFFF at 11.14:1 contrast (WCAG AA passes).

Color values

HEX#3C2496
RGBrgb(60, 36, 150)
HSLhsl(253, 61%, 36%)
HSVhsv(253, 76%, 59%)
CMYKcmyk(60%, 76%, 0%, 41.2%)
CIE-LABlab(25.03, 42.27, -58.36)
CIE-LCHlch(25.03, 72.06, 305.91°)
OKLaboklab(37.24% 0.0413 -0.1682)
OKLCHoklch(37.24% 0.173 283.8)
XYZxyz(7.9977, 4.4239, 29.2807)
Luminance0.0442 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C2496 #7E9624
analogous
#244596 #3C2496 #752496
triadic
#3C2496 #963C24 #24963C
tetradic
#3C2496 #962445 #7E9624 #249675
square
#3C2496 #962445 #7E9624 #249675
split-complementary
#3C2496 #967524 #459624
monochromatic
#150C33 #281865 #3C2496 #5030C7 #765CD8

Accessibility & contrast

On white

11.14
#3C2496 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#3C2496 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C2496
11.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C2496#FFFFFF#000000##FFFFFF
##3C24961.0011.141.8811.14
#FFFFFF11.141.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F99
Deuteranopia (green-blind)
#003894
Tritanopia (blue-blind)
#03445B
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #3c2496;
/* rgb */ color: rgb(60, 36, 150);
/* oklch */ color: oklch(37.2% 0.173 283.8);
Tailwind
colors: {
  custom: {
    50: '#7d62b6',
    500: '#3c2496',
    950: '#000000',
  },
}
SCSS
$custom: #3c2496;
$custom-light: #7d62b6;
$custom-dark: #000000;
JSON
{
  "hex": "#3c2496",
  "rgb": {
    "r": 60,
    "g": 36,
    "b": 150
  },
  "hsl": {
    "h": 252.632,
    "s": 61.29,
    "l": 36.471
  },
  "oklch": {
    "l": 0.37238,
    "c": 0.17315,
    "h": 283.8
  },
  "luminance": 0.04424
}

Semantic roles & 50–950 ramp

primary
#3C2496
secondary
#A8BD59
accent
#E443C3
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #3C2496

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

Preview Lab → · Contrast checker → · Palette generator →

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