#55259A#55259A

#55259A is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.3% C 0.176 H 296.2°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#55259A
RGBrgb(85, 37, 154)
HSLhsl(265, 61%, 37%)
HSVhsv(265, 76%, 60%)
CMYKcmyk(44.8%, 76%, 0%, 39.6%)
CIE-LABlab(28.35, 46.76, -55.26)
CIE-LCHlch(28.35, 72.39, 310.24°)
OKLaboklab(40.33% 0.0777 -0.1582)
OKLCHoklch(40.33% 0.176 296.2)
XYZxyz(10.2391, 5.5873, 31.1046)
Luminance0.0559 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#55259A #6A9A25
analogous
#25309A #55259A #8F259A
triadic
#55259A #9A5525 #259A55
tetradic
#55259A #9A2530 #6A9A25 #259A8F
square
#55259A #9A2530 #6A9A25 #259A8F
split-complementary
#55259A #9A8F25 #309A25
monochromatic
#1F0D37 #3A1969 #55259A #7031CB #9260D9

Accessibility & contrast

On white

9.92
#55259A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#55259A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #55259A
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##55259A#FFFFFF#000000##FFFFFF
##55259A1.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449D
Deuteranopia (green-blind)
#004198
Tritanopia (blue-blind)
#42445E
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #55259a;
/* rgb */ color: rgb(85, 37, 154);
/* oklch */ color: oklch(40.3% 0.176 296.2);
Tailwind
colors: {
  custom: {
    50: '#8c65b9',
    500: '#55259a',
    950: '#000000',
  },
}
SCSS
$custom: #55259a;
$custom-light: #8c65b9;
$custom-dark: #000000;
JSON
{
  "hex": "#55259a",
  "rgb": {
    "r": 85,
    "g": 37,
    "b": 154
  },
  "hsl": {
    "h": 264.615,
    "s": 61.257,
    "l": 37.451
  },
  "oklch": {
    "l": 0.40334,
    "c": 0.17629,
    "h": 296.2
  },
  "luminance": 0.05588
}

Semantic roles & 50–950 ramp

primary
#55259A
secondary
#96BE5D
accent
#E443A2
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #55259A

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

Preview Lab → · Contrast checker → · Palette generator →

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