#5730C0#5730C0

#5730C0 is a mid, highly saturated violet. Relative luminance 0.079; OKLCH L 45.3% C 0.208 H 287.3°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#5730C0
RGBrgb(87, 48, 192)
HSLhsl(256, 60%, 47%)
HSVhsv(256, 75%, 75%)
CMYKcmyk(54.7%, 75%, 0%, 24.7%)
CIE-LABlab(33.87, 52.21, -68.96)
CIE-LCHlch(33.87, 86.50, 307.13°)
OKLaboklab(45.32% 0.0618 -0.1984)
OKLCHoklch(45.32% 0.208 287.3)
XYZxyz(14.4990, 7.9451, 50.6285)
Luminance0.0795 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5730C0 #99C030
analogous
#3051C0 #5730C0 #9F30C0
triadic
#5730C0 #C05730 #30C057
tetradic
#5730C0 #C03051 #99C030 #30C09F
square
#5730C0 #C03051 #99C030 #30C09F
split-complementary
#5730C0 #C09F30 #51C030
monochromatic
#2B185E #41248F #5730C0 #7A58D5 #A189E1

Accessibility & contrast

On white

8.11
#5730C0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#5730C0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5730C0#FFFFFF#000000##FFFFFF
##5730C01.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C4
Deuteranopia (green-blind)
#004CBD
Tritanopia (blue-blind)
#2A5876
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #5730c0;
/* rgb */ color: rgb(87, 48, 192);
/* oklch */ color: oklch(45.3% 0.208 287.3);
Tailwind
colors: {
  custom: {
    50: '#916dd4',
    500: '#5730c0',
    950: '#000000',
  },
}
SCSS
$custom: #5730c0;
$custom-light: #916dd4;
$custom-dark: #000000;
JSON
{
  "hex": "#5730c0",
  "rgb": {
    "r": 87,
    "g": 48,
    "b": 192
  },
  "hsl": {
    "h": 256.25,
    "s": 60,
    "l": 47.059
  },
  "oklch": {
    "l": 0.45321,
    "c": 0.20783,
    "h": 287.3
  },
  "luminance": 0.07946
}

Semantic roles & 50–950 ramp

primary
#5730C0
secondary
#B7CB80
accent
#E345B8
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #5730C0

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

Preview Lab → · Contrast checker → · Palette generator →

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