#55247D#55247D

#55247D is a dark, vivid violet. Relative luminance 0.047; OKLCH L 37.8% C 0.145 H 305.7°. Best body text is #FFFFFF at 10.85:1 contrast (WCAG AA passes).

Color values

HEX#55247D
RGBrgb(85, 36, 125)
HSLhsl(273, 55%, 32%)
HSVhsv(273, 71%, 49%)
CMYKcmyk(32%, 71.2%, 0%, 51%)
CIE-LABlab(25.78, 39.73, -41.41)
CIE-LCHlch(25.78, 57.38, 313.81°)
OKLaboklab(37.77% 0.0846 -0.1175)
OKLCHoklch(37.77% 0.145 305.7)
XYZxyz(8.0780, 4.6738, 19.8746)
Luminance0.0467 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#55247D #4C7D24
analogous
#29247D #55247D #7D2479
triadic
#55247D #7D5524 #247D55
tetradic
#55247D #7D2924 #4C7D24 #24797D
square
#55247D #7D2924 #4C7D24 #24797D
split-complementary
#55247D #797D24 #247D29
monochromatic
#14091E #35164D #55247D #7532AD #944FCC

Accessibility & contrast

On white

10.85
#55247D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #55247D
10.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##55247D#FFFFFF#000000##FFFFFF
##55247D1.0010.851.9310.85
#FFFFFF10.851.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C80
Deuteranopia (green-blind)
#063D7B
Tritanopia (blue-blind)
#4E384D
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #55247d;
/* rgb */ color: rgb(85, 36, 125);
/* oklch */ color: oklch(37.8% 0.145 305.7);
Tailwind
colors: {
  custom: {
    50: '#8963a3',
    500: '#55247d',
    950: '#000000',
  },
}
SCSS
$custom: #55247d;
$custom-light: #8963a3;
$custom-dark: #000000;
JSON
{
  "hex": "#55247d",
  "rgb": {
    "r": 85,
    "g": 36,
    "b": 125
  },
  "hsl": {
    "h": 273.034,
    "s": 55.28,
    "l": 31.569
  },
  "oklch": {
    "l": 0.37772,
    "c": 0.1448,
    "h": 305.7
  },
  "luminance": 0.04674
}

Semantic roles & 50–950 ramp

primary
#55247D
secondary
#79AF4D
accent
#DF498C
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C050F
muted
#7D7A7F

Preview Lab

Preview with #55247D

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

Preview Lab → · Contrast checker → · Palette generator →

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