#55249B#55249B

#55249B is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.3% C 0.178 H 296.0°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#55249B
RGBrgb(85, 36, 155)
HSLhsl(265, 62%, 37%)
HSVhsv(265, 77%, 61%)
CMYKcmyk(45.2%, 76.8%, 0%, 39.2%)
CIE-LABlab(28.27, 47.49, -55.99)
CIE-LCHlch(28.27, 73.42, 310.30°)
OKLaboklab(40.31% 0.0783 -0.1604)
OKLCHoklch(40.31% 0.178 296)
XYZxyz(10.2920, 5.5594, 31.5348)
Luminance0.0556 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#55249B #6A9B24
analogous
#242E9B #55249B #91249B
triadic
#55249B #9B5524 #249B55
tetradic
#55249B #9B242E #6A9B24 #249B91
square
#55249B #9B242E #6A9B24 #249B91
split-complementary
#55249B #9B9124 #2E9B24
monochromatic
#1F0D38 #3A1869 #55249B #7030CD #925FDA

Accessibility & contrast

On white

9.94
#55249B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#55249B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #55249B
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##55249B#FFFFFF#000000##FFFFFF
##55249B1.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439E
Deuteranopia (green-blind)
#004199
Tritanopia (blue-blind)
#42445E
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #55249b;
/* rgb */ color: rgb(85, 36, 155);
/* oklch */ color: oklch(40.3% 0.178 296.0);
Tailwind
colors: {
  custom: {
    50: '#8c64b9',
    500: '#55249b',
    950: '#000000',
  },
}
SCSS
$custom: #55249b;
$custom-light: #8c64b9;
$custom-dark: #000000;
JSON
{
  "hex": "#55249b",
  "rgb": {
    "r": 85,
    "g": 36,
    "b": 155
  },
  "hsl": {
    "h": 264.706,
    "s": 62.304,
    "l": 37.451
  },
  "oklch": {
    "l": 0.40309,
    "c": 0.17849,
    "h": 296
  },
  "luminance": 0.0556
}

Semantic roles & 50–950 ramp

primary
#55249B
secondary
#96BF5C
accent
#E542A2
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #55249B

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

Preview Lab → · Contrast checker → · Palette generator →

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