#55259E#55259E

#55259E is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.7% C 0.181 H 295.1°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#55259E
RGBrgb(85, 37, 158)
HSLhsl(264, 62%, 38%)
HSVhsv(264, 77%, 62%)
CMYKcmyk(46.2%, 76.6%, 0%, 38%)
CIE-LABlab(28.70, 47.82, -57.12)
CIE-LCHlch(28.70, 74.50, 309.94°)
OKLaboklab(40.69% 0.0767 -0.1637)
OKLCHoklch(40.69% 0.181 295.1)
XYZxyz(10.5778, 5.7228, 32.8884)
Luminance0.0572 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#55259E #6E9E25
analogous
#25319E #55259E #91259E
triadic
#55259E #9E5525 #259E55
tetradic
#55259E #9E2531 #6E9E25 #259E91
square
#55259E #9E2531 #6E9E25 #259E91
split-complementary
#55259E #9E9125 #319E25
monochromatic
#200E3B #3A196C #55259E #7031CF #9263DA

Accessibility & contrast

On white

9.79
#55259E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#55259E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #55259E
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##55259E#FFFFFF#000000##FFFFFF
##55259E1.009.792.149.79
#FFFFFF9.791.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A1
Deuteranopia (green-blind)
#00429C
Tritanopia (blue-blind)
#404660
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #55259e;
/* rgb */ color: rgb(85, 37, 158);
/* oklch */ color: oklch(40.7% 0.181 295.1);
Tailwind
colors: {
  custom: {
    50: '#8c65bc',
    500: '#55259e',
    950: '#000000',
  },
}
SCSS
$custom: #55259e;
$custom-light: #8c65bc;
$custom-dark: #000000;
JSON
{
  "hex": "#55259e",
  "rgb": {
    "r": 85,
    "g": 37,
    "b": 158
  },
  "hsl": {
    "h": 263.802,
    "s": 62.051,
    "l": 38.235
  },
  "oklch": {
    "l": 0.40693,
    "c": 0.18075,
    "h": 295.1
  },
  "luminance": 0.05723
}

Semantic roles & 50–950 ramp

primary
#55259E
secondary
#99C05F
accent
#E543A5
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #55259E

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

Preview Lab → · Contrast checker → · Palette generator →

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