#5730BF#5730BF

#5730BF is a mid, highly saturated violet. Relative luminance 0.079; OKLCH L 45.2% C 0.207 H 287.5°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#5730BF
RGBrgb(87, 48, 191)
HSLhsl(256, 60%, 47%)
HSVhsv(256, 75%, 75%)
CMYKcmyk(54.5%, 74.9%, 0%, 25.1%)
CIE-LABlab(33.78, 51.93, -68.53)
CIE-LCHlch(33.78, 85.98, 307.15°)
OKLaboklab(45.23% 0.0621 -0.1971)
OKLCHoklch(45.23% 0.207 287.5)
XYZxyz(14.3886, 7.9010, 50.0470)
Luminance0.0790 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5730BF #98BF30
analogous
#3050BF #5730BF #9F30BF
triadic
#5730BF #BF5730 #30BF57
tetradic
#5730BF #BF3050 #98BF30 #30BF9F
square
#5730BF #BF3050 #98BF30 #30BF9F
split-complementary
#5730BF #BF9F30 #50BF30
monochromatic
#2A175D #41248E #5730BF #7A57D5 #A088E1

Accessibility & contrast

On white

8.14
#5730BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#5730BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5730BF
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5730BF#FFFFFF#000000##FFFFFF
##5730BF1.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C3
Deuteranopia (green-blind)
#004BBC
Tritanopia (blue-blind)
#2B5875
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #5730bf;
/* rgb */ color: rgb(87, 48, 191);
/* oklch */ color: oklch(45.2% 0.207 287.5);
Tailwind
colors: {
  custom: {
    50: '#916dd3',
    500: '#5730bf',
    950: '#000000',
  },
}
SCSS
$custom: #5730bf;
$custom-light: #916dd3;
$custom-dark: #000000;
JSON
{
  "hex": "#5730bf",
  "rgb": {
    "r": 87,
    "g": 48,
    "b": 191
  },
  "hsl": {
    "h": 256.364,
    "s": 59.833,
    "l": 46.863
  },
  "oklch": {
    "l": 0.45228,
    "c": 0.20669,
    "h": 287.5
  },
  "luminance": 0.07902
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5730BF

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

Preview Lab → · Contrast checker → · Palette generator →

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