#5536D7#5536D7

#5536D7 is a mid, highly saturated violet. Relative luminance 0.095; OKLCH L 48.0% C 0.228 H 282.4°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#5536D7
RGBrgb(85, 54, 215)
HSLhsl(252, 67%, 53%)
HSVhsv(252, 75%, 84%)
CMYKcmyk(60.5%, 74.9%, 0%, 15.7%)
CIE-LABlab(36.88, 55.57, -77.39)
CIE-LCHlch(36.88, 95.27, 305.68°)
OKLaboklab(48.05% 0.049 -0.2232)
OKLCHoklch(48.05% 0.228 282.4)
XYZxyz(17.3274, 9.4747, 65.1925)
Luminance0.0948 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5536D7 #B8D736
analogous
#3667D7 #5536D7 #A636D7
triadic
#5536D7 #D75536 #36D755
tetradic
#5536D7 #D73667 #B8D736 #36D7A6
square
#5536D7 #D73667 #B8D736 #36D7A6
split-complementary
#5536D7 #D7A636 #67D736
monochromatic
#2B187A #3D22AD #5536D7 #8069E1 #AB9CEB

Accessibility & contrast

On white

7.25
#5536D7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#5536D7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5536D7
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5536D7#FFFFFF#000000##FFFFFF
##5536D71.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CDC
Deuteranopia (green-blind)
#0051D4
Tritanopia (blue-blind)
#006484
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #5536d7;
/* rgb */ color: rgb(85, 54, 215);
/* oklch */ color: oklch(48.0% 0.228 282.4);
Tailwind
colors: {
  custom: {
    50: '#9471e5',
    500: '#5536d7',
    950: '#000000',
  },
}
SCSS
$custom: #5536d7;
$custom-light: #9471e5;
$custom-dark: #000000;
JSON
{
  "hex": "#5536d7",
  "rgb": {
    "r": 85,
    "g": 54,
    "b": 215
  },
  "hsl": {
    "h": 251.553,
    "s": 66.805,
    "l": 52.745
  },
  "oklch": {
    "l": 0.48049,
    "c": 0.22847,
    "h": 282.4
  },
  "luminance": 0.09476
}

Semantic roles & 50–950 ramp

primary
#5536D7
secondary
#CAD792
accent
#EA3EC9
background
#F9F7FE
surface
#F2EDFC
border
#CCC8D5
text
#0F0816
muted
#7E7B84

Preview Lab

Preview with #5536D7

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

Preview Lab → · Contrast checker → · Palette generator →

#5536D7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva