#55238B#55238B

#55238B is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.8% C 0.162 H 300.9°. Best body text is #FFFFFF at 10.50:1 contrast (WCAG AA passes).

Color values

HEX#55238B
RGBrgb(85, 35, 139)
HSLhsl(269, 60%, 34%)
HSVhsv(269, 75%, 55%)
CMYKcmyk(38.8%, 74.8%, 0%, 45.5%)
CIE-LABlab(26.73, 43.78, -48.66)
CIE-LCHlch(26.73, 65.45, 311.98°)
OKLaboklab(38.79% 0.0832 -0.1388)
OKLCHoklch(38.79% 0.162 300.9)
XYZxyz(9.0064, 4.9974, 24.9112)
Luminance0.0500 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#55238B #598B23
analogous
#23258B #55238B #89238B
triadic
#55238B #8B5523 #238B55
tetradic
#55238B #8B2325 #598B23 #238B89
square
#55238B #8B2325 #598B23 #238B89
split-complementary
#55238B #8B8923 #258B23
monochromatic
#190A29 #37175A #55238B #732FBC #9254D4

Accessibility & contrast

On white

10.50
#55238B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#55238B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #55238B
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##55238B#FFFFFF#000000##FFFFFF
##55238B1.0010.502.0010.50
#FFFFFF10.501.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8E
Deuteranopia (green-blind)
#003F89
Tritanopia (blue-blind)
#493D55
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #55238b;
/* rgb */ color: rgb(85, 35, 139);
/* oklch */ color: oklch(38.8% 0.162 300.9);
Tailwind
colors: {
  custom: {
    50: '#8a63ae',
    500: '#55238b',
    950: '#000000',
  },
}
SCSS
$custom: #55238b;
$custom-light: #8a63ae;
$custom-dark: #000000;
JSON
{
  "hex": "#55238b",
  "rgb": {
    "r": 85,
    "g": 35,
    "b": 139
  },
  "hsl": {
    "h": 268.846,
    "s": 59.77,
    "l": 34.118
  },
  "oklch": {
    "l": 0.38793,
    "c": 0.16182,
    "h": 300.9
  },
  "luminance": 0.04997
}

Semantic roles & 50–950 ramp

primary
#55238B
secondary
#87B852
accent
#E34597
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0510
muted
#7D7A7F

Preview Lab

Preview with #55238B

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

Preview Lab → · Contrast checker → · Palette generator →

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