#55258C#55258C

#55258C is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.1% C 0.161 H 300.3°. Best body text is #FFFFFF at 10.35:1 contrast (WCAG AA passes).

Color values

HEX#55258C
RGBrgb(85, 37, 140)
HSLhsl(268, 58%, 35%)
HSVhsv(268, 74%, 55%)
CMYKcmyk(39.3%, 73.6%, 0%, 45.1%)
CIE-LABlab(27.15, 43.08, -48.59)
CIE-LCHlch(27.15, 64.93, 311.56°)
OKLaboklab(39.12% 0.0809 -0.1386)
OKLCHoklch(39.12% 0.161 300.3)
XYZxyz(9.1403, 5.1478, 25.3179)
Luminance0.0515 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#55258C #5C8C25
analogous
#25298C #55258C #89258C
triadic
#55258C #8C5525 #258C55
tetradic
#55258C #8C2529 #5C8C25 #258C89
square
#55258C #8C2529 #5C8C25 #258C89
split-complementary
#55258C #8C8925 #298C25
monochromatic
#1A0B2B #38185C #55258C #7232BC #9258D3

Accessibility & contrast

On white

10.35
#55258C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#55258C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #55258C
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##55258C#FFFFFF#000000##FFFFFF
##55258C1.0010.352.0310.35
#FFFFFF10.351.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408F
Deuteranopia (green-blind)
#003F8A
Tritanopia (blue-blind)
#493E56
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #55258c;
/* rgb */ color: rgb(85, 37, 140);
/* oklch */ color: oklch(39.1% 0.161 300.3);
Tailwind
colors: {
  custom: {
    50: '#8a64ae',
    500: '#55258c',
    950: '#000000',
  },
}
SCSS
$custom: #55258c;
$custom-light: #8a64ae;
$custom-dark: #000000;
JSON
{
  "hex": "#55258c",
  "rgb": {
    "r": 85,
    "g": 37,
    "b": 140
  },
  "hsl": {
    "h": 267.961,
    "s": 58.192,
    "l": 34.706
  },
  "oklch": {
    "l": 0.39119,
    "c": 0.16052,
    "h": 300.3
  },
  "luminance": 0.05148
}

Semantic roles & 50–950 ramp

primary
#55258C
secondary
#8AB855
accent
#E14699
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #55258C

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

Preview Lab → · Contrast checker → · Palette generator →

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