#5535C0#5535C0

#5535C0 is a mid, highly saturated violet. Relative luminance 0.083; OKLCH L 45.8% C 0.203 H 285.8°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#5535C0
RGBrgb(85, 53, 192)
HSLhsl(254, 57%, 48%)
HSVhsv(254, 72%, 75%)
CMYKcmyk(55.7%, 72.4%, 0%, 24.7%)
CIE-LABlab(34.56, 49.41, -67.83)
CIE-LCHlch(34.56, 83.92, 306.07°)
OKLaboklab(45.77% 0.0551 -0.1952)
OKLCHoklch(45.77% 0.203 285.8)
XYZxyz(14.5310, 8.2824, 50.6919)
Luminance0.0828 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5535C0 #A0C035
analogous
#355AC0 #5535C0 #9A35C0
triadic
#5535C0 #C05535 #35C055
tetradic
#5535C0 #C0355A #A0C035 #35C09A
square
#5535C0 #C0355A #A0C035 #35C09A
split-complementary
#5535C0 #C09A35 #5AC035
monochromatic
#2B1B60 #402890 #5535C0 #7A5FD3 #A28FE0

Accessibility & contrast

On white

7.90
#5535C0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#5535C0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5535C0
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5535C0#FFFFFF#000000##FFFFFF
##5535C01.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C4
Deuteranopia (green-blind)
#004DBD
Tritanopia (blue-blind)
#235B77
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #5535c0;
/* rgb */ color: rgb(85, 53, 192);
/* oklch */ color: oklch(45.8% 0.203 285.8);
Tailwind
colors: {
  custom: {
    50: '#906fd4',
    500: '#5535c0',
    950: '#000000',
  },
}
SCSS
$custom: #5535c0;
$custom-light: #906fd4;
$custom-dark: #000000;
JSON
{
  "hex": "#5535c0",
  "rgb": {
    "r": 85,
    "g": 53,
    "b": 192
  },
  "hsl": {
    "h": 253.813,
    "s": 56.735,
    "l": 48.039
  },
  "oklch": {
    "l": 0.45765,
    "c": 0.20281,
    "h": 285.8
  },
  "luminance": 0.08283
}

Semantic roles & 50–950 ramp

primary
#5535C0
secondary
#BBCB86
accent
#E048BD
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #5535C0

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

Preview Lab → · Contrast checker → · Palette generator →

#5535C0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva