#55298B#55298B

#55298B is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.6% C 0.154 H 299.9°. Best body text is #FFFFFF at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#55298B
RGBrgb(85, 41, 139)
HSLhsl(267, 54%, 35%)
HSVhsv(267, 71%, 55%)
CMYKcmyk(38.8%, 70.5%, 0%, 45.5%)
CIE-LABlab(27.79, 40.79, -46.92)
CIE-LCHlch(27.79, 62.17, 311.00°)
OKLaboklab(39.55% 0.0769 -0.1338)
OKLCHoklch(39.55% 0.154 299.9)
XYZxyz(9.1983, 5.3812, 24.9751)
Luminance0.0538 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#55298B #5F8B29
analogous
#292E8B #55298B #86298B
triadic
#55298B #8B5529 #298B55
tetradic
#55298B #8B292E #5F8B29 #298B86
square
#55298B #8B292E #5F8B29 #298B86
split-complementary
#55298B #8B8629 #2E8B29
monochromatic
#1B0D2C #381B5C #55298B #7237BA #915FD0

Accessibility & contrast

On white

10.11
#55298B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#55298B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #55298B
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##55298B#FFFFFF#000000##FFFFFF
##55298B1.0010.112.0810.11
#FFFFFF10.111.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418E
Deuteranopia (green-blind)
#004189
Tritanopia (blue-blind)
#494057
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #55298b;
/* rgb */ color: rgb(85, 41, 139);
/* oklch */ color: oklch(39.6% 0.154 299.9);
Tailwind
colors: {
  custom: {
    50: '#8a66ae',
    500: '#55298b',
    950: '#000000',
  },
}
SCSS
$custom: #55298b;
$custom-light: #8a66ae;
$custom-dark: #000000;
JSON
{
  "hex": "#55298b",
  "rgb": {
    "r": 85,
    "g": 41,
    "b": 139
  },
  "hsl": {
    "h": 266.939,
    "s": 54.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.39551,
    "c": 0.15426,
    "h": 299.9
  },
  "luminance": 0.05381
}

Semantic roles & 50–950 ramp

primary
#55298B
secondary
#8DB55B
accent
#DE4A9B
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #55298B

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

Preview Lab → · Contrast checker → · Palette generator →

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