#55299B#55299B

#55299B is a dark, vivid violet. Relative luminance 0.059; OKLCH L 40.9% C 0.173 H 295.3°. Best body text is #FFFFFF at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#55299B
RGBrgb(85, 41, 155)
HSLhsl(263, 58%, 38%)
HSVhsv(263, 74%, 61%)
CMYKcmyk(45.2%, 73.5%, 0%, 39.2%)
CIE-LABlab(29.12, 45.09, -54.61)
CIE-LCHlch(29.12, 70.82, 309.55°)
OKLaboklab(40.9% 0.0738 -0.1564)
OKLCHoklch(40.9% 0.173 295.3)
XYZxyz(10.4541, 5.8835, 31.5888)
Luminance0.0588 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#55299B #6F9B29
analogous
#29369B #55299B #8E299B
triadic
#55299B #9B5529 #299B55
tetradic
#55299B #9B2936 #6F9B29 #299B8E
square
#55299B #9B2936 #6F9B29 #299B8E
split-complementary
#55299B #9B8E29 #369B29
monochromatic
#200F3A #3A1C6B #55299B #7037CA #9267D7

Accessibility & contrast

On white

9.65
#55299B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#55299B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #55299B
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##55299B#FFFFFF#000000##FFFFFF
##55299B1.009.652.189.65
#FFFFFF9.651.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459E
Deuteranopia (green-blind)
#004399
Tritanopia (blue-blind)
#42465F
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #55299b;
/* rgb */ color: rgb(85, 41, 155);
/* oklch */ color: oklch(40.9% 0.173 295.3);
Tailwind
colors: {
  custom: {
    50: '#8c67b9',
    500: '#55299b',
    950: '#000000',
  },
}
SCSS
$custom: #55299b;
$custom-light: #8c67b9;
$custom-dark: #000000;
JSON
{
  "hex": "#55299b",
  "rgb": {
    "r": 85,
    "g": 41,
    "b": 155
  },
  "hsl": {
    "h": 263.158,
    "s": 58.163,
    "l": 38.431
  },
  "oklch": {
    "l": 0.40904,
    "c": 0.17289,
    "h": 295.3
  },
  "luminance": 0.05884
}

Semantic roles & 50–950 ramp

primary
#55299B
secondary
#9ABD63
accent
#E146A6
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #55299B

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

Preview Lab → · Contrast checker → · Palette generator →

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