#5730AB#5730AB

#5730AB is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.4% C 0.184 H 291.3°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#5730AB
RGBrgb(87, 48, 171)
HSLhsl(259, 56%, 43%)
HSVhsv(259, 72%, 67%)
CMYKcmyk(49.1%, 71.9%, 0%, 32.9%)
CIE-LABlab(31.99, 46.31, -59.58)
CIE-LCHlch(31.99, 75.46, 307.85°)
OKLaboklab(43.42% 0.0668 -0.1709)
OKLCHoklch(43.42% 0.184 291.3)
XYZxyz(12.3360, 7.0800, 39.2368)
Luminance0.0708 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5730AB #84AB30
analogous
#3047AB #5730AB #9430AB
triadic
#5730AB #AB5730 #30AB57
tetradic
#5730AB #AB3047 #84AB30 #30AB94
square
#5730AB #AB3047 #84AB30 #30AB94
split-complementary
#5730AB #AB9430 #47AB30
monochromatic
#26154B #3F237B #5730AB #744CCD #997BDA

Accessibility & contrast

On white

8.69
#5730AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#5730AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5730AB
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5730AB#FFFFFF#000000##FFFFFF
##5730AB1.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAF
Deuteranopia (green-blind)
#0049A9
Tritanopia (blue-blind)
#3C506A
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #5730ab;
/* rgb */ color: rgb(87, 48, 171);
/* oklch */ color: oklch(43.4% 0.184 291.3);
Tailwind
colors: {
  custom: {
    50: '#8e6cc5',
    500: '#5730ab',
    950: '#000000',
  },
}
SCSS
$custom: #5730ab;
$custom-light: #8e6cc5;
$custom-dark: #000000;
JSON
{
  "hex": "#5730ab",
  "rgb": {
    "r": 87,
    "g": 48,
    "b": 171
  },
  "hsl": {
    "h": 259.024,
    "s": 56.164,
    "l": 42.941
  },
  "oklch": {
    "l": 0.43418,
    "c": 0.18351,
    "h": 291.3
  },
  "luminance": 0.0708
}

Semantic roles & 50–950 ramp

primary
#5730AB
secondary
#AAC374
accent
#DF48B0
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #5730AB

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

Preview Lab → · Contrast checker → · Palette generator →

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