#55338F#55338F

#55338F is a dark, vivid violet. Relative luminance 0.063; OKLCH L 41.3% C 0.145 H 296.5°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#55338F
RGBrgb(85, 51, 143)
HSLhsl(262, 47%, 38%)
HSVhsv(262, 64%, 56%)
CMYKcmyk(40.6%, 64.3%, 0%, 43.9%)
CIE-LABlab(30.11, 36.39, -45.64)
CIE-LCHlch(30.11, 58.37, 308.57°)
OKLaboklab(41.32% 0.0648 -0.13)
OKLCHoklch(41.32% 0.145 296.5)
XYZxyz(9.8868, 6.2819, 26.6729)
Luminance0.0628 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#55338F #6D8F33
analogous
#333F8F #55338F #83338F
triadic
#55338F #8F5533 #338F55
tetradic
#55338F #8F333F #6D8F33 #338F83
square
#55338F #8F333F #6D8F33 #338F83
split-complementary
#55338F #8F8333 #3F8F33
monochromatic
#1F1335 #3A2362 #55338F #7043BC #9270CC

Accessibility & contrast

On white

9.31
#55338F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#55338F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #55338F
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##55338F#FFFFFF#000000##FFFFFF
##55338F1.009.312.269.31
#FFFFFF9.311.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004792
Deuteranopia (green-blind)
#00468D
Tritanopia (blue-blind)
#47485C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #55338f;
/* rgb */ color: rgb(85, 51, 143);
/* oklch */ color: oklch(41.3% 0.145 296.5);
Tailwind
colors: {
  custom: {
    50: '#896db0',
    500: '#55338f',
    950: '#000000',
  },
}
SCSS
$custom: #55338f;
$custom-light: #896db0;
$custom-dark: #000000;
JSON
{
  "hex": "#55338f",
  "rgb": {
    "r": 85,
    "g": 51,
    "b": 143
  },
  "hsl": {
    "h": 262.174,
    "s": 47.423,
    "l": 38.039
  },
  "oklch": {
    "l": 0.41317,
    "c": 0.14528,
    "h": 296.5
  },
  "luminance": 0.06282
}

Semantic roles & 50–950 ramp

primary
#55338F
secondary
#99B46A
accent
#D751A5
background
#F8F6FA
surface
#F0EBF5
border
#CBC6CF
text
#0C0711
muted
#7D7A80

Preview Lab

Preview with #55338F

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

Preview Lab → · Contrast checker → · Palette generator →

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