#55259B#55259B

#55259B is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.4% C 0.177 H 295.9°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#55259B
RGBrgb(85, 37, 155)
HSLhsl(264, 61%, 38%)
HSVhsv(264, 76%, 61%)
CMYKcmyk(45.2%, 76.1%, 0%, 39.2%)
CIE-LABlab(28.43, 47.03, -55.73)
CIE-LCHlch(28.43, 72.92, 310.16°)
OKLaboklab(40.42% 0.0775 -0.1596)
OKLCHoklch(40.42% 0.177 295.9)
XYZxyz(10.3227, 5.6207, 31.5450)
Luminance0.0562 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#55259B #6B9B25
analogous
#25309B #55259B #90259B
triadic
#55259B #9B5525 #259B55
tetradic
#55259B #9B2530 #6B9B25 #259B90
square
#55259B #9B2530 #6B9B25 #259B90
split-complementary
#55259B #9B9025 #309B25
monochromatic
#1F0D38 #3A196A #55259B #7031CC #9261D9

Accessibility & contrast

On white

9.89
#55259B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #55259B
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##55259B#FFFFFF#000000##FFFFFF
##55259B1.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #55259b;
/* rgb */ color: rgb(85, 37, 155);
/* oklch */ color: oklch(40.4% 0.177 295.9);
Tailwind
colors: {
  custom: {
    50: '#8c65b9',
    500: '#55259b',
    950: '#000000',
  },
}
SCSS
$custom: #55259b;
$custom-light: #8c65b9;
$custom-dark: #000000;
JSON
{
  "hex": "#55259b",
  "rgb": {
    "r": 85,
    "g": 37,
    "b": 155
  },
  "hsl": {
    "h": 264.407,
    "s": 61.458,
    "l": 37.647
  },
  "oklch": {
    "l": 0.40423,
    "c": 0.17741,
    "h": 295.9
  },
  "luminance": 0.05621
}

Semantic roles & 50–950 ramp

primary
#55259B
secondary
#97BF5D
accent
#E543A3
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #55259B

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

Preview Lab → · Contrast checker → · Palette generator →

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