#55257E#55257E

#55257E is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.0% C 0.145 H 305.2°. Best body text is #FFFFFF at 10.76:1 contrast (WCAG AA passes).

Color values

HEX#55257E
RGBrgb(85, 37, 126)
HSLhsl(272, 55%, 32%)
HSVhsv(272, 71%, 49%)
CMYKcmyk(32.5%, 70.6%, 0%, 50.6%)
CIE-LABlab(26.04, 39.47, -41.62)
CIE-LCHlch(26.04, 57.37, 313.48°)
OKLaboklab(37.98% 0.0833 -0.1182)
OKLCHoklch(37.98% 0.145 305.2)
XYZxyz(8.1729, 4.7608, 20.2230)
Luminance0.0476 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#55257E #4E7E25
analogous
#29257E #55257E #7E257A
triadic
#55257E #7E5525 #257E55
tetradic
#55257E #7E2925 #4E7E25 #257A7E
square
#55257E #7E2925 #4E7E25 #257A7E
split-complementary
#55257E #7A7E25 #257E29
monochromatic
#15091F #35174F #55257E #7533AD #9451CC

Accessibility & contrast

On white

10.76
#55257E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#55257E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #55257E
10.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##55257E#FFFFFF#000000##FFFFFF
##55257E1.0010.761.9510.76
#FFFFFF10.761.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C81
Deuteranopia (green-blind)
#063E7C
Tritanopia (blue-blind)
#4E394E
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #55257e;
/* rgb */ color: rgb(85, 37, 126);
/* oklch */ color: oklch(38.0% 0.145 305.2);
Tailwind
colors: {
  custom: {
    50: '#8963a4',
    500: '#55257e',
    950: '#000000',
  },
}
SCSS
$custom: #55257e;
$custom-light: #8963a4;
$custom-dark: #000000;
JSON
{
  "hex": "#55257e",
  "rgb": {
    "r": 85,
    "g": 37,
    "b": 126
  },
  "hsl": {
    "h": 272.36,
    "s": 54.601,
    "l": 31.961
  },
  "oklch": {
    "l": 0.37981,
    "c": 0.14456,
    "h": 305.2
  },
  "luminance": 0.04761
}

Semantic roles & 50–950 ramp

primary
#55257E
secondary
#7CB04F
accent
#DE4A8E
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C050F
muted
#7D7A7F

Preview Lab

Preview with #55257E

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

Preview Lab → · Contrast checker → · Palette generator →

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