#5538AA#5538AA

#5538AA is a dark, vivid violet. Relative luminance 0.077; OKLCH L 44.3% C 0.173 H 289.1°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#5538AA
RGBrgb(85, 56, 170)
HSLhsl(255, 50%, 44%)
HSVhsv(255, 67%, 67%)
CMYKcmyk(50%, 67.1%, 0%, 33.3%)
CIE-LABlab(33.27, 41.33, -56.91)
CIE-LCHlch(33.27, 70.33, 305.99°)
OKLaboklab(44.26% 0.0563 -0.1631)
OKLCHoklch(44.26% 0.173 289.1)
XYZxyz(12.4141, 7.6614, 38.8471)
Luminance0.0766 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5538AA #8DAA38
analogous
#3854AA #5538AA #8E38AA
triadic
#5538AA #AA5538 #38AA55
tetradic
#5538AA #AA3854 #8DAA38 #38AA8E
square
#5538AA #AA3854 #8DAA38 #38AA8E
split-complementary
#5538AA #AA8E38 #54AA38
monochromatic
#271A4E #3E297C #5538AA #7457C8 #9A85D7

Accessibility & contrast

On white

8.29
#5538AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#5538AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5538AA
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5538AA#FFFFFF#000000##FFFFFF
##5538AA1.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051AE
Deuteranopia (green-blind)
#004BA8
Tritanopia (blue-blind)
#38546C
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #5538aa;
/* rgb */ color: rgb(85, 56, 170);
/* oklch */ color: oklch(44.3% 0.173 289.1);
Tailwind
colors: {
  custom: {
    50: '#8d70c4',
    500: '#5538aa',
    950: '#000000',
  },
}
SCSS
$custom: #5538aa;
$custom-light: #8d70c4;
$custom-dark: #000000;
JSON
{
  "hex": "#5538aa",
  "rgb": {
    "r": 85,
    "g": 56,
    "b": 170
  },
  "hsl": {
    "h": 255.263,
    "s": 50.442,
    "l": 44.314
  },
  "oklch": {
    "l": 0.44257,
    "c": 0.1726,
    "h": 289.1
  },
  "luminance": 0.07662
}

Semantic roles & 50–950 ramp

primary
#5538AA
secondary
#B0C17D
accent
#DA4EB6
background
#F9F6FC
surface
#F1ECF8
border
#CBC7D1
text
#0D0813
muted
#7E7B82

Preview Lab

Preview with #5538AA

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

Preview Lab → · Contrast checker → · Palette generator →

#5538AA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva