#5735AB#5735AB

#5735AB is a dark, vivid violet. Relative luminance 0.075; OKLCH L 44.1% C 0.178 H 290.4°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#5735AB
RGBrgb(87, 53, 171)
HSLhsl(257, 53%, 44%)
HSVhsv(257, 69%, 67%)
CMYKcmyk(49.1%, 69%, 0%, 32.9%)
CIE-LABlab(32.95, 43.65, -58.02)
CIE-LCHlch(32.95, 72.61, 306.95°)
OKLaboklab(44.1% 0.062 -0.1663)
OKLCHoklch(44.1% 0.178 290.4)
XYZxyz(12.5522, 7.5122, 39.3088)
Luminance0.0751 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5735AB #89AB35
analogous
#354EAB #5735AB #9235AB
triadic
#5735AB #AB5735 #35AB57
tetradic
#5735AB #AB354E #89AB35 #35AB92
square
#5735AB #AB354E #89AB35 #35AB92
split-complementary
#5735AB #AB9235 #4EAB35
monochromatic
#27184E #3F277C #5735AB #7653CA #9B82D8

Accessibility & contrast

On white

8.39
#5735AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#5735AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5735AB
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5735AB#FFFFFF#000000##FFFFFF
##5735AB1.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050AF
Deuteranopia (green-blind)
#004BA9
Tritanopia (blue-blind)
#3B536C
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #5735ab;
/* rgb */ color: rgb(87, 53, 171);
/* oklch */ color: oklch(44.1% 0.178 290.4);
Tailwind
colors: {
  custom: {
    50: '#8e6fc5',
    500: '#5735ab',
    950: '#000000',
  },
}
SCSS
$custom: #5735ab;
$custom-light: #8e6fc5;
$custom-dark: #000000;
JSON
{
  "hex": "#5735ab",
  "rgb": {
    "r": 87,
    "g": 53,
    "b": 171
  },
  "hsl": {
    "h": 257.288,
    "s": 52.679,
    "l": 43.922
  },
  "oklch": {
    "l": 0.441,
    "c": 0.17754,
    "h": 290.4
  },
  "luminance": 0.07513
}

Semantic roles & 50–950 ramp

primary
#5735AB
secondary
#ADC27A
accent
#DC4CB2
background
#F9F6FC
surface
#F1ECF8
border
#CBC7D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #5735AB

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

Preview Lab → · Contrast checker → · Palette generator →

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