#55248C#55248C

#55248C is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.0% C 0.162 H 300.4°. Best body text is #FFFFFF at 10.41:1 contrast (WCAG AA passes).

Color values

HEX#55248C
RGBrgb(85, 36, 140)
HSLhsl(268, 59%, 35%)
HSVhsv(268, 74%, 55%)
CMYKcmyk(39.3%, 74.3%, 0%, 45.1%)
CIE-LABlab(26.98, 43.56, -48.87)
CIE-LCHlch(26.98, 65.46, 311.72°)
OKLaboklab(39% 0.0819 -0.1394)
OKLCHoklch(39% 0.162 300.4)
XYZxyz(9.1096, 5.0864, 25.3077)
Luminance0.0509 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#55248C #5B8C24
analogous
#24278C #55248C #89248C
triadic
#55248C #8C5524 #248C55
tetradic
#55248C #8C2427 #5B8C24 #248C89
square
#55248C #8C2427 #5B8C24 #248C89
split-complementary
#55248C #8C8924 #278C24
monochromatic
#1A0B2B #37175B #55248C #7331BD #9257D4

Accessibility & contrast

On white

10.41
#55248C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#55248C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #55248C
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##55248C#FFFFFF#000000##FFFFFF
##55248C1.0010.412.0210.41
#FFFFFF10.411.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.411.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #55248c;
/* rgb */ color: rgb(85, 36, 140);
/* oklch */ color: oklch(39.0% 0.162 300.4);
Tailwind
colors: {
  custom: {
    50: '#8a63ae',
    500: '#55248c',
    950: '#000000',
  },
}
SCSS
$custom: #55248c;
$custom-light: #8a63ae;
$custom-dark: #000000;
JSON
{
  "hex": "#55248c",
  "rgb": {
    "r": 85,
    "g": 36,
    "b": 140
  },
  "hsl": {
    "h": 268.269,
    "s": 59.091,
    "l": 34.51
  },
  "oklch": {
    "l": 0.38997,
    "c": 0.16174,
    "h": 300.4
  },
  "luminance": 0.05086
}

Semantic roles & 50–950 ramp

primary
#55248C
secondary
#89B854
accent
#E24698
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #55248C

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

Preview Lab → · Contrast checker → · Palette generator →

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