#5730C6#5730C6

#5730C6 is a mid, highly saturated violet. Relative luminance 0.082; OKLCH L 45.9% C 0.215 H 286.3°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#5730C6
RGBrgb(87, 48, 198)
HSLhsl(256, 61%, 48%)
HSVhsv(256, 76%, 78%)
CMYKcmyk(56.1%, 75.8%, 0%, 22.4%)
CIE-LABlab(34.43, 53.89, -71.56)
CIE-LCHlch(34.43, 89.58, 306.98°)
OKLaboklab(45.89% 0.0603 -0.206)
OKLCHoklch(45.89% 0.215 286.3)
XYZxyz(15.1774, 8.2165, 54.2013)
Luminance0.0822 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5730C6 #9FC630
analogous
#3054C6 #5730C6 #A230C6
triadic
#5730C6 #C65730 #30C657
tetradic
#5730C6 #C63054 #9FC630 #30C6A2
square
#5730C6 #C63054 #9FC630 #30C6A2
split-complementary
#5730C6 #C6A230 #54C630
monochromatic
#2C1863 #412495 #5730C6 #7C5CD7 #A38DE3

Accessibility & contrast

On white

7.94
#5730C6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#5730C6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5730C6#FFFFFF#000000##FFFFFF
##5730C61.007.942.647.94
#FFFFFF7.941.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055CA
Deuteranopia (green-blind)
#004DC3
Tritanopia (blue-blind)
#235A79
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #5730c6;
/* rgb */ color: rgb(87, 48, 198);
/* oklch */ color: oklch(45.9% 0.215 286.3);
Tailwind
colors: {
  custom: {
    50: '#926dd9',
    500: '#5730c6',
    950: '#000000',
  },
}
SCSS
$custom: #5730c6;
$custom-light: #926dd9;
$custom-dark: #000000;
JSON
{
  "hex": "#5730c6",
  "rgb": {
    "r": 87,
    "g": 48,
    "b": 198
  },
  "hsl": {
    "h": 255.6,
    "s": 60.976,
    "l": 48.235
  },
  "oklch": {
    "l": 0.45885,
    "c": 0.21465,
    "h": 286.3
  },
  "luminance": 0.08217
}

Semantic roles & 50–950 ramp

primary
#5730C6
secondary
#BBCE84
accent
#E444BA
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #5730C6

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

Preview Lab → · Contrast checker → · Palette generator →

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