#55298E#55298E

#55298E is a dark, vivid violet. Relative luminance 0.055; OKLCH L 39.8% C 0.158 H 298.9°. Best body text is #FFFFFF at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#55298E
RGBrgb(85, 41, 142)
HSLhsl(266, 55%, 36%)
HSVhsv(266, 71%, 56%)
CMYKcmyk(40.1%, 71.1%, 0%, 44.3%)
CIE-LABlab(28.03, 41.59, -48.39)
CIE-LCHlch(28.03, 63.81, 310.68°)
OKLaboklab(39.8% 0.0764 -0.1381)
OKLCHoklch(39.8% 0.158 298.9)
XYZxyz(9.4205, 5.4700, 26.1454)
Luminance0.0547 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#55298E #628E29
analogous
#292F8E #55298E #87298E
triadic
#55298E #8E5529 #298E55
tetradic
#55298E #8E292F #628E29 #298E87
square
#55298E #8E292F #628E29 #298E87
split-complementary
#55298E #8E8729 #2F8E29
monochromatic
#1C0E2F #391B5F #55298E #7137BD #9160D1

Accessibility & contrast

On white

10.03
#55298E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#55298E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #55298E
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##55298E#FFFFFF#000000##FFFFFF
##55298E1.0010.032.0910.03
#FFFFFF10.031.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004291
Deuteranopia (green-blind)
#00418C
Tritanopia (blue-blind)
#484158
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #55298e;
/* rgb */ color: rgb(85, 41, 142);
/* oklch */ color: oklch(39.8% 0.158 298.9);
Tailwind
colors: {
  custom: {
    50: '#8a66b0',
    500: '#55298e',
    950: '#000000',
  },
}
SCSS
$custom: #55298e;
$custom-light: #8a66b0;
$custom-dark: #000000;
JSON
{
  "hex": "#55298e",
  "rgb": {
    "r": 85,
    "g": 41,
    "b": 142
  },
  "hsl": {
    "h": 266.139,
    "s": 55.191,
    "l": 35.882
  },
  "oklch": {
    "l": 0.39798,
    "c": 0.15779,
    "h": 298.9
  },
  "luminance": 0.0547
}

Semantic roles & 50–950 ramp

primary
#55298E
secondary
#8FB75C
accent
#DF499E
background
#F8F6FA
surface
#F0EBF5
border
#CBC6CF
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #55298E

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

Preview Lab → · Contrast checker → · Palette generator →

#55298E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva