#55258D#55258D

#55258D is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.2% C 0.162 H 300.0°. Best body text is #FFFFFF at 10.32:1 contrast (WCAG AA passes).

Color values

HEX#55258D
RGBrgb(85, 37, 141)
HSLhsl(268, 58%, 35%)
HSVhsv(268, 74%, 55%)
CMYKcmyk(39.7%, 73.8%, 0%, 44.7%)
CIE-LABlab(27.23, 43.34, -49.07)
CIE-LCHlch(27.23, 65.47, 311.45°)
OKLaboklab(39.2% 0.0807 -0.1401)
OKLCHoklch(39.2% 0.162 300)
XYZxyz(9.2144, 5.1774, 25.7080)
Luminance0.0518 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#55258D #5D8D25
analogous
#25298D #55258D #89258D
triadic
#55258D #8D5525 #258D55
tetradic
#55258D #8D2529 #5D8D25 #258D89
square
#55258D #8D2529 #5D8D25 #258D89
split-complementary
#55258D #8D8925 #298D25
monochromatic
#1B0C2C #38185D #55258D #7232BD #9159D3

Accessibility & contrast

On white

10.32
#55258D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#55258D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #55258D
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##55258D#FFFFFF#000000##FFFFFF
##55258D1.0010.322.0410.32
#FFFFFF10.321.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004090
Deuteranopia (green-blind)
#00408B
Tritanopia (blue-blind)
#483F56
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #55258d;
/* rgb */ color: rgb(85, 37, 141);
/* oklch */ color: oklch(39.2% 0.162 300.0);
Tailwind
colors: {
  custom: {
    50: '#8a64af',
    500: '#55258d',
    950: '#000000',
  },
}
SCSS
$custom: #55258d;
$custom-light: #8a64af;
$custom-dark: #000000;
JSON
{
  "hex": "#55258d",
  "rgb": {
    "r": 85,
    "g": 37,
    "b": 141
  },
  "hsl": {
    "h": 267.692,
    "s": 58.427,
    "l": 34.902
  },
  "oklch": {
    "l": 0.39204,
    "c": 0.16166,
    "h": 300
  },
  "luminance": 0.05178
}

Semantic roles & 50–950 ramp

primary
#55258D
secondary
#8BB856
accent
#E2469A
background
#F8F6FA
surface
#F0EBF5
border
#CBC6CF
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #55258D

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

Preview Lab → · Contrast checker → · Palette generator →

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