#55338A#55338A

#55338A is a dark, vivid violet. Relative luminance 0.061; OKLCH L 40.9% C 0.139 H 298.0°. Best body text is #FFFFFF at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#55338A
RGBrgb(85, 51, 138)
HSLhsl(263, 46%, 37%)
HSVhsv(263, 63%, 54%)
CMYKcmyk(38.4%, 63%, 0%, 45.9%)
CIE-LABlab(29.75, 34.99, -43.14)
CIE-LCHlch(29.75, 55.54, 309.04°)
OKLaboklab(40.94% 0.0652 -0.1227)
OKLCHoklch(40.94% 0.139 298)
XYZxyz(9.5164, 6.1338, 24.7224)
Luminance0.0613 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#55338A #688A33
analogous
#333D8A #55338A #81338A
triadic
#55338A #8A5533 #338A55
tetradic
#55338A #8A333D #688A33 #338A81
square
#55338A #8A333D #688A33 #338A81
split-complementary
#55338A #8A8133 #3D8A33
monochromatic
#1E1231 #39225D #55338A #7144B7 #926EC9

Accessibility & contrast

On white

9.43
#55338A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#55338A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #55338A
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##55338A#FFFFFF#000000##FFFFFF
##55338A1.009.432.239.43
#FFFFFF9.431.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468D
Deuteranopia (green-blind)
#0D4588
Tritanopia (blue-blind)
#494659
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #55338a;
/* rgb */ color: rgb(85, 51, 138);
/* oklch */ color: oklch(40.9% 0.139 298.0);
Tailwind
colors: {
  custom: {
    50: '#896cad',
    500: '#55338a',
    950: '#000000',
  },
}
SCSS
$custom: #55338a;
$custom-light: #896cad;
$custom-dark: #000000;
JSON
{
  "hex": "#55338a",
  "rgb": {
    "r": 85,
    "g": 51,
    "b": 138
  },
  "hsl": {
    "h": 263.448,
    "s": 46.032,
    "l": 37.059
  },
  "oklch": {
    "l": 0.40936,
    "c": 0.13891,
    "h": 298
  },
  "luminance": 0.06134
}

Semantic roles & 50–950 ramp

primary
#55338A
secondary
#94B167
accent
#D652A2
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0710
muted
#7D7A7F

Preview Lab

Preview with #55338A

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

Preview Lab → · Contrast checker → · Palette generator →

#55338A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva