#55247E#55247E

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

Color values

HEX#55247E
RGBrgb(85, 36, 126)
HSLhsl(273, 56%, 32%)
HSVhsv(273, 71%, 49%)
CMYKcmyk(32.5%, 71.4%, 0%, 50.6%)
CIE-LABlab(25.86, 39.98, -41.92)
CIE-LCHlch(25.86, 57.93, 313.64°)
OKLaboklab(37.85% 0.0844 -0.119)
OKLCHoklch(37.85% 0.146 305.4)
XYZxyz(8.1423, 4.6995, 20.2128)
Luminance0.0470 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#55247E #4D7E24
analogous
#28247E #55247E #7E247A
triadic
#55247E #7E5524 #247E55
tetradic
#55247E #7E2824 #4D7E24 #247A7E
square
#55247E #7E2824 #4D7E24 #247A7E
split-complementary
#55247E #7A7E24 #247E28
monochromatic
#15091F #35164E #55247E #7532AE #9450CD

Accessibility & contrast

On white

10.83
#55247E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#55247E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #55247E
10.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##55247E#FFFFFF#000000##FFFFFF
##55247E1.0010.831.9410.83
#FFFFFF10.831.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C81
Deuteranopia (green-blind)
#033D7C
Tritanopia (blue-blind)
#4E384E
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #55247e;
/* rgb */ color: rgb(85, 36, 126);
/* oklch */ color: oklch(37.9% 0.146 305.4);
Tailwind
colors: {
  custom: {
    50: '#8963a4',
    500: '#55247e',
    950: '#000000',
  },
}
SCSS
$custom: #55247e;
$custom-light: #8963a4;
$custom-dark: #000000;
JSON
{
  "hex": "#55247e",
  "rgb": {
    "r": 85,
    "g": 36,
    "b": 126
  },
  "hsl": {
    "h": 272.667,
    "s": 55.556,
    "l": 31.765
  },
  "oklch": {
    "l": 0.37851,
    "c": 0.14593,
    "h": 305.4
  },
  "luminance": 0.04699
}

Semantic roles & 50–950 ramp

primary
#55247E
secondary
#7BB04E
accent
#DF498D
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C050F
muted
#7D7A7F

Preview Lab

Preview with #55247E

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

Preview Lab → · Contrast checker → · Palette generator →

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