#55338C#55338C

#55338C is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.1% C 0.141 H 297.4°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#55338C
RGBrgb(85, 51, 140)
HSLhsl(263, 47%, 37%)
HSVhsv(263, 64%, 55%)
CMYKcmyk(39.3%, 63.6%, 0%, 45.1%)
CIE-LABlab(29.89, 35.55, -44.14)
CIE-LCHlch(29.89, 56.67, 308.84°)
OKLaboklab(41.09% 0.0651 -0.1256)
OKLCHoklch(41.09% 0.141 297.4)
XYZxyz(9.6626, 6.1922, 25.4920)
Luminance0.0619 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#55338C #6A8C33
analogous
#333E8C #55338C #81338C
triadic
#55338C #8C5533 #338C55
tetradic
#55338C #8C333E #6A8C33 #338C81
square
#55338C #8C333E #6A8C33 #338C81
split-complementary
#55338C #8C8133 #3E8C33
monochromatic
#1F1232 #3A235F #55338C #7043B9 #926FCB

Accessibility & contrast

On white

9.38
#55338C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#55338C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #55338C
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##55338C#FFFFFF#000000##FFFFFF
##55338C1.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00478F
Deuteranopia (green-blind)
#07458A
Tritanopia (blue-blind)
#48475A
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #55338c;
/* rgb */ color: rgb(85, 51, 140);
/* oklch */ color: oklch(41.1% 0.141 297.4);
Tailwind
colors: {
  custom: {
    50: '#896cae',
    500: '#55338c',
    950: '#000000',
  },
}
SCSS
$custom: #55338c;
$custom-light: #896cae;
$custom-dark: #000000;
JSON
{
  "hex": "#55338c",
  "rgb": {
    "r": 85,
    "g": 51,
    "b": 140
  },
  "hsl": {
    "h": 262.921,
    "s": 46.597,
    "l": 37.451
  },
  "oklch": {
    "l": 0.41087,
    "c": 0.14146,
    "h": 297.4
  },
  "luminance": 0.06192
}

Semantic roles & 50–950 ramp

primary
#55338C
secondary
#96B268
accent
#D652A4
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0710
muted
#7D7A7F

Preview Lab

Preview with #55338C

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

Preview Lab → · Contrast checker → · Palette generator →

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