#5539B2#5539B2

#5539B2 is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.1% C 0.181 H 287.4°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#5539B2
RGBrgb(85, 57, 178)
HSLhsl(254, 51%, 46%)
HSVhsv(254, 68%, 70%)
CMYKcmyk(52.2%, 68%, 0%, 30.2%)
CIE-LABlab(34.13, 43.13, -60.27)
CIE-LCHlch(34.13, 74.11, 305.59°)
OKLaboklab(45.08% 0.0542 -0.173)
OKLCHoklch(45.08% 0.181 287.4)
XYZxyz(13.2430, 8.0713, 42.9710)
Luminance0.0807 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5539B2 #96B239
analogous
#3959B2 #5539B2 #9139B2
triadic
#5539B2 #B25539 #39B255
tetradic
#5539B2 #B23959 #96B239 #39B291
square
#5539B2 #B23959 #96B239 #39B291
split-complementary
#5539B2 #B29139 #59B239
monochromatic
#291B55 #3F2A84 #5539B2 #775DCB #9E8BDA

Accessibility & contrast

On white

8.03
#5539B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#5539B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5539B2
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5539B2#FFFFFF#000000##FFFFFF
##5539B21.008.032.618.03
#FFFFFF8.031.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B6
Deuteranopia (green-blind)
#004DB0
Tritanopia (blue-blind)
#325871
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #5539b2;
/* rgb */ color: rgb(85, 57, 178);
/* oklch */ color: oklch(45.1% 0.181 287.4);
Tailwind
colors: {
  custom: {
    50: '#8e71ca',
    500: '#5539b2',
    950: '#000000',
  },
}
SCSS
$custom: #5539b2;
$custom-light: #8e71ca;
$custom-dark: #000000;
JSON
{
  "hex": "#5539b2",
  "rgb": {
    "r": 85,
    "g": 57,
    "b": 178
  },
  "hsl": {
    "h": 253.884,
    "s": 51.489,
    "l": 46.078
  },
  "oklch": {
    "l": 0.45083,
    "c": 0.18132,
    "h": 287.4
  },
  "luminance": 0.08072
}

Semantic roles & 50–950 ramp

primary
#5539B2
secondary
#B5C482
accent
#DB4DBA
background
#F9F6FC
surface
#F1ECF8
border
#CBC7D1
text
#0D0813
muted
#7E7B82

Preview Lab

Preview with #5539B2

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

Preview Lab → · Contrast checker → · Palette generator →

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