#5730A3#5730A3

#5730A3 is a dark, vivid violet. Relative luminance 0.068; OKLCH L 42.7% C 0.174 H 293.1°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#5730A3
RGBrgb(87, 48, 163)
HSLhsl(260, 55%, 41%)
HSVhsv(260, 71%, 64%)
CMYKcmyk(46.6%, 70.6%, 0%, 36.1%)
CIE-LABlab(31.31, 44.07, -55.88)
CIE-LCHlch(31.31, 71.16, 308.26°)
OKLaboklab(42.73% 0.0683 -0.16)
OKLCHoklch(42.73% 0.174 293.1)
XYZxyz(11.5965, 6.7841, 35.3417)
Luminance0.0678 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5730A3 #7CA330
analogous
#3043A3 #5730A3 #9130A3
triadic
#5730A3 #A35730 #30A357
tetradic
#5730A3 #A33043 #7CA330 #30A391
square
#5730A3 #A33043 #7CA330 #30A391
split-complementary
#5730A3 #A39130 #43A330
monochromatic
#251444 #3E2274 #5730A3 #7347C9 #9777D7

Accessibility & contrast

On white

8.91
#5730A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#5730A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5730A3#FFFFFF#000000##FFFFFF
##5730A31.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA6
Deuteranopia (green-blind)
#0048A1
Tritanopia (blue-blind)
#404D66
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #5730a3;
/* rgb */ color: rgb(87, 48, 163);
/* oklch */ color: oklch(42.7% 0.174 293.1);
Tailwind
colors: {
  custom: {
    50: '#8d6bbf',
    500: '#5730a3',
    950: '#000000',
  },
}
SCSS
$custom: #5730a3;
$custom-light: #8d6bbf;
$custom-dark: #000000;
JSON
{
  "hex": "#5730a3",
  "rgb": {
    "r": 87,
    "g": 48,
    "b": 163
  },
  "hsl": {
    "h": 260.348,
    "s": 54.502,
    "l": 41.373
  },
  "oklch": {
    "l": 0.42725,
    "c": 0.17402,
    "h": 293.1
  },
  "luminance": 0.06784
}

Semantic roles & 50–950 ramp

primary
#5730A3
secondary
#A4BF70
accent
#DE4AAC
background
#F9F6FB
surface
#F1EBF7
border
#CBC6D0
text
#0D0712
muted
#7E7A81

Preview Lab

Preview with #5730A3

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

Preview Lab → · Contrast checker → · Palette generator →

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