#3C2A84#3C2A84

#3C2A84 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.4% C 0.143 H 286.1°. Best body text is #FFFFFF at 11.31:1 contrast (WCAG AA passes).

Color values

HEX#3C2A84
RGBrgb(60, 42, 132)
HSLhsl(252, 52%, 34%)
HSVhsv(252, 68%, 52%)
CMYKcmyk(54.5%, 68.2%, 0%, 48.2%)
CIE-LABlab(24.58, 33.20, -47.90)
CIE-LCHlch(24.58, 58.28, 304.72°)
OKLaboklab(36.41% 0.0396 -0.1375)
OKLCHoklch(36.41% 0.143 286.1)
XYZxyz(6.8551, 4.2822, 22.2907)
Luminance0.0428 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C2A84 #72842A
analogous
#2A4584 #3C2A84 #692A84
triadic
#3C2A84 #843C2A #2A843C
tetradic
#3C2A84 #842A45 #72842A #2A8469
square
#3C2A84 #842A45 #72842A #2A8469
split-complementary
#3C2A84 #84692A #45842A
monochromatic
#120C27 #271B56 #3C2A84 #5139B2 #735DCB

Accessibility & contrast

On white

11.31
#3C2A84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#3C2A84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C2A84
11.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C2A84#FFFFFF#000000##FFFFFF
##3C2A841.0011.311.8611.31
#FFFFFF11.311.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D87
Deuteranopia (green-blind)
#003882
Tritanopia (blue-blind)
#1F4153
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #3c2a84;
/* rgb */ color: rgb(60, 42, 132);
/* oklch */ color: oklch(36.4% 0.143 286.1);
Tailwind
colors: {
  custom: {
    50: '#7965a9',
    500: '#3c2a84',
    950: '#000000',
  },
}
SCSS
$custom: #3c2a84;
$custom-light: #7965a9;
$custom-dark: #000000;
JSON
{
  "hex": "#3c2a84",
  "rgb": {
    "r": 60,
    "g": 42,
    "b": 132
  },
  "hsl": {
    "h": 252,
    "s": 51.724,
    "l": 34.118
  },
  "oklch": {
    "l": 0.36409,
    "c": 0.14313,
    "h": 286.1
  },
  "luminance": 0.04283
}

Semantic roles & 50–950 ramp

primary
#3C2A84
secondary
#9FB159
accent
#DB4DBF
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0510
muted
#7C7A7F

Preview Lab

Preview with #3C2A84

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

Preview Lab → · Contrast checker → · Palette generator →

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