#55238D#55238D

#55238D is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.0% C 0.164 H 300.3°. Best body text is #FFFFFF at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#55238D
RGBrgb(85, 35, 141)
HSLhsl(268, 60%, 35%)
HSVhsv(268, 75%, 55%)
CMYKcmyk(39.7%, 75.2%, 0%, 44.7%)
CIE-LABlab(26.89, 44.30, -49.62)
CIE-LCHlch(26.89, 66.52, 311.75°)
OKLaboklab(38.96% 0.0827 -0.1417)
OKLCHoklch(38.96% 0.164 300.3)
XYZxyz(9.1539, 5.0564, 25.6878)
Luminance0.0506 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#55238D #5B8D23
analogous
#23268D #55238D #8A238D
triadic
#55238D #8D5523 #238D55
tetradic
#55238D #8D2326 #5B8D23 #238D8A
square
#55238D #8D2326 #5B8D23 #238D8A
split-complementary
#55238D #8D8A23 #268D23
monochromatic
#1A0B2B #37175C #55238D #732FBE #9255D5

Accessibility & contrast

On white

10.44
#55238D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#55238D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #55238D
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##55238D#FFFFFF#000000##FFFFFF
##55238D1.0010.442.0110.44
#FFFFFF10.441.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F90
Deuteranopia (green-blind)
#003F8B
Tritanopia (blue-blind)
#483E56
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #55238d;
/* rgb */ color: rgb(85, 35, 141);
/* oklch */ color: oklch(39.0% 0.164 300.3);
Tailwind
colors: {
  custom: {
    50: '#8a63af',
    500: '#55238d',
    950: '#000000',
  },
}
SCSS
$custom: #55238d;
$custom-light: #8a63af;
$custom-dark: #000000;
JSON
{
  "hex": "#55238d",
  "rgb": {
    "r": 85,
    "g": 35,
    "b": 141
  },
  "hsl": {
    "h": 268.302,
    "s": 60.227,
    "l": 34.51
  },
  "oklch": {
    "l": 0.38963,
    "c": 0.16405,
    "h": 300.3
  },
  "luminance": 0.05056
}

Semantic roles & 50–950 ramp

primary
#55238D
secondary
#89B953
accent
#E34498
background
#F8F6FA
surface
#F0EBF5
border
#CBC6CF
text
#0C0510
muted
#7D7A7F

Preview Lab

Preview with #55238D

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

Preview Lab → · Contrast checker → · Palette generator →

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