#60238C#60238C

#60238C is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.3% C 0.165 H 306.8°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#60238C
RGBrgb(96, 35, 140)
HSLhsl(275, 60%, 34%)
HSVhsv(275, 75%, 55%)
CMYKcmyk(31.4%, 75%, 0%, 45.1%)
CIE-LABlab(28.33, 46.18, -46.60)
CIE-LCHlch(28.33, 65.61, 314.74°)
OKLaboklab(40.28% 0.0991 -0.1324)
OKLCHoklch(40.28% 0.165 306.8)
XYZxyz(10.1575, 5.5824, 25.3483)
Luminance0.0558 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#60238C #4F8C23
analogous
#2C238C #60238C #8C2384
triadic
#60238C #8C6023 #238C60
tetradic
#60238C #8C2C23 #4F8C23 #23848C
square
#60238C #8C2C23 #4F8C23 #23848C
split-complementary
#60238C #848C23 #238C2C
monochromatic
#1D0B2A #3E175B #60238C #822FBD #9F55D4

Accessibility & contrast

On white

9.92
#60238C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #60238C
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##60238C#FFFFFF#000000##FFFFFF
##60238C1.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418F
Deuteranopia (green-blind)
#00438A
Tritanopia (blue-blind)
#583C55
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #60238c;
/* rgb */ color: rgb(96, 35, 140);
/* oklch */ color: oklch(40.3% 0.165 306.8);
Tailwind
colors: {
  custom: {
    50: '#9264ae',
    500: '#60238c',
    950: '#000000',
  },
}
SCSS
$custom: #60238c;
$custom-light: #9264ae;
$custom-dark: #000000;
JSON
{
  "hex": "#60238c",
  "rgb": {
    "r": 96,
    "g": 35,
    "b": 140
  },
  "hsl": {
    "h": 274.857,
    "s": 60,
    "l": 34.314
  },
  "oklch": {
    "l": 0.40283,
    "c": 0.16537,
    "h": 306.8
  },
  "luminance": 0.05582
}

Semantic roles & 50–950 ramp

primary
#60238C
secondary
#7DB852
accent
#E34587
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0D0610
muted
#7E7A7F

Preview Lab

Preview with #60238C

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

Preview Lab → · Contrast checker → · Palette generator →

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