#55337B#55337B

#55337B is a dark, moderate violet. Relative luminance 0.057; OKLCH L 39.9% C 0.120 H 303.2°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#55337B
RGBrgb(85, 51, 123)
HSLhsl(268, 41%, 34%)
HSVhsv(268, 59%, 48%)
CMYKcmyk(30.9%, 58.5%, 0%, 51.8%)
CIE-LABlab(28.72, 30.88, -35.43)
CIE-LCHlch(28.72, 47.00, 311.08°)
OKLaboklab(39.85% 0.0654 -0.1)
OKLCHoklch(39.85% 0.12 303.2)
XYZxyz(8.5045, 5.7290, 19.3928)
Luminance0.0573 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#55337B #597B33
analogous
#33357B #55337B #79337B
triadic
#55337B #7B5533 #337B55
tetradic
#55337B #7B3335 #597B33 #337B79
square
#55337B #7B3335 #597B33 #337B79
split-complementary
#55337B #7B7933 #357B33
monochromatic
#190F24 #372150 #55337B #7345A6 #9268C0

Accessibility & contrast

On white

9.79
#55337B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#55337B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #55337B
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##55337B#FFFFFF#000000##FFFFFF
##55337B1.009.792.159.79
#FFFFFF9.791.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16437D
Deuteranopia (green-blind)
#234479
Tritanopia (blue-blind)
#4E4152
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #55337b;
/* rgb */ color: rgb(85, 51, 123);
/* oklch */ color: oklch(39.9% 0.120 303.2);
Tailwind
colors: {
  custom: {
    50: '#876ca2',
    500: '#55337b',
    950: '#000000',
  },
}
SCSS
$custom: #55337b;
$custom-light: #876ca2;
$custom-dark: #000000;
JSON
{
  "hex": "#55337b",
  "rgb": {
    "r": 85,
    "g": 51,
    "b": 123
  },
  "hsl": {
    "h": 268.333,
    "s": 41.379,
    "l": 34.118
  },
  "oklch": {
    "l": 0.39854,
    "c": 0.11951,
    "h": 303.2
  },
  "luminance": 0.05729
}

Semantic roles & 50–950 ramp

primary
#55337B
secondary
#87A862
accent
#D15797
background
#F8F6FA
surface
#F0EBF3
border
#CBC6CD
text
#0C070F
muted
#7D7A7F

Preview Lab

Preview with #55337B

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

Preview Lab → · Contrast checker → · Palette generator →

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