#55237E#55237E

#55237E is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.7% C 0.147 H 305.5°. Best body text is #FFFFFF at 10.89:1 contrast (WCAG AA passes).

Color values

HEX#55237E
RGBrgb(85, 35, 126)
HSLhsl(273, 57%, 32%)
HSVhsv(273, 72%, 49%)
CMYKcmyk(32.5%, 72.2%, 0%, 50.6%)
CIE-LABlab(25.68, 40.48, -42.21)
CIE-LCHlch(25.68, 58.48, 313.80°)
OKLaboklab(37.72% 0.0856 -0.1199)
OKLCHoklch(37.72% 0.147 305.5)
XYZxyz(8.1124, 4.6398, 20.2028)
Luminance0.0464 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#55237E #4C7E23
analogous
#28237E #55237E #7E237A
triadic
#55237E #7E5523 #237E55
tetradic
#55237E #7E2823 #4C7E23 #237A7E
square
#55237E #7E2823 #4C7E23 #237A7E
split-complementary
#55237E #7A7E23 #237E28
monochromatic
#14081E #35164E #55237E #7530AE #944ECE

Accessibility & contrast

On white

10.89
#55237E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#55237E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #55237E
10.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##55237E#FFFFFF#000000##FFFFFF
##55237E1.0010.891.9310.89
#FFFFFF10.891.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B81
Deuteranopia (green-blind)
#013D7C
Tritanopia (blue-blind)
#4E384E
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #55237e;
/* rgb */ color: rgb(85, 35, 126);
/* oklch */ color: oklch(37.7% 0.147 305.5);
Tailwind
colors: {
  custom: {
    50: '#8962a4',
    500: '#55237e',
    950: '#000000',
  },
}
SCSS
$custom: #55237e;
$custom-light: #8962a4;
$custom-dark: #000000;
JSON
{
  "hex": "#55237e",
  "rgb": {
    "r": 85,
    "g": 35,
    "b": 126
  },
  "hsl": {
    "h": 272.967,
    "s": 56.522,
    "l": 31.569
  },
  "oklch": {
    "l": 0.37724,
    "c": 0.14728,
    "h": 305.5
  },
  "luminance": 0.0464
}

Semantic roles & 50–950 ramp

primary
#55237E
secondary
#79B04C
accent
#E0488C
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C050F
muted
#7D7A7F

Preview Lab

Preview with #55237E

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

Preview Lab → · Contrast checker → · Palette generator →

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