#55237B#55237B

#55237B is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.5% C 0.144 H 306.7°. Best body text is #FFFFFF at 10.98:1 contrast (WCAG AA passes).

Color values

HEX#55237B
RGBrgb(85, 35, 123)
HSLhsl(274, 56%, 31%)
HSVhsv(274, 72%, 48%)
CMYKcmyk(30.9%, 71.5%, 0%, 51.8%)
CIE-LABlab(25.45, 39.73, -40.68)
CIE-LCHlch(25.45, 56.86, 314.32°)
OKLaboklab(37.49% 0.086 -0.1154)
OKLCHoklch(37.49% 0.144 306.7)
XYZxyz(7.9217, 4.5635, 19.1986)
Luminance0.0456 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#55237B #497B23
analogous
#29237B #55237B #7B2375
triadic
#55237B #7B5523 #237B55
tetradic
#55237B #7B2923 #497B23 #23757B
square
#55237B #7B2923 #497B23 #23757B
split-complementary
#55237B #757B23 #237B29
monochromatic
#13081C #34154B #55237B #7631AB #954CCC

Accessibility & contrast

On white

10.98
#55237B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#55237B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #55237B
10.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##55237B#FFFFFF#000000##FFFFFF
##55237B1.0010.981.9110.98
#FFFFFF10.981.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B7E
Deuteranopia (green-blind)
#093D79
Tritanopia (blue-blind)
#4F374C
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #55237b;
/* rgb */ color: rgb(85, 35, 123);
/* oklch */ color: oklch(37.5% 0.144 306.7);
Tailwind
colors: {
  custom: {
    50: '#8962a2',
    500: '#55237b',
    950: '#000000',
  },
}
SCSS
$custom: #55237b;
$custom-light: #8962a2;
$custom-dark: #000000;
JSON
{
  "hex": "#55237b",
  "rgb": {
    "r": 85,
    "g": 35,
    "b": 123
  },
  "hsl": {
    "h": 274.091,
    "s": 55.696,
    "l": 30.98
  },
  "oklch": {
    "l": 0.37487,
    "c": 0.14391,
    "h": 306.7
  },
  "luminance": 0.04563
}

Semantic roles & 50–950 ramp

primary
#55237B
secondary
#76AE4C
accent
#DF498A
background
#F8F6FA
surface
#F0EBF3
border
#CBC6CD
text
#0C050F
muted
#7D7A7F

Preview Lab

Preview with #55237B

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

Preview Lab → · Contrast checker → · Palette generator →

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