#5730AA#5730AA

#5730AA is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.3% C 0.182 H 291.5°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#5730AA
RGBrgb(87, 48, 170)
HSLhsl(259, 56%, 43%)
HSVhsv(259, 72%, 67%)
CMYKcmyk(48.8%, 71.8%, 0%, 33.3%)
CIE-LABlab(31.90, 46.03, -59.13)
CIE-LCHlch(31.90, 74.93, 307.90°)
OKLaboklab(43.33% 0.067 -0.1696)
OKLCHoklch(43.33% 0.182 291.5)
XYZxyz(12.2411, 7.0420, 38.7367)
Luminance0.0704 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5730AA #83AA30
analogous
#3046AA #5730AA #9430AA
triadic
#5730AA #AA5730 #30AA57
tetradic
#5730AA #AA3046 #83AA30 #30AA94
square
#5730AA #AA3046 #83AA30 #30AA94
split-complementary
#5730AA #AA9430 #46AA30
monochromatic
#26154B #3F237A #5730AA #744BCC #997BDA

Accessibility & contrast

On white

8.72
#5730AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#5730AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5730AA#FFFFFF#000000##FFFFFF
##5730AA1.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAE
Deuteranopia (green-blind)
#0048A8
Tritanopia (blue-blind)
#3C506A
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #5730aa;
/* rgb */ color: rgb(87, 48, 170);
/* oklch */ color: oklch(43.3% 0.182 291.5);
Tailwind
colors: {
  custom: {
    50: '#8e6cc4',
    500: '#5730aa',
    950: '#000000',
  },
}
SCSS
$custom: #5730aa;
$custom-light: #8e6cc4;
$custom-dark: #000000;
JSON
{
  "hex": "#5730aa",
  "rgb": {
    "r": 87,
    "g": 48,
    "b": 170
  },
  "hsl": {
    "h": 259.18,
    "s": 55.963,
    "l": 42.745
  },
  "oklch": {
    "l": 0.4333,
    "c": 0.18232,
    "h": 291.5
  },
  "luminance": 0.07042
}

Semantic roles & 50–950 ramp

primary
#5730AA
secondary
#A9C274
accent
#DF49AF
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #5730AA

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

Preview Lab → · Contrast checker → · Palette generator →

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