#55258A#55258A

#55258A is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.0% C 0.158 H 300.9°. Best body text is #FFFFFF at 10.41:1 contrast (WCAG AA passes).

Color values

HEX#55258A
RGBrgb(85, 37, 138)
HSLhsl(269, 58%, 34%)
HSVhsv(269, 73%, 54%)
CMYKcmyk(38.4%, 73.2%, 0%, 45.9%)
CIE-LABlab(26.99, 42.56, -47.61)
CIE-LCHlch(26.99, 63.86, 311.79°)
OKLaboklab(38.95% 0.0813 -0.1358)
OKLCHoklch(38.95% 0.158 300.9)
XYZxyz(8.9942, 5.0893, 24.5483)
Luminance0.0509 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#55258A #5A8A25
analogous
#25288A #55258A #88258A
triadic
#55258A #8A5525 #258A55
tetradic
#55258A #8A2528 #5A8A25 #258A88
square
#55258A #8A2528 #5A8A25 #258A88
split-complementary
#55258A #8A8825 #288A25
monochromatic
#1A0B29 #37185A #55258A #7332BA #9257D2

Accessibility & contrast

On white

10.41
#55258A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#55258A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #55258A
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##55258A#FFFFFF#000000##FFFFFF
##55258A1.0010.412.0210.41
#FFFFFF10.411.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8D
Deuteranopia (green-blind)
#003F88
Tritanopia (blue-blind)
#493E55
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #55258a;
/* rgb */ color: rgb(85, 37, 138);
/* oklch */ color: oklch(39.0% 0.158 300.9);
Tailwind
colors: {
  custom: {
    50: '#8a64ad',
    500: '#55258a',
    950: '#000000',
  },
}
SCSS
$custom: #55258a;
$custom-light: #8a64ad;
$custom-dark: #000000;
JSON
{
  "hex": "#55258a",
  "rgb": {
    "r": 85,
    "g": 37,
    "b": 138
  },
  "hsl": {
    "h": 268.515,
    "s": 57.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.38952,
    "c": 0.15825,
    "h": 300.9
  },
  "luminance": 0.05089
}

Semantic roles & 50–950 ramp

primary
#55258A
secondary
#88B754
accent
#E14798
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #55258A

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

Preview Lab → · Contrast checker → · Palette generator →

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