#55258B#55258B

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

Color values

HEX#55258B
RGBrgb(85, 37, 139)
HSLhsl(268, 58%, 35%)
HSVhsv(268, 73%, 55%)
CMYKcmyk(38.8%, 73.4%, 0%, 45.5%)
CIE-LABlab(27.07, 42.82, -48.10)
CIE-LCHlch(27.07, 64.39, 311.67°)
OKLaboklab(39.03% 0.0811 -0.1372)
OKLCHoklch(39.03% 0.159 300.6)
XYZxyz(9.0669, 5.1184, 24.9314)
Luminance0.0512 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#55258B #5B8B25
analogous
#25288B #55258B #88258B
triadic
#55258B #8B5525 #258B55
tetradic
#55258B #8B2528 #5B8B25 #258B88
square
#55258B #8B2528 #5B8B25 #258B88
split-complementary
#55258B #8B8825 #288B25
monochromatic
#1A0B2A #37185B #55258B #7332BB #9258D3

Accessibility & contrast

On white

10.38
#55258B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #55258B
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##55258B#FFFFFF#000000##FFFFFF
##55258B1.0010.382.0210.38
#FFFFFF10.381.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408E
Deuteranopia (green-blind)
#003F89
Tritanopia (blue-blind)
#493E55
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #55258b;
/* rgb */ color: rgb(85, 37, 139);
/* oklch */ color: oklch(39.0% 0.159 300.6);
Tailwind
colors: {
  custom: {
    50: '#8a64ae',
    500: '#55258b',
    950: '#000000',
  },
}
SCSS
$custom: #55258b;
$custom-light: #8a64ae;
$custom-dark: #000000;
JSON
{
  "hex": "#55258b",
  "rgb": {
    "r": 85,
    "g": 37,
    "b": 139
  },
  "hsl": {
    "h": 268.235,
    "s": 57.955,
    "l": 34.51
  },
  "oklch": {
    "l": 0.39035,
    "c": 0.15939,
    "h": 300.6
  },
  "luminance": 0.05119
}

Semantic roles & 50–950 ramp

primary
#55258B
secondary
#89B755
accent
#E14798
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #55258B

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

Preview Lab → · Contrast checker → · Palette generator →

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