#60238B#60238B

#60238B is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.2% C 0.164 H 307.2°. Best body text is #FFFFFF at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#60238B
RGBrgb(96, 35, 139)
HSLhsl(275, 60%, 34%)
HSVhsv(275, 75%, 55%)
CMYKcmyk(30.9%, 74.8%, 0%, 45.5%)
CIE-LABlab(28.26, 45.94, -46.10)
CIE-LCHlch(28.26, 65.09, 314.90°)
OKLaboklab(40.2% 0.0993 -0.1309)
OKLCHoklch(40.2% 0.164 307.2)
XYZxyz(10.0841, 5.5531, 24.9617)
Luminance0.0555 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#60238B #4E8B23
analogous
#2C238B #60238B #8B2382
triadic
#60238B #8B6023 #238B60
tetradic
#60238B #8B2C23 #4E8B23 #23828B
square
#60238B #8B2C23 #4E8B23 #23828B
split-complementary
#60238B #828B23 #238B2C
monochromatic
#1C0A29 #3E175A #60238B #822FBC #9F54D4

Accessibility & contrast

On white

9.95
#60238B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#60238B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #60238B
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##60238B#FFFFFF#000000##FFFFFF
##60238B1.009.952.119.95
#FFFFFF9.951.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418E
Deuteranopia (green-blind)
#004389
Tritanopia (blue-blind)
#593C55
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #60238b;
/* rgb */ color: rgb(96, 35, 139);
/* oklch */ color: oklch(40.2% 0.164 307.2);
Tailwind
colors: {
  custom: {
    50: '#9164ae',
    500: '#60238b',
    950: '#000000',
  },
}
SCSS
$custom: #60238b;
$custom-light: #9164ae;
$custom-dark: #000000;
JSON
{
  "hex": "#60238b",
  "rgb": {
    "r": 96,
    "g": 35,
    "b": 139
  },
  "hsl": {
    "h": 275.192,
    "s": 59.77,
    "l": 34.118
  },
  "oklch": {
    "l": 0.40203,
    "c": 0.16432,
    "h": 307.2
  },
  "luminance": 0.05553
}

Semantic roles & 50–950 ramp

primary
#60238B
secondary
#7CB852
accent
#E34586
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0D0610
muted
#7E7A7F

Preview Lab

Preview with #60238B

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

Preview Lab → · Contrast checker → · Palette generator →

#60238B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva