#55298D#55298D

#55298D is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.7% C 0.157 H 299.3°. Best body text is #FFFFFF at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#55298D
RGBrgb(85, 41, 141)
HSLhsl(266, 55%, 36%)
HSVhsv(266, 71%, 55%)
CMYKcmyk(39.7%, 70.9%, 0%, 44.7%)
CIE-LABlab(27.95, 41.32, -47.90)
CIE-LCHlch(27.95, 63.26, 310.78°)
OKLaboklab(39.72% 0.0765 -0.1366)
OKLCHoklch(39.72% 0.157 299.3)
XYZxyz(9.3458, 5.4401, 25.7518)
Luminance0.0544 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#55298D #618D29
analogous
#292F8D #55298D #87298D
triadic
#55298D #8D5529 #298D55
tetradic
#55298D #8D292F #618D29 #298D87
square
#55298D #8D292F #618D29 #298D87
split-complementary
#55298D #8D8729 #2F8D29
monochromatic
#1C0D2E #381B5E #55298D #7237BC #9160D1

Accessibility & contrast

On white

10.06
#55298D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #55298D
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##55298D#FFFFFF#000000##FFFFFF
##55298D1.0010.062.0910.06
#FFFFFF10.061.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.061.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #55298d;
/* rgb */ color: rgb(85, 41, 141);
/* oklch */ color: oklch(39.7% 0.157 299.3);
Tailwind
colors: {
  custom: {
    50: '#8a66af',
    500: '#55298d',
    950: '#000000',
  },
}
SCSS
$custom: #55298d;
$custom-light: #8a66af;
$custom-dark: #000000;
JSON
{
  "hex": "#55298d",
  "rgb": {
    "r": 85,
    "g": 41,
    "b": 141
  },
  "hsl": {
    "h": 266.4,
    "s": 54.945,
    "l": 35.686
  },
  "oklch": {
    "l": 0.39715,
    "c": 0.15661,
    "h": 299.3
  },
  "luminance": 0.0544
}

Semantic roles & 50–950 ramp

primary
#55298D
secondary
#8EB65B
accent
#DE4A9D
background
#F8F6FA
surface
#F0EBF5
border
#CBC6CF
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #55298D

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

Preview Lab → · Contrast checker → · Palette generator →

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