#60397E#60397E

#60397E is a dark, moderate violet. Relative luminance 0.069; OKLCH L 42.4% C 0.117 H 308.3°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#60397E
RGBrgb(96, 57, 126)
HSLhsl(274, 38%, 36%)
HSVhsv(274, 55%, 49%)
CMYKcmyk(23.8%, 54.8%, 0%, 50.6%)
CIE-LABlab(31.62, 31.18, -32.60)
CIE-LCHlch(31.62, 45.11, 313.73°)
OKLaboklab(42.36% 0.0722 -0.0914)
OKLCHoklch(42.36% 0.117 308.3)
XYZxyz(10.0522, 6.9195, 20.5407)
Luminance0.0692 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#60397E #577E39
analogous
#3D397E #60397E #7E3979
triadic
#60397E #7E6039 #397E60
tetradic
#60397E #7E3D39 #577E39 #39797E
square
#60397E #7E3D39 #577E39 #39797E
split-complementary
#60397E #797E39 #397E3D
monochromatic
#20132A #402654 #60397E #804CA8 #9E72BF

Accessibility & contrast

On white

8.81
#60397E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#60397E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #60397E
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##60397E#FFFFFF#000000##FFFFFF
##60397E1.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254980
Deuteranopia (green-blind)
#314B7C
Tritanopia (blue-blind)
#5C4556
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #60397e;
/* rgb */ color: rgb(96, 57, 126);
/* oklch */ color: oklch(42.4% 0.117 308.3);
Tailwind
colors: {
  custom: {
    50: '#8f71a4',
    500: '#60397e',
    950: '#000000',
  },
}
SCSS
$custom: #60397e;
$custom-light: #8f71a4;
$custom-dark: #000000;
JSON
{
  "hex": "#60397e",
  "rgb": {
    "r": 96,
    "g": 57,
    "b": 126
  },
  "hsl": {
    "h": 273.913,
    "s": 37.705,
    "l": 35.882
  },
  "oklch": {
    "l": 0.42359,
    "c": 0.11652,
    "h": 308.3
  },
  "luminance": 0.06919
}

Semantic roles & 50–950 ramp

primary
#60397E
secondary
#85A86A
accent
#CE5A8C
background
#F8F6FA
surface
#F0ECF4
border
#CBC7CE
text
#0D080F
muted
#7D7B7F

Preview Lab

Preview with #60397E

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

Preview Lab → · Contrast checker → · Palette generator →

#60397E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva