#55187D#55187D

#55187D is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.4% C 0.159 H 307.4°. Best body text is #FFFFFF at 11.58:1 contrast (WCAG AA passes).

Color values

HEX#55187D
RGBrgb(85, 24, 125)
HSLhsl(276, 68%, 29%)
HSVhsv(276, 81%, 49%)
CMYKcmyk(32%, 80.8%, 0%, 51%)
CIE-LABlab(23.89, 45.11, -44.49)
CIE-LCHlch(23.89, 63.36, 315.40°)
OKLaboklab(36.43% 0.0969 -0.1265)
OKLCHoklch(36.43% 0.159 307.4)
XYZxyz(7.7738, 4.0653, 19.7732)
Luminance0.0406 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#55187D #407D18
analogous
#23187D #55187D #7D1873
triadic
#55187D #7D5518 #187D55
tetradic
#55187D #7D2318 #407D18 #18737D
square
#55187D #7D2318 #407D18 #18737D
split-complementary
#55187D #737D18 #187D23
monochromatic
#11051A #320E4A #55187D #7822B0 #9937D9

Accessibility & contrast

On white

11.58
#55187D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#55187D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #55187D
11.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##55187D#FFFFFF#000000##FFFFFF
##55187D1.0011.581.8111.58
#FFFFFF11.581.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003780
Deuteranopia (green-blind)
#00397B
Tritanopia (blue-blind)
#4E324A
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #55187d;
/* rgb */ color: rgb(85, 24, 125);
/* oklch */ color: oklch(36.4% 0.159 307.4);
Tailwind
colors: {
  custom: {
    50: '#895da3',
    500: '#55187d',
    950: '#000000',
  },
}
SCSS
$custom: #55187d;
$custom-light: #895da3;
$custom-dark: #000000;
JSON
{
  "hex": "#55187d",
  "rgb": {
    "r": 85,
    "g": 24,
    "b": 125
  },
  "hsl": {
    "h": 276.238,
    "s": 67.785,
    "l": 29.216
  },
  "oklch": {
    "l": 0.36429,
    "c": 0.15934,
    "h": 307.4
  },
  "luminance": 0.04065
}

Semantic roles & 50–950 ramp

primary
#55187D
secondary
#6DB23F
accent
#EB3D82
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C040F
muted
#7D797F

Preview Lab

Preview with #55187D

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

Preview Lab → · Contrast checker → · Palette generator →

#55187D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva