#60408D#60408D

#60408D is a dark, vivid violet. Relative luminance 0.081; OKLCH L 44.5% C 0.124 H 300.6°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#60408D
RGBrgb(96, 64, 141)
HSLhsl(265, 38%, 40%)
HSVhsv(265, 55%, 55%)
CMYKcmyk(31.9%, 54.6%, 0%, 44.7%)
CIE-LABlab(34.14, 30.91, -37.87)
CIE-LCHlch(34.14, 48.88, 309.23°)
OKLaboklab(44.52% 0.0633 -0.1068)
OKLCHoklch(44.52% 0.124 300.6)
XYZxyz(11.4639, 8.0766, 26.1491)
Luminance0.0808 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#60408D #6D8D40
analogous
#40468D #60408D #86408D
triadic
#60408D #8D6040 #408D60
tetradic
#60408D #8D4046 #6D8D40 #408D86
square
#60408D #8D4046 #6D8D40 #408D86
split-complementary
#60408D #8D8640 #468D40
monochromatic
#271A39 #432D63 #60408D #7D57B3 #9E81C6

Accessibility & contrast

On white

8.03
#60408D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#60408D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #60408D
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##60408D#FFFFFF#000000##FFFFFF
##60408D1.008.032.628.03
#FFFFFF8.031.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#235090
Deuteranopia (green-blind)
#2D508B
Tritanopia (blue-blind)
#574F60
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #60408d;
/* rgb */ color: rgb(96, 64, 141);
/* oklch */ color: oklch(44.5% 0.124 300.6);
Tailwind
colors: {
  custom: {
    50: '#9076af',
    500: '#60408d',
    950: '#000000',
  },
}
SCSS
$custom: #60408d;
$custom-light: #9076af;
$custom-dark: #000000;
JSON
{
  "hex": "#60408d",
  "rgb": {
    "r": 96,
    "g": 64,
    "b": 141
  },
  "hsl": {
    "h": 264.935,
    "s": 37.561,
    "l": 40.196
  },
  "oklch": {
    "l": 0.44515,
    "c": 0.12419,
    "h": 300.6
  },
  "luminance": 0.08077
}

Semantic roles & 50–950 ramp

primary
#60408D
secondary
#99B078
accent
#CE5A9E
background
#F9F7FA
surface
#F1EDF4
border
#CBC8CE
text
#0D0810
muted
#7E7B7F

Preview Lab

Preview with #60408D

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

Preview Lab → · Contrast checker → · Palette generator →

#60408D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva