#552183#552183

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

Color values

HEX#552183
RGBrgb(85, 33, 131)
HSLhsl(272, 60%, 32%)
HSVhsv(272, 75%, 51%)
CMYKcmyk(35.1%, 74.8%, 0%, 48.6%)
CIE-LABlab(25.74, 42.69, -45.27)
CIE-LCHlch(25.74, 62.22, 313.32°)
OKLaboklab(37.89% 0.0869 -0.1288)
OKLCHoklch(37.89% 0.155 304)
XYZxyz(8.3860, 4.6577, 21.9256)
Luminance0.0466 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#552183 #4F8321
analogous
#242183 #552183 #832180
triadic
#552183 #835521 #218355
tetradic
#552183 #832421 #4F8321 #218083
square
#552183 #832421 #4F8321 #218083
split-complementary
#552183 #808321 #218324
monochromatic
#160821 #351552 #552183 #752DB4 #934CD2

Accessibility & contrast

On white

10.87
#552183 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#552183 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #552183
10.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##552183#FFFFFF#000000##FFFFFF
##5521831.0010.871.9310.87
#FFFFFF10.871.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.871.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #552183;
/* rgb */ color: rgb(85, 33, 131);
/* oklch */ color: oklch(37.9% 0.155 304.0);
Tailwind
colors: {
  custom: {
    50: '#8961a8',
    500: '#552183',
    950: '#000000',
  },
}
SCSS
$custom: #552183;
$custom-light: #8961a8;
$custom-dark: #000000;
JSON
{
  "hex": "#552183",
  "rgb": {
    "r": 85,
    "g": 33,
    "b": 131
  },
  "hsl": {
    "h": 271.837,
    "s": 59.756,
    "l": 32.157
  },
  "oklch": {
    "l": 0.37886,
    "c": 0.15539,
    "h": 304
  },
  "luminance": 0.04658
}

Semantic roles & 50–950 ramp

primary
#552183
secondary
#7DB54B
accent
#E3458F
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #552183

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

Preview Lab → · Contrast checker → · Palette generator →

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