#5735A2#5735A2

#5735A2 is a dark, vivid violet. Relative luminance 0.072; OKLCH L 43.3% C 0.167 H 292.4°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#5735A2
RGBrgb(87, 53, 162)
HSLhsl(259, 51%, 42%)
HSVhsv(259, 67%, 64%)
CMYKcmyk(46.3%, 67.3%, 0%, 36.5%)
CIE-LABlab(32.21, 41.07, -53.80)
CIE-LCHlch(32.21, 67.68, 307.36°)
OKLaboklab(43.35% 0.0634 -0.154)
OKLCHoklch(43.35% 0.167 292.4)
XYZxyz(11.7234, 7.1807, 34.9437)
Luminance0.0718 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5735A2 #80A235
analogous
#3549A2 #5735A2 #8E35A2
triadic
#5735A2 #A25735 #35A257
tetradic
#5735A2 #A23549 #80A235 #35A28E
square
#5735A2 #A23549 #80A235 #35A28E
split-complementary
#5735A2 #A28E35 #49A235
monochromatic
#251746 #3E2674 #5735A2 #744FC5 #987DD4

Accessibility & contrast

On white

8.62
#5735A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#5735A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5735A2
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5735A2#FFFFFF#000000##FFFFFF
##5735A21.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA5
Deuteranopia (green-blind)
#004AA0
Tritanopia (blue-blind)
#414F67
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #5735a2;
/* rgb */ color: rgb(87, 53, 162);
/* oklch */ color: oklch(43.3% 0.167 292.4);
Tailwind
colors: {
  custom: {
    50: '#8d6ebe',
    500: '#5735a2',
    950: '#000000',
  },
}
SCSS
$custom: #5735a2;
$custom-light: #8d6ebe;
$custom-dark: #000000;
JSON
{
  "hex": "#5735a2",
  "rgb": {
    "r": 87,
    "g": 53,
    "b": 162
  },
  "hsl": {
    "h": 258.716,
    "s": 50.698,
    "l": 42.157
  },
  "oklch": {
    "l": 0.43348,
    "c": 0.1665,
    "h": 292.4
  },
  "luminance": 0.07181
}

Semantic roles & 50–950 ramp

primary
#5735A2
secondary
#A7BD75
accent
#DA4EAE
background
#F9F6FB
surface
#F1ECF7
border
#CBC7D0
text
#0D0712
muted
#7E7A81

Preview Lab

Preview with #5735A2

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

Preview Lab → · Contrast checker → · Palette generator →

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