#55337E#55337E

#55337E is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.1% C 0.123 H 302.0°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#55337E
RGBrgb(85, 51, 126)
HSLhsl(267, 42%, 35%)
HSVhsv(267, 60%, 49%)
CMYKcmyk(32.5%, 59.5%, 0%, 50.6%)
CIE-LABlab(28.92, 31.69, -37.00)
CIE-LCHlch(28.92, 48.71, 310.58°)
OKLaboklab(40.06% 0.0655 -0.1046)
OKLCHoklch(40.06% 0.123 302)
XYZxyz(8.6952, 5.8053, 20.3971)
Luminance0.0580 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#55337E #5C7E33
analogous
#33377E #55337E #7B337E
triadic
#55337E #7E5533 #337E55
tetradic
#55337E #7E3337 #5C7E33 #337E7B
square
#55337E #7E3337 #5C7E33 #337E7B
split-complementary
#55337E #7E7B33 #377E33
monochromatic
#1A1027 #382152 #55337E #7245AA #9269C2

Accessibility & contrast

On white

9.72
#55337E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#55337E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #55337E
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##55337E#FFFFFF#000000##FFFFFF
##55337E1.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#124480
Deuteranopia (green-blind)
#20447C
Tritanopia (blue-blind)
#4D4253
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #55337e;
/* rgb */ color: rgb(85, 51, 126);
/* oklch */ color: oklch(40.1% 0.123 302.0);
Tailwind
colors: {
  custom: {
    50: '#886ca4',
    500: '#55337e',
    950: '#000000',
  },
}
SCSS
$custom: #55337e;
$custom-light: #886ca4;
$custom-dark: #000000;
JSON
{
  "hex": "#55337e",
  "rgb": {
    "r": 85,
    "g": 51,
    "b": 126
  },
  "hsl": {
    "h": 267.2,
    "s": 42.373,
    "l": 34.706
  },
  "oklch": {
    "l": 0.40063,
    "c": 0.12341,
    "h": 302
  },
  "luminance": 0.05805
}

Semantic roles & 50–950 ramp

primary
#55337E
secondary
#8AAA63
accent
#D2569A
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C070F
muted
#7D7A7F

Preview Lab

Preview with #55337E

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

Preview Lab → · Contrast checker → · Palette generator →

#55337E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva