#5730BB#5730BB

#5730BB is a dark, highly saturated violet. Relative luminance 0.077; OKLCH L 44.9% C 0.202 H 288.2°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#5730BB
RGBrgb(87, 48, 187)
HSLhsl(257, 59%, 46%)
HSVhsv(257, 74%, 73%)
CMYKcmyk(53.5%, 74.3%, 0%, 26.7%)
CIE-LABlab(33.41, 50.80, -66.77)
CIE-LCHlch(33.41, 83.90, 307.27°)
OKLaboklab(44.86% 0.0631 -0.192)
OKLCHoklch(44.86% 0.202 288.2)
XYZxyz(13.9544, 7.7273, 47.7603)
Luminance0.0773 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5730BB #94BB30
analogous
#304EBB #5730BB #9C30BB
triadic
#5730BB #BB5730 #30BB57
tetradic
#5730BB #BB304E #94BB30 #30BB9C
square
#5730BB #BB304E #94BB30 #30BB9C
split-complementary
#5730BB #BB9C30 #4EBB30
monochromatic
#2A175A #40238A #5730BB #7855D3 #9F86E0

Accessibility & contrast

On white

8.25
#5730BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5730BB
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5730BB#FFFFFF#000000##FFFFFF
##5730BB1.008.252.558.25
#FFFFFF8.251.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052BF
Deuteranopia (green-blind)
#004BB8
Tritanopia (blue-blind)
#2F5673
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #5730bb;
/* rgb */ color: rgb(87, 48, 187);
/* oklch */ color: oklch(44.9% 0.202 288.2);
Tailwind
colors: {
  custom: {
    50: '#916cd1',
    500: '#5730bb',
    950: '#000000',
  },
}
SCSS
$custom: #5730bb;
$custom-light: #916cd1;
$custom-dark: #000000;
JSON
{
  "hex": "#5730bb",
  "rgb": {
    "r": 87,
    "g": 48,
    "b": 187
  },
  "hsl": {
    "h": 256.835,
    "s": 59.149,
    "l": 46.078
  },
  "oklch": {
    "l": 0.44858,
    "c": 0.20211,
    "h": 288.2
  },
  "luminance": 0.07728
}

Semantic roles & 50–950 ramp

primary
#5730BB
secondary
#B4C97D
accent
#E245B6
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #5730BB

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

Preview Lab → · Contrast checker → · Palette generator →

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