#55338D#55338D

#55338D is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.2% C 0.143 H 297.1°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#55338D
RGBrgb(85, 51, 141)
HSLhsl(263, 47%, 38%)
HSVhsv(263, 64%, 55%)
CMYKcmyk(39.7%, 63.8%, 0%, 44.7%)
CIE-LABlab(29.97, 35.82, -44.64)
CIE-LCHlch(29.97, 57.24, 308.75°)
OKLaboklab(41.16% 0.065 -0.1271)
OKLCHoklch(41.16% 0.143 297.1)
XYZxyz(9.7366, 6.2219, 25.8821)
Luminance0.0622 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#55338D #6B8D33
analogous
#333E8D #55338D #82338D
triadic
#55338D #8D5533 #338D55
tetradic
#55338D #8D333E #6B8D33 #338D82
square
#55338D #8D333E #6B8D33 #338D82
split-complementary
#55338D #8D8233 #3E8D33
monochromatic
#1F1233 #3A2360 #55338D #7043BA #926FCB

Accessibility & contrast

On white

9.36
#55338D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #55338D
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##55338D#FFFFFF#000000##FFFFFF
##55338D1.009.362.249.36
#FFFFFF9.361.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004790
Deuteranopia (green-blind)
#04458B
Tritanopia (blue-blind)
#47475B
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #55338d;
/* rgb */ color: rgb(85, 51, 141);
/* oklch */ color: oklch(41.2% 0.143 297.1);
Tailwind
colors: {
  custom: {
    50: '#896caf',
    500: '#55338d',
    950: '#000000',
  },
}
SCSS
$custom: #55338d;
$custom-light: #896caf;
$custom-dark: #000000;
JSON
{
  "hex": "#55338d",
  "rgb": {
    "r": 85,
    "g": 51,
    "b": 141
  },
  "hsl": {
    "h": 262.667,
    "s": 46.875,
    "l": 37.647
  },
  "oklch": {
    "l": 0.41164,
    "c": 0.14274,
    "h": 297.1
  },
  "luminance": 0.06222
}

Semantic roles & 50–950 ramp

primary
#55338D
secondary
#97B369
accent
#D751A4
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0710
muted
#7D7A7F

Preview Lab

Preview with #55338D

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

Preview Lab → · Contrast checker → · Palette generator →

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