#55247F#55247F

#55247F is a dark, vivid violet. Relative luminance 0.047; OKLCH L 37.9% C 0.147 H 305.0°. Best body text is #FFFFFF at 10.80:1 contrast (WCAG AA passes).

Color values

HEX#55247F
RGBrgb(85, 36, 127)
HSLhsl(272, 56%, 32%)
HSVhsv(272, 72%, 50%)
CMYKcmyk(33.1%, 71.7%, 0%, 50.2%)
CIE-LABlab(25.94, 40.23, -42.42)
CIE-LCHlch(25.94, 58.47, 313.48°)
OKLaboklab(37.93% 0.0843 -0.1205)
OKLCHoklch(37.93% 0.147 305)
XYZxyz(8.2071, 4.7254, 20.5543)
Luminance0.0473 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#55247F #4E7F24
analogous
#28247F #55247F #7F247C
triadic
#55247F #7F5524 #247F55
tetradic
#55247F #7F2824 #4E7F24 #247C7F
square
#55247F #7F2824 #4E7F24 #247C7F
split-complementary
#55247F #7C7F24 #247F28
monochromatic
#150920 #35164F #55247F #7532AF #9450CD

Accessibility & contrast

On white

10.80
#55247F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#55247F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #55247F
10.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##55247F#FFFFFF#000000##FFFFFF
##55247F1.0010.801.9510.80
#FFFFFF10.801.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C82
Deuteranopia (green-blind)
#013D7D
Tritanopia (blue-blind)
#4D394E
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #55247f;
/* rgb */ color: rgb(85, 36, 127);
/* oklch */ color: oklch(37.9% 0.147 305.0);
Tailwind
colors: {
  custom: {
    50: '#8963a5',
    500: '#55247f',
    950: '#000000',
  },
}
SCSS
$custom: #55247f;
$custom-light: #8963a5;
$custom-dark: #000000;
JSON
{
  "hex": "#55247f",
  "rgb": {
    "r": 85,
    "g": 36,
    "b": 127
  },
  "hsl": {
    "h": 272.308,
    "s": 55.828,
    "l": 31.961
  },
  "oklch": {
    "l": 0.3793,
    "c": 0.14707,
    "h": 305
  },
  "luminance": 0.04725
}

Semantic roles & 50–950 ramp

primary
#55247F
secondary
#7CB14E
accent
#DF498E
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C050F
muted
#7D7A7F

Preview Lab

Preview with #55247F

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

Preview Lab → · Contrast checker → · Palette generator →

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