#5538C3#5538C3

#5538C3 is a mid, highly saturated violet. Relative luminance 0.087; OKLCH L 46.4% C 0.203 H 284.8°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#5538C3
RGBrgb(85, 56, 195)
HSLhsl(253, 55%, 49%)
HSVhsv(253, 71%, 76%)
CMYKcmyk(56.4%, 71.3%, 0%, 23.5%)
CIE-LABlab(35.40, 48.71, -68.22)
CIE-LCHlch(35.40, 83.82, 305.52°)
OKLaboklab(46.44% 0.0521 -0.1963)
OKLCHoklch(46.44% 0.203 284.8)
XYZxyz(15.0078, 8.6989, 52.5074)
Luminance0.0870 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5538C3 #A6C338
analogous
#3861C3 #5538C3 #9B38C3
triadic
#5538C3 #C35538 #38C355
tetradic
#5538C3 #C33861 #A6C338 #38C39B
square
#5538C3 #C33861 #A6C338 #38C39B
split-complementary
#5538C3 #C39B38 #61C338
monochromatic
#2C1D64 #402A93 #5538C3 #7C65D3 #A595E1

Accessibility & contrast

On white

7.66
#5538C3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#5538C3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5538C3#FFFFFF#000000##FFFFFF
##5538C31.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C7
Deuteranopia (green-blind)
#004FC0
Tritanopia (blue-blind)
#1F5D7A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #5538c3;
/* rgb */ color: rgb(85, 56, 195);
/* oklch */ color: oklch(46.4% 0.203 284.8);
Tailwind
colors: {
  custom: {
    50: '#9071d6',
    500: '#5538c3',
    950: '#000000',
  },
}
SCSS
$custom: #5538c3;
$custom-light: #9071d6;
$custom-dark: #000000;
JSON
{
  "hex": "#5538c3",
  "rgb": {
    "r": 85,
    "g": 56,
    "b": 195
  },
  "hsl": {
    "h": 252.518,
    "s": 55.378,
    "l": 49.216
  },
  "oklch": {
    "l": 0.46439,
    "c": 0.20313,
    "h": 284.8
  },
  "luminance": 0.087
}

Semantic roles & 50–950 ramp

primary
#5538C3
secondary
#BECC8B
accent
#DF49BF
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #5538C3

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

Preview Lab → · Contrast checker → · Palette generator →

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