#55259D#55259D

#55259D is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.6% C 0.180 H 295.4°. Best body text is #FFFFFF at 9.82:1 contrast (WCAG AA passes).

Color values

HEX#55259D
RGBrgb(85, 37, 157)
HSLhsl(264, 62%, 38%)
HSVhsv(264, 76%, 62%)
CMYKcmyk(45.9%, 76.4%, 0%, 38.4%)
CIE-LABlab(28.61, 47.56, -56.66)
CIE-LCHlch(28.61, 73.97, 310.01°)
OKLaboklab(40.6% 0.0769 -0.1623)
OKLCHoklch(40.6% 0.18 295.4)
XYZxyz(10.4920, 5.6885, 32.4369)
Luminance0.0569 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#55259D #6D9D25
analogous
#25319D #55259D #91259D
triadic
#55259D #9D5525 #259D55
tetradic
#55259D #9D2531 #6D9D25 #259D91
square
#55259D #9D2531 #6D9D25 #259D91
split-complementary
#55259D #9D9125 #319D25
monochromatic
#1F0E3A #3A196B #55259D #7031CE #9262DA

Accessibility & contrast

On white

9.82
#55259D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #55259D
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##55259D#FFFFFF#000000##FFFFFF
##55259D1.009.822.149.82
#FFFFFF9.821.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A0
Deuteranopia (green-blind)
#00429B
Tritanopia (blue-blind)
#41455F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #55259d;
/* rgb */ color: rgb(85, 37, 157);
/* oklch */ color: oklch(40.6% 0.180 295.4);
Tailwind
colors: {
  custom: {
    50: '#8c65bb',
    500: '#55259d',
    950: '#000000',
  },
}
SCSS
$custom: #55259d;
$custom-light: #8c65bb;
$custom-dark: #000000;
JSON
{
  "hex": "#55259d",
  "rgb": {
    "r": 85,
    "g": 37,
    "b": 157
  },
  "hsl": {
    "h": 264,
    "s": 61.856,
    "l": 38.039
  },
  "oklch": {
    "l": 0.40603,
    "c": 0.17964,
    "h": 295.4
  },
  "luminance": 0.05689
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #55259D

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

Preview Lab → · Contrast checker → · Palette generator →

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