#554287#554287

#554287 is a dark, moderate violet. Relative luminance 0.076; OKLCH L 43.3% C 0.111 H 294.0°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#554287
RGBrgb(85, 66, 135)
HSLhsl(257, 34%, 39%)
HSVhsv(257, 51%, 53%)
CMYKcmyk(37%, 51.1%, 0%, 47.1%)
CIE-LABlab(33.09, 24.99, -35.93)
CIE-LCHlch(33.09, 43.77, 304.82°)
OKLaboklab(43.34% 0.0451 -0.1015)
OKLCHoklch(43.34% 0.111 294)
XYZxyz(10.0666, 7.5768, 23.8491)
Luminance0.0758 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#554287 #748742
analogous
#425287 #554287 #784287
triadic
#554287 #875542 #428755
tetradic
#554287 #874252 #748742 #428778
square
#554287 #874252 #748742 #428778
split-complementary
#554287 #877842 #528742
monochromatic
#211A35 #3B2E5E #554287 #7059AE #9382C2

Accessibility & contrast

On white

8.35
#554287 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#554287 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #554287
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##554287#FFFFFF#000000##FFFFFF
##5542871.008.352.528.35
#FFFFFF8.351.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284F89
Deuteranopia (green-blind)
#2C4D85
Tritanopia (blue-blind)
#49505E
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #554287;
/* rgb */ color: rgb(85, 66, 135);
/* oklch */ color: oklch(43.3% 0.111 294.0);
Tailwind
colors: {
  custom: {
    50: '#8877aa',
    500: '#554287',
    950: '#000000',
  },
}
SCSS
$custom: #554287;
$custom-light: #8877aa;
$custom-dark: #000000;
JSON
{
  "hex": "#554287",
  "rgb": {
    "r": 85,
    "g": 66,
    "b": 135
  },
  "hsl": {
    "h": 256.522,
    "s": 34.328,
    "l": 39.412
  },
  "oklch": {
    "l": 0.43335,
    "c": 0.11108,
    "h": 294
  },
  "luminance": 0.07577
}

Semantic roles & 50–950 ramp

primary
#554287
secondary
#9EAC78
accent
#CA5DAC
background
#F8F7FA
surface
#F0EDF4
border
#CBC8CE
text
#0C0810
muted
#7D7B7F

Preview Lab

Preview with #554287

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

Preview Lab → · Contrast checker → · Palette generator →

#554287 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva