#551982#551982

#551982 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 37.0% C 0.163 H 305.4°. Best body text is #FFFFFF at 11.37:1 contrast (WCAG AA passes).

Color values

HEX#551982
RGBrgb(85, 25, 130)
HSLhsl(274, 68%, 30%)
HSVhsv(274, 81%, 51%)
CMYKcmyk(34.6%, 80.8%, 0%, 49%)
CIE-LABlab(24.44, 45.91, -46.74)
CIE-LCHlch(24.44, 65.51, 314.48°)
OKLaboklab(36.95% 0.0947 -0.1331)
OKLCHoklch(36.95% 0.163 305.4)
XYZxyz(8.1223, 4.2383, 21.5049)
Luminance0.0424 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#551982 #468219
analogous
#211982 #551982 #82197A
triadic
#551982 #825519 #198255
tetradic
#551982 #822119 #468219 #197A82
square
#551982 #822119 #468219 #197A82
split-complementary
#551982 #7A8219 #198221
monochromatic
#12051B #330F4F #551982 #7723B5 #963CD9

Accessibility & contrast

On white

11.37
#551982 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#551982 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #551982
11.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##551982#FFFFFF#000000##FFFFFF
##5519821.0011.371.8511.37
#FFFFFF11.371.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003885
Deuteranopia (green-blind)
#003A80
Tritanopia (blue-blind)
#4D344D
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #551982;
/* rgb */ color: rgb(85, 25, 130);
/* oklch */ color: oklch(37.0% 0.163 305.4);
Tailwind
colors: {
  custom: {
    50: '#8a5ea7',
    500: '#551982',
    950: '#000000',
  },
}
SCSS
$custom: #551982;
$custom-light: #8a5ea7;
$custom-dark: #000000;
JSON
{
  "hex": "#551982",
  "rgb": {
    "r": 85,
    "g": 25,
    "b": 130
  },
  "hsl": {
    "h": 274.286,
    "s": 67.742,
    "l": 30.392
  },
  "oklch": {
    "l": 0.36951,
    "c": 0.16338,
    "h": 305.4
  },
  "luminance": 0.04238
}

Semantic roles & 50–950 ramp

primary
#551982
secondary
#73B641
accent
#EB3D88
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #551982

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

Preview Lab → · Contrast checker → · Palette generator →

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