#5735AF#5735AF

#5735AF is a dark, vivid violet. Relative luminance 0.077; OKLCH L 44.4% C 0.182 H 289.7°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#5735AF
RGBrgb(87, 53, 175)
HSLhsl(257, 54%, 45%)
HSVhsv(257, 70%, 69%)
CMYKcmyk(50.3%, 69.7%, 0%, 31.4%)
CIE-LABlab(33.28, 44.80, -59.87)
CIE-LCHlch(33.28, 74.77, 306.81°)
OKLaboklab(44.44% 0.0613 -0.1718)
OKLCHoklch(44.44% 0.182 289.7)
XYZxyz(12.9392, 7.6670, 41.3472)
Luminance0.0767 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5735AF #8DAF35
analogous
#3550AF #5735AF #9435AF
triadic
#5735AF #AF5735 #35AF57
tetradic
#5735AF #AF3550 #8DAF35 #35AF94
square
#5735AF #AF3550 #8DAF35 #35AF94
split-complementary
#5735AF #AF9435 #50AF35
monochromatic
#281951 #402780 #5735AF #7656CC #9C85DA

Accessibility & contrast

On white

8.29
#5735AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#5735AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5735AF
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5735AF#FFFFFF#000000##FFFFFF
##5735AF1.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B3
Deuteranopia (green-blind)
#004BAD
Tritanopia (blue-blind)
#39546E
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #5735af;
/* rgb */ color: rgb(87, 53, 175);
/* oklch */ color: oklch(44.4% 0.182 289.7);
Tailwind
colors: {
  custom: {
    50: '#8f6fc8',
    500: '#5735af',
    950: '#000000',
  },
}
SCSS
$custom: #5735af;
$custom-light: #8f6fc8;
$custom-dark: #000000;
JSON
{
  "hex": "#5735af",
  "rgb": {
    "r": 87,
    "g": 53,
    "b": 175
  },
  "hsl": {
    "h": 256.721,
    "s": 53.509,
    "l": 44.706
  },
  "oklch": {
    "l": 0.44443,
    "c": 0.18239,
    "h": 289.7
  },
  "luminance": 0.07668
}

Semantic roles & 50–950 ramp

primary
#5735AF
secondary
#B0C47C
accent
#DD4BB4
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #5735AF

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

Preview Lab → · Contrast checker → · Palette generator →

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