#5730BC#5730BC

#5730BC is a dark, highly saturated violet. Relative luminance 0.078; OKLCH L 45.0% C 0.203 H 288.0°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#5730BC
RGBrgb(87, 48, 188)
HSLhsl(257, 59%, 46%)
HSVhsv(257, 74%, 74%)
CMYKcmyk(53.7%, 74.5%, 0%, 26.3%)
CIE-LABlab(33.50, 51.09, -67.21)
CIE-LCHlch(33.50, 84.42, 307.24°)
OKLaboklab(44.95% 0.0629 -0.1933)
OKLCHoklch(44.95% 0.203 288)
XYZxyz(14.0619, 7.7703, 48.3261)
Luminance0.0777 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5730BC #95BC30
analogous
#304FBC #5730BC #9D30BC
triadic
#5730BC #BC5730 #30BC57
tetradic
#5730BC #BC304F #95BC30 #30BC9D
square
#5730BC #BC304F #95BC30 #30BC9D
split-complementary
#5730BC #BC9D30 #4FBC30
monochromatic
#2A175A #40248B #5730BC #7955D4 #9F86E0

Accessibility & contrast

On white

8.22
#5730BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#5730BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5730BC
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5730BC#FFFFFF#000000##FFFFFF
##5730BC1.008.222.558.22
#FFFFFF8.221.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052C0
Deuteranopia (green-blind)
#004BB9
Tritanopia (blue-blind)
#2E5774
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #5730bc;
/* rgb */ color: rgb(87, 48, 188);
/* oklch */ color: oklch(45.0% 0.203 288.0);
Tailwind
colors: {
  custom: {
    50: '#916dd1',
    500: '#5730bc',
    950: '#000000',
  },
}
SCSS
$custom: #5730bc;
$custom-light: #916dd1;
$custom-dark: #000000;
JSON
{
  "hex": "#5730bc",
  "rgb": {
    "r": 87,
    "g": 48,
    "b": 188
  },
  "hsl": {
    "h": 256.714,
    "s": 59.322,
    "l": 46.275
  },
  "oklch": {
    "l": 0.4495,
    "c": 0.20326,
    "h": 288
  },
  "luminance": 0.07771
}

Semantic roles & 50–950 ramp

primary
#5730BC
secondary
#B5CA7E
accent
#E345B7
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #5730BC

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

Preview Lab → · Contrast checker → · Palette generator →

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