#5730BD#5730BD

#5730BD is a mid, highly saturated violet. Relative luminance 0.078; OKLCH L 45.0% C 0.204 H 287.8°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#5730BD
RGBrgb(87, 48, 189)
HSLhsl(257, 59%, 46%)
HSVhsv(257, 75%, 74%)
CMYKcmyk(54%, 74.6%, 0%, 25.9%)
CIE-LABlab(33.59, 51.37, -67.65)
CIE-LCHlch(33.59, 84.94, 307.21°)
OKLaboklab(45.04% 0.0626 -0.1946)
OKLCHoklch(45.04% 0.204 287.8)
XYZxyz(14.1700, 7.8135, 48.8958)
Luminance0.0781 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5730BD #96BD30
analogous
#304FBD #5730BD #9E30BD
triadic
#5730BD #BD5730 #30BD57
tetradic
#5730BD #BD304F #96BD30 #30BD9E
square
#5730BD #BD304F #96BD30 #30BD9E
split-complementary
#5730BD #BD9E30 #4FBD30
monochromatic
#2A175B #41248C #5730BD #7956D4 #A087E0

Accessibility & contrast

On white

8.19
#5730BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#5730BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5730BD
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5730BD#FFFFFF#000000##FFFFFF
##5730BD1.008.192.568.19
#FFFFFF8.191.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052C1
Deuteranopia (green-blind)
#004BBA
Tritanopia (blue-blind)
#2D5774
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #5730bd;
/* rgb */ color: rgb(87, 48, 189);
/* oklch */ color: oklch(45.0% 0.204 287.8);
Tailwind
colors: {
  custom: {
    50: '#916dd2',
    500: '#5730bd',
    950: '#000000',
  },
}
SCSS
$custom: #5730bd;
$custom-light: #916dd2;
$custom-dark: #000000;
JSON
{
  "hex": "#5730bd",
  "rgb": {
    "r": 87,
    "g": 48,
    "b": 189
  },
  "hsl": {
    "h": 256.596,
    "s": 59.494,
    "l": 46.471
  },
  "oklch": {
    "l": 0.45042,
    "c": 0.2044,
    "h": 287.8
  },
  "luminance": 0.07814
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5730BD

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

Preview Lab → · Contrast checker → · Palette generator →

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