#3C2096#3C2096

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

Color values

HEX#3C2096
RGBrgb(60, 32, 150)
HSLhsl(254, 65%, 36%)
HSVhsv(254, 79%, 59%)
CMYKcmyk(60%, 78.7%, 0%, 41.2%)
CIE-LABlab(24.31, 44.32, -59.54)
CIE-LCHlch(24.31, 74.23, 306.66°)
OKLaboklab(36.73% 0.0441 -0.1716)
OKLCHoklch(36.73% 0.177 284.4)
XYZxyz(7.8833, 4.1952, 29.2426)
Luminance0.0420 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C2096 #7A9620
analogous
#203F96 #3C2096 #772096
triadic
#3C2096 #963C20 #20963C
tetradic
#3C2096 #96203F #7A9620 #209677
square
#3C2096 #96203F #7A9620 #209677
split-complementary
#3C2096 #967720 #3F9620
monochromatic
#140A31 #281564 #3C2096 #502BC8 #7556DB

Accessibility & contrast

On white

11.42
#3C2096 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3C2096
11.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C2096#FFFFFF#000000##FFFFFF
##3C20961.0011.421.8411.42
#FFFFFF11.421.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D99
Deuteranopia (green-blind)
#003694
Tritanopia (blue-blind)
#04425A
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #3c2096;
/* rgb */ color: rgb(60, 32, 150);
/* oklch */ color: oklch(36.7% 0.177 284.4);
Tailwind
colors: {
  custom: {
    50: '#7d5fb6',
    500: '#3c2096',
    950: '#000000',
  },
}
SCSS
$custom: #3c2096;
$custom-light: #7d5fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#3c2096",
  "rgb": {
    "r": 60,
    "g": 32,
    "b": 150
  },
  "hsl": {
    "h": 254.237,
    "s": 64.835,
    "l": 35.686
  },
  "oklch": {
    "l": 0.36733,
    "c": 0.17716,
    "h": 284.4
  },
  "luminance": 0.04196
}

Semantic roles & 50–950 ramp

primary
#3C2096
secondary
#A5BE53
accent
#E840C0
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #3C2096

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

Preview Lab → · Contrast checker → · Palette generator →

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