#5539CF#5539CF

#5539CF is a mid, highly saturated violet. Relative luminance 0.094; OKLCH L 47.7% C 0.216 H 283.0°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#5539CF
RGBrgb(85, 57, 207)
HSLhsl(251, 61%, 52%)
HSVhsv(251, 72%, 81%)
CMYKcmyk(58.9%, 72.5%, 0%, 18.8%)
CIE-LABlab(36.67, 51.71, -73.12)
CIE-LCHlch(36.67, 89.56, 305.27°)
OKLaboklab(47.67% 0.0488 -0.2107)
OKLCHoklch(47.67% 0.216 283)
XYZxyz(16.4684, 9.3615, 59.9585)
Luminance0.0936 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5539CF #B3CF39
analogous
#3968CF #5539CF #A039CF
triadic
#5539CF #CF5539 #39CF55
tetradic
#5539CF #CF3968 #B3CF39 #39CFA0
square
#5539CF #CF3968 #B3CF39 #39CFA0
split-complementary
#5539CF #CFA039 #68CF39
monochromatic
#2C1C72 #3F28A3 #5539CF #7F6ADB #AA9CE7

Accessibility & contrast

On white

7.31
#5539CF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#5539CF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5539CF
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5539CF#FFFFFF#000000##FFFFFF
##5539CF1.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BD3
Deuteranopia (green-blind)
#0051CC
Tritanopia (blue-blind)
#006281
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #5539cf;
/* rgb */ color: rgb(85, 57, 207);
/* oklch */ color: oklch(47.7% 0.216 283.0);
Tailwind
colors: {
  custom: {
    50: '#9272df',
    500: '#5539cf',
    950: '#000000',
  },
}
SCSS
$custom: #5539cf;
$custom-light: #9272df;
$custom-dark: #000000;
JSON
{
  "hex": "#5539cf",
  "rgb": {
    "r": 85,
    "g": 57,
    "b": 207
  },
  "hsl": {
    "h": 251.2,
    "s": 60.976,
    "l": 51.765
  },
  "oklch": {
    "l": 0.47674,
    "c": 0.21628,
    "h": 283
  },
  "luminance": 0.09363
}

Semantic roles & 50–950 ramp

primary
#5539CF
secondary
#C7D391
accent
#E444C6
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #5539CF

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

Preview Lab → · Contrast checker → · Palette generator →

#5539CF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva