#55297D#55297D

#55297D is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.5% C 0.138 H 304.8°. Best body text is #FFFFFF at 10.50:1 contrast (WCAG AA passes).

Color values

HEX#55297D
RGBrgb(85, 41, 125)
HSLhsl(271, 51%, 33%)
HSVhsv(271, 67%, 49%)
CMYKcmyk(32%, 67.2%, 0%, 51%)
CIE-LABlab(26.73, 37.12, -39.88)
CIE-LCHlch(26.73, 54.48, 312.94°)
OKLaboklab(38.45% 0.0786 -0.1131)
OKLCHoklch(38.45% 0.138 304.8)
XYZxyz(8.2401, 4.9979, 19.9286)
Luminance0.0500 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#55297D #517D29
analogous
#2B297D #55297D #7D297B
triadic
#55297D #7D5529 #297D55
tetradic
#55297D #7D2B29 #517D29 #297B7D
square
#55297D #7D2B29 #517D29 #297B7D
split-complementary
#55297D #7B7D29 #297D2B
monochromatic
#160B21 #361A4F #55297D #7438AB #9358C8

Accessibility & contrast

On white

10.50
#55297D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#55297D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #55297D
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##55297D#FFFFFF#000000##FFFFFF
##55297D1.0010.502.0010.50
#FFFFFF10.501.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E80
Deuteranopia (green-blind)
#113F7B
Tritanopia (blue-blind)
#4E3B4F
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #55297d;
/* rgb */ color: rgb(85, 41, 125);
/* oklch */ color: oklch(38.5% 0.138 304.8);
Tailwind
colors: {
  custom: {
    50: '#8866a3',
    500: '#55297d',
    950: '#000000',
  },
}
SCSS
$custom: #55297d;
$custom-light: #8866a3;
$custom-dark: #000000;
JSON
{
  "hex": "#55297d",
  "rgb": {
    "r": 85,
    "g": 41,
    "b": 125
  },
  "hsl": {
    "h": 271.429,
    "s": 50.602,
    "l": 32.549
  },
  "oklch": {
    "l": 0.3845,
    "c": 0.1377,
    "h": 304.8
  },
  "luminance": 0.04998
}

Semantic roles & 50–950 ramp

primary
#55297D
secondary
#7FAE54
accent
#DA4E91
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C060F
muted
#7D7A7F

Preview Lab

Preview with #55297D

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

Preview Lab → · Contrast checker → · Palette generator →

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