#5730AE#5730AE

#5730AE is a dark, vivid violet. Relative luminance 0.072; OKLCH L 43.7% C 0.187 H 290.7°. Best body text is #FFFFFF at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#5730AE
RGBrgb(87, 48, 174)
HSLhsl(259, 57%, 44%)
HSVhsv(259, 72%, 68%)
CMYKcmyk(50%, 72.4%, 0%, 31.8%)
CIE-LABlab(32.25, 47.15, -60.95)
CIE-LCHlch(32.25, 77.06, 307.72°)
OKLaboklab(43.68% 0.0661 -0.1749)
OKLCHoklch(43.68% 0.187 290.7)
XYZxyz(12.6252, 7.1956, 40.7599)
Luminance0.0720 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5730AE #87AE30
analogous
#3048AE #5730AE #9630AE
triadic
#5730AE #AE5730 #30AE57
tetradic
#5730AE #AE3048 #87AE30 #30AE96
square
#5730AE #AE3048 #87AE30 #30AE96
split-complementary
#5730AE #AE9630 #48AE30
monochromatic
#27164E #3F237E #5730AE #754DCE #9A7DDB

Accessibility & contrast

On white

8.61
#5730AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#5730AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5730AE#FFFFFF#000000##FFFFFF
##5730AE1.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB2
Deuteranopia (green-blind)
#0049AC
Tritanopia (blue-blind)
#3A516C
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #5730ae;
/* rgb */ color: rgb(87, 48, 174);
/* oklch */ color: oklch(43.7% 0.187 290.7);
Tailwind
colors: {
  custom: {
    50: '#8f6cc7',
    500: '#5730ae',
    950: '#000000',
  },
}
SCSS
$custom: #5730ae;
$custom-light: #8f6cc7;
$custom-dark: #000000;
JSON
{
  "hex": "#5730ae",
  "rgb": {
    "r": 87,
    "g": 48,
    "b": 174
  },
  "hsl": {
    "h": 258.571,
    "s": 56.757,
    "l": 43.529
  },
  "oklch": {
    "l": 0.43682,
    "c": 0.18703,
    "h": 290.7
  },
  "luminance": 0.07196
}

Semantic roles & 50–950 ramp

primary
#5730AE
secondary
#ACC476
accent
#E048B1
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #5730AE

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

Preview Lab → · Contrast checker → · Palette generator →

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