#55249C#55249C

#55249C is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.4% C 0.180 H 295.8°. Best body text is #FFFFFF at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#55249C
RGBrgb(85, 36, 156)
HSLhsl(265, 63%, 38%)
HSVhsv(265, 77%, 61%)
CMYKcmyk(45.5%, 76.9%, 0%, 38.8%)
CIE-LABlab(28.36, 47.75, -56.46)
CIE-LCHlch(28.36, 73.94, 310.23°)
OKLaboklab(40.4% 0.0781 -0.1617)
OKLCHoklch(40.4% 0.18 295.8)
XYZxyz(10.3763, 5.5931, 31.9789)
Luminance0.0559 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#55249C #6B9C24
analogous
#242F9C #55249C #91249C
triadic
#55249C #9C5524 #249C55
tetradic
#55249C #9C242F #6B9C24 #249C91
square
#55249C #9C242F #6B9C24 #249C91
split-complementary
#55249C #9C9124 #2F9C24
monochromatic
#1F0D39 #3A196A #55249C #702FCE #9260DA

Accessibility & contrast

On white

9.91
#55249C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#55249C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #55249C
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##55249C#FFFFFF#000000##FFFFFF
##55249C1.009.912.129.91
#FFFFFF9.911.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449F
Deuteranopia (green-blind)
#00419A
Tritanopia (blue-blind)
#41445F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #55249c;
/* rgb */ color: rgb(85, 36, 156);
/* oklch */ color: oklch(40.4% 0.180 295.8);
Tailwind
colors: {
  custom: {
    50: '#8c64ba',
    500: '#55249c',
    950: '#000000',
  },
}
SCSS
$custom: #55249c;
$custom-light: #8c64ba;
$custom-dark: #000000;
JSON
{
  "hex": "#55249c",
  "rgb": {
    "r": 85,
    "g": 36,
    "b": 156
  },
  "hsl": {
    "h": 264.5,
    "s": 62.5,
    "l": 37.647
  },
  "oklch": {
    "l": 0.40399,
    "c": 0.17959,
    "h": 295.8
  },
  "luminance": 0.05593
}

Semantic roles & 50–950 ramp

primary
#55249C
secondary
#97BF5C
accent
#E642A3
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #55249C

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

Preview Lab → · Contrast checker → · Palette generator →

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