#55258F#55258F

#55258F is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.4% C 0.164 H 299.3°. Best body text is #FFFFFF at 10.26:1 contrast (WCAG AA passes).

Color values

HEX#55258F
RGBrgb(85, 37, 143)
HSLhsl(267, 59%, 35%)
HSVhsv(267, 74%, 56%)
CMYKcmyk(40.6%, 74.1%, 0%, 43.9%)
CIE-LABlab(27.40, 43.86, -50.04)
CIE-LCHlch(27.40, 66.54, 311.24°)
OKLaboklab(39.37% 0.0803 -0.1429)
OKLCHoklch(39.37% 0.164 299.3)
XYZxyz(9.3646, 5.2375, 26.4988)
Luminance0.0524 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#55258F #5F8F25
analogous
#252A8F #55258F #8A258F
triadic
#55258F #8F5525 #258F55
tetradic
#55258F #8F252A #5F8F25 #258F8A
square
#55258F #8F252A #5F8F25 #258F8A
split-complementary
#55258F #8F8A25 #2A8F25
monochromatic
#1B0C2E #38185E #55258F #7232C0 #915AD4

Accessibility & contrast

On white

10.26
#55258F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#55258F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #55258F
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##55258F#FFFFFF#000000##FFFFFF
##55258F1.0010.262.0510.26
#FFFFFF10.261.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004192
Deuteranopia (green-blind)
#00408D
Tritanopia (blue-blind)
#474058
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #55258f;
/* rgb */ color: rgb(85, 37, 143);
/* oklch */ color: oklch(39.4% 0.164 299.3);
Tailwind
colors: {
  custom: {
    50: '#8a64b1',
    500: '#55258f',
    950: '#000000',
  },
}
SCSS
$custom: #55258f;
$custom-light: #8a64b1;
$custom-dark: #000000;
JSON
{
  "hex": "#55258f",
  "rgb": {
    "r": 85,
    "g": 37,
    "b": 143
  },
  "hsl": {
    "h": 267.17,
    "s": 58.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.39374,
    "c": 0.16392,
    "h": 299.3
  },
  "luminance": 0.05238
}

Semantic roles & 50–950 ramp

primary
#55258F
secondary
#8DB957
accent
#E2469B
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #55258F

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

Preview Lab → · Contrast checker → · Palette generator →

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