#60238D#60238D

#60238D is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.4% C 0.166 H 306.5°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#60238D
RGBrgb(96, 35, 141)
HSLhsl(275, 60%, 35%)
HSVhsv(275, 75%, 55%)
CMYKcmyk(31.9%, 75.2%, 0%, 44.7%)
CIE-LABlab(28.41, 46.42, -47.09)
CIE-LCHlch(28.41, 66.12, 314.59°)
OKLaboklab(40.36% 0.0989 -0.1338)
OKLCHoklch(40.36% 0.166 306.5)
XYZxyz(10.2316, 5.6121, 25.7384)
Luminance0.0561 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#60238D #508D23
analogous
#2B238D #60238D #8D2385
triadic
#60238D #8D6023 #238D60
tetradic
#60238D #8D2B23 #508D23 #23858D
square
#60238D #8D2B23 #508D23 #23858D
split-complementary
#60238D #858D23 #238D2B
monochromatic
#1D0B2B #3F175C #60238D #812FBE #9F55D5

Accessibility & contrast

On white

9.89
#60238D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#60238D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #60238D
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##60238D#FFFFFF#000000##FFFFFF
##60238D1.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004190
Deuteranopia (green-blind)
#00438B
Tritanopia (blue-blind)
#583C56
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #60238d;
/* rgb */ color: rgb(96, 35, 141);
/* oklch */ color: oklch(40.4% 0.166 306.5);
Tailwind
colors: {
  custom: {
    50: '#9264af',
    500: '#60238d',
    950: '#000000',
  },
}
SCSS
$custom: #60238d;
$custom-light: #9264af;
$custom-dark: #000000;
JSON
{
  "hex": "#60238d",
  "rgb": {
    "r": 96,
    "g": 35,
    "b": 141
  },
  "hsl": {
    "h": 274.528,
    "s": 60.227,
    "l": 34.51
  },
  "oklch": {
    "l": 0.40363,
    "c": 0.16642,
    "h": 306.5
  },
  "luminance": 0.05612
}

Semantic roles & 50–950 ramp

primary
#60238D
secondary
#7EB953
accent
#E34488
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0D0610
muted
#7E7A7F

Preview Lab

Preview with #60238D

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

Preview Lab → · Contrast checker → · Palette generator →

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