#5730C9#5730C9

#5730C9 is a mid, highly saturated violet. Relative luminance 0.084; OKLCH L 46.2% C 0.218 H 285.8°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#5730C9
RGBrgb(87, 48, 201)
HSLhsl(255, 61%, 49%)
HSVhsv(255, 76%, 79%)
CMYKcmyk(56.7%, 76.1%, 0%, 21.2%)
CIE-LABlab(34.71, 54.73, -72.84)
CIE-LCHlch(34.71, 91.11, 306.92°)
OKLaboklab(46.17% 0.0595 -0.2098)
OKLCHoklch(46.17% 0.218 285.8)
XYZxyz(15.5269, 8.3563, 56.0418)
Luminance0.0836 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5730C9 #A2C930
analogous
#3056C9 #5730C9 #A430C9
triadic
#5730C9 #C95730 #30C957
tetradic
#5730C9 #C93056 #A2C930 #30C9A4
square
#5730C9 #C93056 #A2C930 #30C9A4
split-complementary
#5730C9 #C9A430 #56C930
monochromatic
#2C1866 #422498 #5730C9 #7D5ED8 #A58FE4

Accessibility & contrast

On white

7.86
#5730C9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#5730C9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5730C9#FFFFFF#000000##FFFFFF
##5730C91.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056CD
Deuteranopia (green-blind)
#004DC6
Tritanopia (blue-blind)
#1E5C7B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #5730c9;
/* rgb */ color: rgb(87, 48, 201);
/* oklch */ color: oklch(46.2% 0.218 285.8);
Tailwind
colors: {
  custom: {
    50: '#936ddb',
    500: '#5730c9',
    950: '#000000',
  },
}
SCSS
$custom: #5730c9;
$custom-light: #936ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#5730c9",
  "rgb": {
    "r": 87,
    "g": 48,
    "b": 201
  },
  "hsl": {
    "h": 255.294,
    "s": 61.446,
    "l": 48.824
  },
  "oklch": {
    "l": 0.4617,
    "c": 0.21803,
    "h": 285.8
  },
  "luminance": 0.08357
}

Semantic roles & 50–950 ramp

primary
#5730C9
secondary
#BCCF86
accent
#E543BB
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #5730C9

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

Preview Lab → · Contrast checker → · Palette generator →

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