#55238F#55238F

#55238F is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.1% C 0.166 H 299.6°. Best body text is #FFFFFF at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#55238F
RGBrgb(85, 35, 143)
HSLhsl(268, 61%, 35%)
HSVhsv(268, 76%, 56%)
CMYKcmyk(40.6%, 75.5%, 0%, 43.9%)
CIE-LABlab(27.06, 44.81, -50.59)
CIE-LCHlch(27.06, 67.58, 311.54°)
OKLaboklab(39.14% 0.0823 -0.1445)
OKLCHoklch(39.14% 0.166 299.6)
XYZxyz(9.3040, 5.1164, 26.4787)
Luminance0.0512 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#55238F #5D8F23
analogous
#23278F #55238F #8B238F
triadic
#55238F #8F5523 #238F55
tetradic
#55238F #8F2327 #5D8F23 #238F8B
square
#55238F #8F2327 #5D8F23 #238F8B
split-complementary
#55238F #8F8B23 #278F23
monochromatic
#1B0B2D #38175E #55238F #722FC0 #9157D6

Accessibility & contrast

On white

10.38
#55238F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #55238F
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##55238F#FFFFFF#000000##FFFFFF
##55238F1.0010.382.0210.38
#FFFFFF10.381.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004092
Deuteranopia (green-blind)
#003F8D
Tritanopia (blue-blind)
#473F57
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #55238f;
/* rgb */ color: rgb(85, 35, 143);
/* oklch */ color: oklch(39.1% 0.166 299.6);
Tailwind
colors: {
  custom: {
    50: '#8b63b1',
    500: '#55238f',
    950: '#000000',
  },
}
SCSS
$custom: #55238f;
$custom-light: #8b63b1;
$custom-dark: #000000;
JSON
{
  "hex": "#55238f",
  "rgb": {
    "r": 85,
    "g": 35,
    "b": 143
  },
  "hsl": {
    "h": 267.778,
    "s": 60.674,
    "l": 34.902
  },
  "oklch": {
    "l": 0.39136,
    "c": 0.16627,
    "h": 299.6
  },
  "luminance": 0.05117
}

Semantic roles & 50–950 ramp

primary
#55238F
secondary
#8BBA54
accent
#E4449A
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0511
muted
#7D7A80

Preview Lab

Preview with #55238F

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

Preview Lab → · Contrast checker → · Palette generator →

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