#5735B3#5735B3

#5735B3 is a dark, vivid violet. Relative luminance 0.078; OKLCH L 44.8% C 0.187 H 288.9°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#5735B3
RGBrgb(87, 53, 179)
HSLhsl(256, 54%, 45%)
HSVhsv(256, 70%, 70%)
CMYKcmyk(51.4%, 70.4%, 0%, 29.8%)
CIE-LABlab(33.62, 45.95, -61.69)
CIE-LCHlch(33.62, 76.93, 306.68°)
OKLaboklab(44.79% 0.0606 -0.1771)
OKLCHoklch(44.79% 0.187 288.9)
XYZxyz(13.3379, 7.8265, 43.4470)
Luminance0.0783 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5735B3 #91B335
analogous
#3552B3 #5735B3 #9635B3
triadic
#5735B3 #B35735 #35B357
tetradic
#5735B3 #B33552 #91B335 #35B396
square
#5735B3 #B33552 #91B335 #35B396
split-complementary
#5735B3 #B39635 #52B335
monochromatic
#291955 #402784 #5735B3 #7758CD #9E87DB

Accessibility & contrast

On white

8.19
#5735B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#5735B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5735B3
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5735B3#FFFFFF#000000##FFFFFF
##5735B31.008.192.578.19
#FFFFFF8.191.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B7
Deuteranopia (green-blind)
#004CB1
Tritanopia (blue-blind)
#365670
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #5735b3;
/* rgb */ color: rgb(87, 53, 179);
/* oklch */ color: oklch(44.8% 0.187 288.9);
Tailwind
colors: {
  custom: {
    50: '#8f6fcb',
    500: '#5735b3',
    950: '#000000',
  },
}
SCSS
$custom: #5735b3;
$custom-light: #8f6fcb;
$custom-dark: #000000;
JSON
{
  "hex": "#5735b3",
  "rgb": {
    "r": 87,
    "g": 53,
    "b": 179
  },
  "hsl": {
    "h": 256.19,
    "s": 54.31,
    "l": 45.49
  },
  "oklch": {
    "l": 0.4479,
    "c": 0.18721,
    "h": 288.9
  },
  "luminance": 0.07827
}

Semantic roles & 50–950 ramp

primary
#5735B3
secondary
#B2C57F
accent
#DE4AB6
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #5735B3

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

Preview Lab → · Contrast checker → · Palette generator →

#5735B3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva