#3C2A8D#3C2A8D

#3C2A8D is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.2% C 0.155 H 284.3°. Best body text is #FFFFFF at 11.01:1 contrast (WCAG AA passes).

Color values

HEX#3C2A8D
RGBrgb(60, 42, 141)
HSLhsl(251, 54%, 36%)
HSVhsv(251, 70%, 55%)
CMYKcmyk(57.4%, 70.2%, 0%, 44.7%)
CIE-LABlab(25.38, 36.08, -52.22)
CIE-LCHlch(25.38, 63.47, 304.64°)
OKLaboklab(37.23% 0.0382 -0.1502)
OKLCHoklch(37.23% 0.155 284.3)
XYZxyz(7.4977, 4.5392, 25.6752)
Luminance0.0454 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C2A8D #7B8D2A
analogous
#2A498D #3C2A8D #6D2A8D
triadic
#3C2A8D #8D3C2A #2A8D3C
tetradic
#3C2A8D #8D2A49 #7B8D2A #2A8D6D
square
#3C2A8D #8D2A49 #7B8D2A #2A8D6D
split-complementary
#3C2A8D #8D6D2A #498D2A
monochromatic
#140E2F #281C5E #3C2A8D #5038BC #7561D0

Accessibility & contrast

On white

11.01
#3C2A8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#3C2A8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C2A8D
11.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C2A8D#FFFFFF#000000##FFFFFF
##3C2A8D1.0011.011.9111.01
#FFFFFF11.011.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F90
Deuteranopia (green-blind)
#00398B
Tritanopia (blue-blind)
#154458
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #3c2a8d;
/* rgb */ color: rgb(60, 42, 141);
/* oklch */ color: oklch(37.2% 0.155 284.3);
Tailwind
colors: {
  custom: {
    50: '#7b65af',
    500: '#3c2a8d',
    950: '#000000',
  },
}
SCSS
$custom: #3c2a8d;
$custom-light: #7b65af;
$custom-dark: #000000;
JSON
{
  "hex": "#3c2a8d",
  "rgb": {
    "r": 60,
    "g": 42,
    "b": 141
  },
  "hsl": {
    "h": 250.909,
    "s": 54.098,
    "l": 35.882
  },
  "oklch": {
    "l": 0.37228,
    "c": 0.15499,
    "h": 284.3
  },
  "luminance": 0.0454
}

Semantic roles & 50–950 ramp

primary
#3C2A8D
secondary
#A6B65D
accent
#DD4AC3
background
#F7F6FA
surface
#EEEBF5
border
#C9C6CF
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #3C2A8D

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

Preview Lab → · Contrast checker → · Palette generator →

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