#55259F#55259F

#55259F is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.8% C 0.182 H 294.8°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#55259F
RGBrgb(85, 37, 159)
HSLhsl(264, 62%, 38%)
HSVhsv(264, 77%, 62%)
CMYKcmyk(46.5%, 76.7%, 0%, 37.6%)
CIE-LABlab(28.79, 48.09, -57.58)
CIE-LCHlch(28.79, 75.02, 309.87°)
OKLaboklab(40.78% 0.0764 -0.165)
OKLCHoklch(40.78% 0.182 294.8)
XYZxyz(10.6642, 5.7573, 33.3436)
Luminance0.0576 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#55259F #6F9F25
analogous
#25329F #55259F #92259F
triadic
#55259F #9F5525 #259F55
tetradic
#55259F #9F2532 #6F9F25 #259F92
square
#55259F #9F2532 #6F9F25 #259F92
split-complementary
#55259F #9F9225 #329F25
monochromatic
#200E3C #3A196D #55259F #7032CF #9264DB

Accessibility & contrast

On white

9.76
#55259F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#55259F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #55259F
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##55259F#FFFFFF#000000##FFFFFF
##55259F1.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A2
Deuteranopia (green-blind)
#00429D
Tritanopia (blue-blind)
#404661
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #55259f;
/* rgb */ color: rgb(85, 37, 159);
/* oklch */ color: oklch(40.8% 0.182 294.8);
Tailwind
colors: {
  custom: {
    50: '#8c65bc',
    500: '#55259f',
    950: '#000000',
  },
}
SCSS
$custom: #55259f;
$custom-light: #8c65bc;
$custom-dark: #000000;
JSON
{
  "hex": "#55259f",
  "rgb": {
    "r": 85,
    "g": 37,
    "b": 159
  },
  "hsl": {
    "h": 263.607,
    "s": 62.245,
    "l": 38.431
  },
  "oklch": {
    "l": 0.40784,
    "c": 0.18187,
    "h": 294.8
  },
  "luminance": 0.05758
}

Semantic roles & 50–950 ramp

primary
#55259F
secondary
#9AC05F
accent
#E542A5
background
#F9F6FB
surface
#F1EBF7
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #55259F

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

Preview Lab → · Contrast checker → · Palette generator →

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