#55259C#55259C

#55259C is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.5% C 0.179 H 295.6°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#55259C
RGBrgb(85, 37, 156)
HSLhsl(264, 62%, 38%)
HSVhsv(264, 76%, 61%)
CMYKcmyk(45.5%, 76.3%, 0%, 38.8%)
CIE-LABlab(28.52, 47.29, -56.19)
CIE-LCHlch(28.52, 73.44, 310.08°)
OKLaboklab(40.51% 0.0772 -0.161)
OKLCHoklch(40.51% 0.179 295.6)
XYZxyz(10.4070, 5.6545, 31.9891)
Luminance0.0566 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#55259C #6C9C25
analogous
#25309C #55259C #91259C
triadic
#55259C #9C5525 #259C55
tetradic
#55259C #9C2530 #6C9C25 #259C91
square
#55259C #9C2530 #6C9C25 #259C91
split-complementary
#55259C #9C9125 #309C25
monochromatic
#1F0E39 #3A196B #55259C #7031CD #9262DA

Accessibility & contrast

On white

9.85
#55259C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#55259C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #55259C
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##55259C#FFFFFF#000000##FFFFFF
##55259C1.009.852.139.85
#FFFFFF9.851.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449F
Deuteranopia (green-blind)
#00419A
Tritanopia (blue-blind)
#41455F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #55259c;
/* rgb */ color: rgb(85, 37, 156);
/* oklch */ color: oklch(40.5% 0.179 295.6);
Tailwind
colors: {
  custom: {
    50: '#8c65ba',
    500: '#55259c',
    950: '#000000',
  },
}
SCSS
$custom: #55259c;
$custom-light: #8c65ba;
$custom-dark: #000000;
JSON
{
  "hex": "#55259c",
  "rgb": {
    "r": 85,
    "g": 37,
    "b": 156
  },
  "hsl": {
    "h": 264.202,
    "s": 61.658,
    "l": 37.843
  },
  "oklch": {
    "l": 0.40513,
    "c": 0.17852,
    "h": 295.6
  },
  "luminance": 0.05655
}

Semantic roles & 50–950 ramp

primary
#55259C
secondary
#98BF5E
accent
#E543A4
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #55259C

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

Preview Lab → · Contrast checker → · Palette generator →

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