#55238C#55238C

#55238C is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.9% C 0.163 H 300.6°. Best body text is #FFFFFF at 10.47:1 contrast (WCAG AA passes).

Color values

HEX#55238C
RGBrgb(85, 35, 140)
HSLhsl(269, 60%, 34%)
HSVhsv(269, 75%, 55%)
CMYKcmyk(39.3%, 75%, 0%, 45.1%)
CIE-LABlab(26.81, 44.04, -49.14)
CIE-LCHlch(26.81, 65.99, 311.87°)
OKLaboklab(38.88% 0.0829 -0.1403)
OKLCHoklch(38.88% 0.163 300.6)
XYZxyz(9.0798, 5.0267, 25.2978)
Luminance0.0503 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#55238C #5A8C23
analogous
#23268C #55238C #8A238C
triadic
#55238C #8C5523 #238C55
tetradic
#55238C #8C2326 #5A8C23 #238C8A
square
#55238C #8C2326 #5A8C23 #238C8A
split-complementary
#55238C #8C8A23 #268C23
monochromatic
#1A0B2A #37175B #55238C #732FBD #9255D4

Accessibility & contrast

On white

10.47
#55238C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #55238C
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##55238C#FFFFFF#000000##FFFFFF
##55238C1.0010.472.0110.47
#FFFFFF10.471.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.471.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #55238c;
/* rgb */ color: rgb(85, 35, 140);
/* oklch */ color: oklch(38.9% 0.163 300.6);
Tailwind
colors: {
  custom: {
    50: '#8a63ae',
    500: '#55238c',
    950: '#000000',
  },
}
SCSS
$custom: #55238c;
$custom-light: #8a63ae;
$custom-dark: #000000;
JSON
{
  "hex": "#55238c",
  "rgb": {
    "r": 85,
    "g": 35,
    "b": 140
  },
  "hsl": {
    "h": 268.571,
    "s": 60,
    "l": 34.314
  },
  "oklch": {
    "l": 0.38878,
    "c": 0.16294,
    "h": 300.6
  },
  "luminance": 0.05027
}

Semantic roles & 50–950 ramp

primary
#55238C
secondary
#88B852
accent
#E34598
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0510
muted
#7D7A7F

Preview Lab

Preview with #55238C

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

Preview Lab → · Contrast checker → · Palette generator →

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