#55238E#55238E

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

Color values

HEX#55238E
RGBrgb(85, 35, 142)
HSLhsl(268, 60%, 35%)
HSVhsv(268, 75%, 56%)
CMYKcmyk(40.1%, 75.4%, 0%, 44.3%)
CIE-LABlab(26.98, 44.55, -50.11)
CIE-LCHlch(26.98, 67.05, 311.64°)
OKLaboklab(39.05% 0.0825 -0.1431)
OKLCHoklch(39.05% 0.165 300)
XYZxyz(9.2286, 5.0863, 26.0815)
Luminance0.0509 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#55238E #5C8E23
analogous
#23278E #55238E #8A238E
triadic
#55238E #8E5523 #238E55
tetradic
#55238E #8E2327 #5C8E23 #238E8A
square
#55238E #8E2327 #5C8E23 #238E8A
split-complementary
#55238E #8E8A23 #278E23
monochromatic
#1A0B2C #38175D #55238E #722FBF #9256D5

Accessibility & contrast

On white

10.41
#55238E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#55238E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #55238E
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##55238E#FFFFFF#000000##FFFFFF
##55238E1.0010.412.0210.41
#FFFFFF10.411.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F91
Deuteranopia (green-blind)
#003F8C
Tritanopia (blue-blind)
#483E57
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #55238e;
/* rgb */ color: rgb(85, 35, 142);
/* oklch */ color: oklch(39.0% 0.165 300.0);
Tailwind
colors: {
  custom: {
    50: '#8a63b0',
    500: '#55238e',
    950: '#000000',
  },
}
SCSS
$custom: #55238e;
$custom-light: #8a63b0;
$custom-dark: #000000;
JSON
{
  "hex": "#55238e",
  "rgb": {
    "r": 85,
    "g": 35,
    "b": 142
  },
  "hsl": {
    "h": 268.037,
    "s": 60.452,
    "l": 34.706
  },
  "oklch": {
    "l": 0.39049,
    "c": 0.16516,
    "h": 300
  },
  "luminance": 0.05086
}

Semantic roles & 50–950 ramp

primary
#55238E
secondary
#8AB953
accent
#E44499
background
#F8F6FA
surface
#F0EBF5
border
#CBC6CF
text
#0C0511
muted
#7D7A80

Preview Lab

Preview with #55238E

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

Preview Lab → · Contrast checker → · Palette generator →

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