#5538DD#5538DD

#5538DD is a mid, highly saturated violet. Relative luminance 0.100; OKLCH L 48.9% C 0.233 H 281.4°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#5538DD
RGBrgb(85, 56, 221)
HSLhsl(251, 71%, 54%)
HSVhsv(251, 75%, 87%)
CMYKcmyk(61.5%, 74.7%, 0%, 13.3%)
CIE-LABlab(37.80, 56.32, -79.32)
CIE-LCHlch(37.80, 97.28, 305.37°)
OKLaboklab(48.87% 0.0463 -0.2288)
OKLCHoklch(48.87% 0.233 281.4)
XYZxyz(18.2075, 9.9788, 69.3592)
Luminance0.0998 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5538DD #C0DD38
analogous
#386EDD #5538DD #A738DD
triadic
#5538DD #DD5538 #38DD55
tetradic
#5538DD #DD386E #C0DD38 #38DDA7
square
#5538DD #DD386E #C0DD38 #38DDA7
split-complementary
#5538DD #DDA738 #6EDD38
monochromatic
#2A1784 #3A1FB8 #5538DD #826CE6 #AEA1EF

Accessibility & contrast

On white

7.01
#5538DD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#5538DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5538DD#FFFFFF#000000##FFFFFF
##5538DD1.007.013.007.01
#FFFFFF7.011.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FE2
Deuteranopia (green-blind)
#0053DA
Tritanopia (blue-blind)
#006788
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #5538dd;
/* rgb */ color: rgb(85, 56, 221);
/* oklch */ color: oklch(48.9% 0.233 281.4);
Tailwind
colors: {
  custom: {
    50: '#9572e9',
    500: '#5538dd',
    950: '#000000',
  },
}
SCSS
$custom: #5538dd;
$custom-light: #9572e9;
$custom-dark: #000000;
JSON
{
  "hex": "#5538dd",
  "rgb": {
    "r": 85,
    "g": 56,
    "b": 221
  },
  "hsl": {
    "h": 250.545,
    "s": 70.815,
    "l": 54.314
  },
  "oklch": {
    "l": 0.4887,
    "c": 0.23344,
    "h": 281.4
  },
  "luminance": 0.0998
}

Semantic roles & 50–950 ramp

primary
#5538DD
secondary
#CFDB95
accent
#EE3ACE
background
#FAF7FE
surface
#F3EDFD
border
#CDC8D5
text
#0F0816
muted
#7F7B84

Preview Lab

Preview with #5538DD

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

Preview Lab → · Contrast checker → · Palette generator →

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