#55248B#55248B

#55248B is a dark, vivid violet. Relative luminance 0.051; OKLCH L 38.9% C 0.161 H 300.8°. Best body text is #FFFFFF at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#55248B
RGBrgb(85, 36, 139)
HSLhsl(269, 59%, 34%)
HSVhsv(269, 74%, 55%)
CMYKcmyk(38.8%, 74.1%, 0%, 45.5%)
CIE-LABlab(26.90, 43.30, -48.38)
CIE-LCHlch(26.90, 64.93, 311.83°)
OKLaboklab(38.91% 0.0822 -0.138)
OKLCHoklch(38.91% 0.161 300.8)
XYZxyz(9.0362, 5.0571, 24.9211)
Luminance0.0506 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#55248B #5A8B24
analogous
#24268B #55248B #89248B
triadic
#55248B #8B5524 #248B55
tetradic
#55248B #8B2426 #5A8B24 #248B89
square
#55248B #8B2426 #5A8B24 #248B89
split-complementary
#55248B #8B8924 #268B24
monochromatic
#1A0B2A #37175A #55248B #7331BC #9256D3

Accessibility & contrast

On white

10.44
#55248B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#55248B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #55248B
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##55248B#FFFFFF#000000##FFFFFF
##55248B1.0010.442.0110.44
#FFFFFF10.441.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8E
Deuteranopia (green-blind)
#003F89
Tritanopia (blue-blind)
#493D55
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #55248b;
/* rgb */ color: rgb(85, 36, 139);
/* oklch */ color: oklch(38.9% 0.161 300.8);
Tailwind
colors: {
  custom: {
    50: '#8a63ae',
    500: '#55248b',
    950: '#000000',
  },
}
SCSS
$custom: #55248b;
$custom-light: #8a63ae;
$custom-dark: #000000;
JSON
{
  "hex": "#55248b",
  "rgb": {
    "r": 85,
    "g": 36,
    "b": 139
  },
  "hsl": {
    "h": 268.544,
    "s": 58.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.38913,
    "c": 0.16062,
    "h": 300.8
  },
  "luminance": 0.05057
}

Semantic roles & 50–950 ramp

primary
#55248B
secondary
#88B753
accent
#E24698
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #55248B

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

Preview Lab → · Contrast checker → · Palette generator →

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