#5538CE#5538CE

#5538CE is a mid, highly saturated violet. Relative luminance 0.092; OKLCH L 47.4% C 0.216 H 283.3°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#5538CE
RGBrgb(85, 56, 206)
HSLhsl(252, 60%, 51%)
HSVhsv(252, 73%, 81%)
CMYKcmyk(58.7%, 72.8%, 0%, 19.2%)
CIE-LABlab(36.39, 51.94, -72.99)
CIE-LCHlch(36.39, 89.59, 305.43°)
OKLaboklab(47.45% 0.0497 -0.2103)
OKLCHoklch(47.45% 0.216 283.3)
XYZxyz(16.2976, 9.2148, 59.3004)
Luminance0.0922 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5538CE #B1CE38
analogous
#3866CE #5538CE #A038CE
triadic
#5538CE #CE5538 #38CE55
tetradic
#5538CE #CE3866 #B1CE38 #38CEA0
square
#5538CE #CE3866 #B1CE38 #38CEA0
split-complementary
#5538CE #CEA038 #66CE38
monochromatic
#2C1C70 #3F28A1 #5538CE #7F69DA #A99AE6

Accessibility & contrast

On white

7.39
#5538CE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#5538CE on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5538CE#FFFFFF#000000##FFFFFF
##5538CE1.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AD2
Deuteranopia (green-blind)
#0051CB
Tritanopia (blue-blind)
#026180
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #5538ce;
/* rgb */ color: rgb(85, 56, 206);
/* oklch */ color: oklch(47.4% 0.216 283.3);
Tailwind
colors: {
  custom: {
    50: '#9272de',
    500: '#5538ce',
    950: '#000000',
  },
}
SCSS
$custom: #5538ce;
$custom-light: #9272de;
$custom-dark: #000000;
JSON
{
  "hex": "#5538ce",
  "rgb": {
    "r": 85,
    "g": 56,
    "b": 206
  },
  "hsl": {
    "h": 251.6,
    "s": 60.484,
    "l": 51.373
  },
  "oklch": {
    "l": 0.4745,
    "c": 0.21612,
    "h": 283.3
  },
  "luminance": 0.09216
}

Semantic roles & 50–950 ramp

primary
#5538CE
secondary
#C5D290
accent
#E444C5
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #5538CE

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

Preview Lab → · Contrast checker → · Palette generator →

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