#55258E#55258E

#55258E is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.3% C 0.163 H 299.6°. Best body text is #FFFFFF at 10.29:1 contrast (WCAG AA passes).

Color values

HEX#55258E
RGBrgb(85, 37, 142)
HSLhsl(267, 59%, 35%)
HSVhsv(267, 74%, 56%)
CMYKcmyk(40.1%, 73.9%, 0%, 44.3%)
CIE-LABlab(27.32, 43.60, -49.56)
CIE-LCHlch(27.32, 66.00, 311.34°)
OKLaboklab(39.29% 0.0805 -0.1415)
OKLCHoklch(39.29% 0.163 299.6)
XYZxyz(9.2891, 5.2073, 26.1017)
Luminance0.0521 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#55258E #5E8E25
analogous
#25298E #55258E #8A258E
triadic
#55258E #8E5525 #258E55
tetradic
#55258E #8E2529 #5E8E25 #258E8A
square
#55258E #8E2529 #5E8E25 #258E8A
split-complementary
#55258E #8E8A25 #298E25
monochromatic
#1B0C2D #38185D #55258E #7232BF #915AD4

Accessibility & contrast

On white

10.29
#55258E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #55258E
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##55258E#FFFFFF#000000##FFFFFF
##55258E1.0010.292.0410.29
#FFFFFF10.291.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004091
Deuteranopia (green-blind)
#00408C
Tritanopia (blue-blind)
#483F57
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #55258e;
/* rgb */ color: rgb(85, 37, 142);
/* oklch */ color: oklch(39.3% 0.163 299.6);
Tailwind
colors: {
  custom: {
    50: '#8a64b0',
    500: '#55258e',
    950: '#000000',
  },
}
SCSS
$custom: #55258e;
$custom-light: #8a64b0;
$custom-dark: #000000;
JSON
{
  "hex": "#55258e",
  "rgb": {
    "r": 85,
    "g": 37,
    "b": 142
  },
  "hsl": {
    "h": 267.429,
    "s": 58.659,
    "l": 35.098
  },
  "oklch": {
    "l": 0.39288,
    "c": 0.16278,
    "h": 299.6
  },
  "luminance": 0.05207
}

Semantic roles & 50–950 ramp

primary
#55258E
secondary
#8CB956
accent
#E2469B
background
#F8F6FA
surface
#F0EBF5
border
#CBC6CF
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #55258E

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

Preview Lab → · Contrast checker → · Palette generator →

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