#55247C#55247C

#55247C is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.7% C 0.144 H 306.1°. Best body text is #FFFFFF at 10.88:1 contrast (WCAG AA passes).

Color values

HEX#55247C
RGBrgb(85, 36, 124)
HSLhsl(273, 55%, 31%)
HSVhsv(273, 71%, 49%)
CMYKcmyk(31.5%, 71%, 0%, 51.4%)
CIE-LABlab(25.71, 39.48, -40.90)
CIE-LCHlch(25.71, 56.84, 313.99°)
OKLaboklab(37.69% 0.0847 -0.116)
OKLCHoklch(37.69% 0.144 306.1)
XYZxyz(8.0145, 4.6484, 19.5399)
Luminance0.0465 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#55247C #4B7C24
analogous
#29247C #55247C #7C2477
triadic
#55247C #7C5524 #247C55
tetradic
#55247C #7C2924 #4B7C24 #24777C
square
#55247C #7C2924 #4B7C24 #24777C
split-complementary
#55247C #777C24 #247C29
monochromatic
#14081D #34164D #55247C #7632AB #944FCC

Accessibility & contrast

On white

10.88
#55247C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#55247C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #55247C
10.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##55247C#FFFFFF#000000##FFFFFF
##55247C1.0010.881.9310.88
#FFFFFF10.881.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B7F
Deuteranopia (green-blind)
#093D7A
Tritanopia (blue-blind)
#4E384D
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #55247c;
/* rgb */ color: rgb(85, 36, 124);
/* oklch */ color: oklch(37.7% 0.144 306.1);
Tailwind
colors: {
  custom: {
    50: '#8963a2',
    500: '#55247c',
    950: '#000000',
  },
}
SCSS
$custom: #55247c;
$custom-light: #8963a2;
$custom-dark: #000000;
JSON
{
  "hex": "#55247c",
  "rgb": {
    "r": 85,
    "g": 36,
    "b": 124
  },
  "hsl": {
    "h": 273.409,
    "s": 55,
    "l": 31.373
  },
  "oklch": {
    "l": 0.37694,
    "c": 0.14367,
    "h": 306.1
  },
  "luminance": 0.04648
}

Semantic roles & 50–950 ramp

primary
#55247C
secondary
#78AE4D
accent
#DE498B
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C050F
muted
#7D7A7F

Preview Lab

Preview with #55247C

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

Preview Lab → · Contrast checker → · Palette generator →

#55247C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva