#55237C#55237C

#55237C is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.6% C 0.145 H 306.3°. Best body text is #FFFFFF at 10.95:1 contrast (WCAG AA passes).

Color values

HEX#55237C
RGBrgb(85, 35, 124)
HSLhsl(274, 56%, 31%)
HSVhsv(274, 72%, 49%)
CMYKcmyk(31.5%, 71.8%, 0%, 51.4%)
CIE-LABlab(25.53, 39.98, -41.19)
CIE-LCHlch(25.53, 57.40, 314.14°)
OKLaboklab(37.57% 0.0859 -0.1169)
OKLCHoklch(37.57% 0.145 306.3)
XYZxyz(7.9846, 4.5887, 19.5299)
Luminance0.0459 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#55237C #4A7C23
analogous
#28237C #55237C #7C2376
triadic
#55237C #7C5523 #237C55
tetradic
#55237C #7C2823 #4A7C23 #23767C
square
#55237C #7C2823 #4A7C23 #23767C
split-complementary
#55237C #767C23 #237C28
monochromatic
#14081D #34164C #55237C #7630AC #954DCD

Accessibility & contrast

On white

10.95
#55237C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#55237C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #55237C
10.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##55237C#FFFFFF#000000##FFFFFF
##55237C1.0010.951.9210.95
#FFFFFF10.951.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B7F
Deuteranopia (green-blind)
#063D7A
Tritanopia (blue-blind)
#4E374D
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #55237c;
/* rgb */ color: rgb(85, 35, 124);
/* oklch */ color: oklch(37.6% 0.145 306.3);
Tailwind
colors: {
  custom: {
    50: '#8962a3',
    500: '#55237c',
    950: '#000000',
  },
}
SCSS
$custom: #55237c;
$custom-light: #8962a3;
$custom-dark: #000000;
JSON
{
  "hex": "#55237c",
  "rgb": {
    "r": 85,
    "g": 35,
    "b": 124
  },
  "hsl": {
    "h": 273.708,
    "s": 55.975,
    "l": 31.176
  },
  "oklch": {
    "l": 0.37566,
    "c": 0.14503,
    "h": 306.3
  },
  "luminance": 0.04589
}

Semantic roles & 50–950 ramp

primary
#55237C
secondary
#77AF4C
accent
#DF498B
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C050F
muted
#7D7A7F

Preview Lab

Preview with #55237C

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

Preview Lab → · Contrast checker → · Palette generator →

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