#55248D#55248D

#55248D is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.1% C 0.163 H 300.1°. Best body text is #FFFFFF at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#55248D
RGBrgb(85, 36, 141)
HSLhsl(268, 59%, 35%)
HSVhsv(268, 74%, 55%)
CMYKcmyk(39.7%, 74.5%, 0%, 44.7%)
CIE-LABlab(27.06, 43.82, -49.35)
CIE-LCHlch(27.06, 66.00, 311.60°)
OKLaboklab(39.08% 0.0817 -0.1409)
OKLCHoklch(39.08% 0.163 300.1)
XYZxyz(9.1837, 5.1160, 25.6978)
Luminance0.0512 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#55248D #5C8D24
analogous
#24288D #55248D #8A248D
triadic
#55248D #8D5524 #248D55
tetradic
#55248D #8D2428 #5C8D24 #248D8A
square
#55248D #8D2428 #5C8D24 #248D8A
split-complementary
#55248D #8D8A24 #288D24
monochromatic
#1A0B2B #38185C #55248D #7230BE #9257D4

Accessibility & contrast

On white

10.38
#55248D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #55248D
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##55248D#FFFFFF#000000##FFFFFF
##55248D1.0010.382.0210.38
#FFFFFF10.381.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004090
Deuteranopia (green-blind)
#003F8B
Tritanopia (blue-blind)
#483E56
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #55248d;
/* rgb */ color: rgb(85, 36, 141);
/* oklch */ color: oklch(39.1% 0.163 300.1);
Tailwind
colors: {
  custom: {
    50: '#8a64af',
    500: '#55248d',
    950: '#000000',
  },
}
SCSS
$custom: #55248d;
$custom-light: #8a64af;
$custom-dark: #000000;
JSON
{
  "hex": "#55248d",
  "rgb": {
    "r": 85,
    "g": 36,
    "b": 141
  },
  "hsl": {
    "h": 268,
    "s": 59.322,
    "l": 34.706
  },
  "oklch": {
    "l": 0.39082,
    "c": 0.16286,
    "h": 300.1
  },
  "luminance": 0.05116
}

Semantic roles & 50–950 ramp

primary
#55248D
secondary
#8AB854
accent
#E34599
background
#F8F6FA
surface
#F0EBF5
border
#CBC6CF
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #55248D

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

Preview Lab → · Contrast checker → · Palette generator →

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