#3C2396#3C2396

#3C2396 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.1% C 0.174 H 283.9°. Best body text is #FFFFFF at 11.21:1 contrast (WCAG AA passes).

Color values

HEX#3C2396
RGBrgb(60, 35, 150)
HSLhsl(253, 62%, 36%)
HSVhsv(253, 77%, 59%)
CMYKcmyk(60%, 76.7%, 0%, 41.2%)
CIE-LABlab(24.84, 42.79, -58.66)
CIE-LCHlch(24.84, 72.61, 306.11°)
OKLaboklab(37.11% 0.042 -0.169)
OKLCHoklch(37.11% 0.174 283.9)
XYZxyz(7.9678, 4.3642, 29.2708)
Luminance0.0437 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C2396 #7D9623
analogous
#234496 #3C2396 #762396
triadic
#3C2396 #963C23 #23963C
tetradic
#3C2396 #962344 #7D9623 #239676
square
#3C2396 #962344 #7D9623 #239676
split-complementary
#3C2396 #967623 #449623
monochromatic
#140C33 #281764 #3C2396 #502FC8 #765BD9

Accessibility & contrast

On white

11.21
#3C2396 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#3C2396 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C2396
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C2396#FFFFFF#000000##FFFFFF
##3C23961.0011.211.8711.21
#FFFFFF11.211.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.211.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3c2396;
/* rgb */ color: rgb(60, 35, 150);
/* oklch */ color: oklch(37.1% 0.174 283.9);
Tailwind
colors: {
  custom: {
    50: '#7d61b6',
    500: '#3c2396',
    950: '#000000',
  },
}
SCSS
$custom: #3c2396;
$custom-light: #7d61b6;
$custom-dark: #000000;
JSON
{
  "hex": "#3c2396",
  "rgb": {
    "r": 60,
    "g": 35,
    "b": 150
  },
  "hsl": {
    "h": 253.043,
    "s": 62.162,
    "l": 36.275
  },
  "oklch": {
    "l": 0.37108,
    "c": 0.17419,
    "h": 283.9
  },
  "luminance": 0.04365
}

Semantic roles & 50–950 ramp

primary
#3C2396
secondary
#A7BD58
accent
#E543C2
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #3C2396

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

Preview Lab → · Contrast checker → · Palette generator →

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