#60258B#60258B

#60258B is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.4% C 0.162 H 306.9°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#60258B
RGBrgb(96, 37, 139)
HSLhsl(275, 58%, 35%)
HSVhsv(275, 73%, 55%)
CMYKcmyk(30.9%, 73.4%, 0%, 45.5%)
CIE-LABlab(28.57, 45.04, -45.59)
CIE-LCHlch(28.57, 64.08, 314.66°)
OKLaboklab(40.43% 0.0972 -0.1294)
OKLCHoklch(40.43% 0.162 306.9)
XYZxyz(10.1446, 5.6741, 24.9819)
Luminance0.0567 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#60258B #508B25
analogous
#2D258B #60258B #8B2583
triadic
#60258B #8B6025 #258B60
tetradic
#60258B #8B2D25 #508B25 #25838B
square
#60258B #8B2D25 #508B25 #25838B
split-complementary
#60258B #838B25 #258B2D
monochromatic
#1D0B2A #3F185B #60258B #8132BB #9F58D3

Accessibility & contrast

On white

9.84
#60258B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#60258B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #60258B
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##60258B#FFFFFF#000000##FFFFFF
##60258B1.009.842.139.84
#FFFFFF9.841.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #60258b;
/* rgb */ color: rgb(96, 37, 139);
/* oklch */ color: oklch(40.4% 0.162 306.9);
Tailwind
colors: {
  custom: {
    50: '#9165ae',
    500: '#60258b',
    950: '#000000',
  },
}
SCSS
$custom: #60258b;
$custom-light: #9165ae;
$custom-dark: #000000;
JSON
{
  "hex": "#60258b",
  "rgb": {
    "r": 96,
    "g": 37,
    "b": 139
  },
  "hsl": {
    "h": 274.706,
    "s": 57.955,
    "l": 34.51
  },
  "oklch": {
    "l": 0.40429,
    "c": 0.16187,
    "h": 306.9
  },
  "luminance": 0.05674
}

Semantic roles & 50–950 ramp

primary
#60258B
secondary
#7EB755
accent
#E14788
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0D0610
muted
#7E7A7F

Preview Lab

Preview with #60258B

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

Preview Lab → · Contrast checker → · Palette generator →

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