#55248E#55248E

#55248E is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.2% C 0.164 H 299.8°. Best body text is #FFFFFF at 10.35:1 contrast (WCAG AA passes).

Color values

HEX#55248E
RGBrgb(85, 36, 142)
HSLhsl(268, 60%, 35%)
HSVhsv(268, 75%, 56%)
CMYKcmyk(40.1%, 74.6%, 0%, 44.3%)
CIE-LABlab(27.15, 44.08, -49.83)
CIE-LCHlch(27.15, 66.53, 311.49°)
OKLaboklab(39.17% 0.0815 -0.1423)
OKLCHoklch(39.17% 0.164 299.8)
XYZxyz(9.2585, 5.1459, 26.0914)
Luminance0.0515 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#55248E #5D8E24
analogous
#24288E #55248E #8A248E
triadic
#55248E #8E5524 #248E55
tetradic
#55248E #8E2428 #5D8E24 #248E8A
square
#55248E #8E2428 #5D8E24 #248E8A
split-complementary
#55248E #8E8A24 #288E24
monochromatic
#1B0B2C #38185D #55248E #7230BF #9158D5

Accessibility & contrast

On white

10.35
#55248E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#55248E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #55248E
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##55248E#FFFFFF#000000##FFFFFF
##55248E1.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)
#004091
Deuteranopia (green-blind)
#003F8C
Tritanopia (blue-blind)
#483F57
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #55248e;
/* rgb */ color: rgb(85, 36, 142);
/* oklch */ color: oklch(39.2% 0.164 299.8);
Tailwind
colors: {
  custom: {
    50: '#8a64b0',
    500: '#55248e',
    950: '#000000',
  },
}
SCSS
$custom: #55248e;
$custom-light: #8a64b0;
$custom-dark: #000000;
JSON
{
  "hex": "#55248e",
  "rgb": {
    "r": 85,
    "g": 36,
    "b": 142
  },
  "hsl": {
    "h": 267.736,
    "s": 59.551,
    "l": 34.902
  },
  "oklch": {
    "l": 0.39168,
    "c": 0.16398,
    "h": 299.8
  },
  "luminance": 0.05146
}

Semantic roles & 50–950 ramp

primary
#55248E
secondary
#8BB955
accent
#E3459A
background
#F8F6FA
surface
#F0EBF5
border
#CBC6CF
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #55248E

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

Preview Lab → · Contrast checker → · Palette generator →

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