#552282#552282

#552282 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 37.9% C 0.153 H 304.2°. Best body text is #FFFFFF at 10.84:1 contrast (WCAG AA passes).

Color values

HEX#552282
RGBrgb(85, 34, 130)
HSLhsl(272, 59%, 32%)
HSVhsv(272, 74%, 51%)
CMYKcmyk(34.6%, 73.8%, 0%, 49%)
CIE-LABlab(25.82, 41.97, -44.50)
CIE-LCHlch(25.82, 61.17, 313.32°)
OKLaboklab(37.92% 0.086 -0.1266)
OKLCHoklch(37.92% 0.153 304.2)
XYZxyz(8.3467, 4.6871, 21.5797)
Luminance0.0469 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552282 #4F8222
analogous
#252282 #552282 #82227F
triadic
#552282 #825522 #228255
tetradic
#552282 #822522 #4F8222 #227F82
square
#552282 #822522 #4F8222 #227F82
split-complementary
#552282 #7F8222 #228225
monochromatic
#160921 #351551 #552282 #752FB3 #934ED1

Accessibility & contrast

On white

10.84
#552282 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#552282 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #552282
10.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552282#FFFFFF#000000##FFFFFF
##5522821.0010.841.9410.84
#FFFFFF10.841.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C85
Deuteranopia (green-blind)
#003D80
Tritanopia (blue-blind)
#4C3950
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #552282;
/* rgb */ color: rgb(85, 34, 130);
/* oklch */ color: oklch(37.9% 0.153 304.2);
Tailwind
colors: {
  custom: {
    50: '#8962a7',
    500: '#552282',
    950: '#000000',
  },
}
SCSS
$custom: #552282;
$custom-light: #8962a7;
$custom-dark: #000000;
JSON
{
  "hex": "#552282",
  "rgb": {
    "r": 85,
    "g": 34,
    "b": 130
  },
  "hsl": {
    "h": 271.875,
    "s": 58.537,
    "l": 32.157
  },
  "oklch": {
    "l": 0.37923,
    "c": 0.15303,
    "h": 304.2
  },
  "luminance": 0.04687
}

Semantic roles & 50–950 ramp

primary
#552282
secondary
#7DB44C
accent
#E2468F
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C050F
muted
#7D7A7F

Preview Lab

Preview with #552282

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

Preview Lab → · Contrast checker → · Palette generator →

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