#55249A#55249A

#55249A is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.2% C 0.177 H 296.3°. Best body text is #FFFFFF at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#55249A
RGBrgb(85, 36, 154)
HSLhsl(265, 62%, 37%)
HSVhsv(265, 77%, 60%)
CMYKcmyk(44.8%, 76.6%, 0%, 39.6%)
CIE-LABlab(28.18, 47.23, -55.53)
CIE-LCHlch(28.18, 72.89, 310.38°)
OKLaboklab(40.22% 0.0786 -0.159)
OKLCHoklch(40.22% 0.177 296.3)
XYZxyz(10.2084, 5.5259, 31.0943)
Luminance0.0553 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#55249A #699A24
analogous
#242E9A #55249A #90249A
triadic
#55249A #9A5524 #249A55
tetradic
#55249A #9A242E #699A24 #249A90
square
#55249A #9A242E #699A24 #249A90
split-complementary
#55249A #9A9024 #2E9A24
monochromatic
#1E0D37 #3A1868 #55249A #7030CC #925FDA

Accessibility & contrast

On white

9.98
#55249A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #55249A
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##55249A#FFFFFF#000000##FFFFFF
##55249A1.009.982.119.98
#FFFFFF9.981.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439D
Deuteranopia (green-blind)
#004198
Tritanopia (blue-blind)
#42445E
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #55249a;
/* rgb */ color: rgb(85, 36, 154);
/* oklch */ color: oklch(40.2% 0.177 296.3);
Tailwind
colors: {
  custom: {
    50: '#8c64b9',
    500: '#55249a',
    950: '#000000',
  },
}
SCSS
$custom: #55249a;
$custom-light: #8c64b9;
$custom-dark: #000000;
JSON
{
  "hex": "#55249a",
  "rgb": {
    "r": 85,
    "g": 36,
    "b": 154
  },
  "hsl": {
    "h": 264.915,
    "s": 62.105,
    "l": 37.255
  },
  "oklch": {
    "l": 0.40219,
    "c": 0.17737,
    "h": 296.3
  },
  "luminance": 0.05526
}

Semantic roles & 50–950 ramp

primary
#55249A
secondary
#95BF5B
accent
#E543A2
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #55249A

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

Preview Lab → · Contrast checker → · Palette generator →

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