#60339A#60339A

#60339A is a dark, vivid violet. Relative luminance 0.072; OKLCH L 43.4% C 0.160 H 299.8°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#60339A
RGBrgb(96, 51, 154)
HSLhsl(266, 50%, 40%)
HSVhsv(266, 67%, 60%)
CMYKcmyk(37.7%, 66.9%, 0%, 39.6%)
CIE-LABlab(32.23, 41.82, -48.88)
CIE-LCHlch(32.23, 64.33, 310.55°)
OKLaboklab(43.4% 0.0796 -0.1392)
OKLCHoklch(43.4% 0.16 299.8)
XYZxyz(11.8390, 7.1874, 31.3292)
Luminance0.0719 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#60339A #6D9A33
analogous
#33399A #60339A #94339A
triadic
#60339A #9A6033 #339A60
tetradic
#60339A #9A3339 #6D9A33 #339A94
square
#60339A #9A3339 #6D9A33 #339A94
split-complementary
#60339A #9A9433 #399A33
monochromatic
#27153E #43246C #60339A #7D48C2 #9E76D2

Accessibility & contrast

On white

8.62
#60339A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#60339A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #60339A
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##60339A#FFFFFF#000000##FFFFFF
##60339A1.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9D
Deuteranopia (green-blind)
#004B98
Tritanopia (blue-blind)
#534A62
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #60339a;
/* rgb */ color: rgb(96, 51, 154);
/* oklch */ color: oklch(43.4% 0.160 299.8);
Tailwind
colors: {
  custom: {
    50: '#926eb8',
    500: '#60339a',
    950: '#000000',
  },
}
SCSS
$custom: #60339a;
$custom-light: #926eb8;
$custom-dark: #000000;
JSON
{
  "hex": "#60339a",
  "rgb": {
    "r": 96,
    "g": 51,
    "b": 154
  },
  "hsl": {
    "h": 266.214,
    "s": 50.244,
    "l": 40.196
  },
  "oklch": {
    "l": 0.434,
    "c": 0.1603,
    "h": 299.8
  },
  "luminance": 0.07188
}

Semantic roles & 50–950 ramp

primary
#60339A
secondary
#99BA6F
accent
#DA4E9D
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0D0711
muted
#7E7A80

Preview Lab

Preview with #60339A

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

Preview Lab → · Contrast checker → · Palette generator →

#60339A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva