#554688#554688

#554688 is a dark, moderate violet. Relative luminance 0.081; OKLCH L 44.2% C 0.106 H 291.9°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#554688
RGBrgb(85, 70, 136)
HSLhsl(254, 32%, 40%)
HSVhsv(254, 49%, 53%)
CMYKcmyk(37.5%, 48.5%, 0%, 46.7%)
CIE-LABlab(34.17, 22.75, -34.82)
CIE-LCHlch(34.17, 41.60, 303.16°)
OKLaboklab(44.17% 0.0396 -0.0983)
OKLCHoklch(44.17% 0.106 291.9)
XYZxyz(10.3792, 8.0889, 24.3022)
Luminance0.0809 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#554688 #798846
analogous
#465888 #554688 #764688
triadic
#554688 #885546 #468855
tetradic
#554688 #884658 #798846 #468876
square
#554688 #884658 #798846 #468876
split-complementary
#554688 #887646 #588846
monochromatic
#221C37 #3C3160 #554688 #705FAC #9487C1

Accessibility & contrast

On white

8.02
#554688 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#554688 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #554688
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##554688#FFFFFF#000000##FFFFFF
##5546881.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E518A
Deuteranopia (green-blind)
#304F86
Tritanopia (blue-blind)
#485360
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #554688;
/* rgb */ color: rgb(85, 70, 136);
/* oklch */ color: oklch(44.2% 0.106 291.9);
Tailwind
colors: {
  custom: {
    50: '#8779ab',
    500: '#554688',
    950: '#000000',
  },
}
SCSS
$custom: #554688;
$custom-light: #8779ab;
$custom-dark: #000000;
JSON
{
  "hex": "#554688",
  "rgb": {
    "r": 85,
    "g": 70,
    "b": 136
  },
  "hsl": {
    "h": 253.636,
    "s": 32.039,
    "l": 40.392
  },
  "oklch": {
    "l": 0.44166,
    "c": 0.10594,
    "h": 291.9
  },
  "luminance": 0.08089
}

Semantic roles & 50–950 ramp

primary
#554688
secondary
#A2AD7D
accent
#C860B0
background
#F8F7FA
surface
#F0EDF4
border
#CBC8CE
text
#0B0910
muted
#7C7B7F

Preview Lab

Preview with #554688

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

Preview Lab → · Contrast checker → · Palette generator →

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