#55299A#55299A

#55299A is a dark, vivid violet. Relative luminance 0.059; OKLCH L 40.8% C 0.172 H 295.5°. Best body text is #FFFFFF at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#55299A
RGBrgb(85, 41, 154)
HSLhsl(263, 58%, 38%)
HSVhsv(263, 73%, 60%)
CMYKcmyk(44.8%, 73.4%, 0%, 39.6%)
CIE-LABlab(29.03, 44.82, -54.14)
CIE-LCHlch(29.03, 70.29, 309.62°)
OKLaboklab(40.82% 0.074 -0.155)
OKLCHoklch(40.82% 0.172 295.5)
XYZxyz(10.3704, 5.8500, 31.1484)
Luminance0.0585 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#55299A #6E9A29
analogous
#29359A #55299A #8D299A
triadic
#55299A #9A5529 #299A55
tetradic
#55299A #9A2935 #6E9A29 #299A8D
square
#55299A #9A2935 #6E9A29 #299A8D
split-complementary
#55299A #9A8D29 #359A29
monochromatic
#200F39 #3A1C6A #55299A #7037CA #9267D7

Accessibility & contrast

On white

9.68
#55299A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#55299A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #55299A
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##55299A#FFFFFF#000000##FFFFFF
##55299A1.009.682.179.68
#FFFFFF9.681.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459D
Deuteranopia (green-blind)
#004398
Tritanopia (blue-blind)
#42465F
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #55299a;
/* rgb */ color: rgb(85, 41, 154);
/* oklch */ color: oklch(40.8% 0.172 295.5);
Tailwind
colors: {
  custom: {
    50: '#8b67b9',
    500: '#55299a',
    950: '#000000',
  },
}
SCSS
$custom: #55299a;
$custom-light: #8b67b9;
$custom-dark: #000000;
JSON
{
  "hex": "#55299a",
  "rgb": {
    "r": 85,
    "g": 41,
    "b": 154
  },
  "hsl": {
    "h": 263.363,
    "s": 57.949,
    "l": 38.235
  },
  "oklch": {
    "l": 0.40817,
    "c": 0.17174,
    "h": 295.5
  },
  "luminance": 0.0585
}

Semantic roles & 50–950 ramp

primary
#55299A
secondary
#99BD62
accent
#E147A5
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #55299A

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

Preview Lab → · Contrast checker → · Palette generator →

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