#5730B5#5730B5

#5730B5 is a dark, vivid violet. Relative luminance 0.075; OKLCH L 44.3% C 0.195 H 289.3°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#5730B5
RGBrgb(87, 48, 181)
HSLhsl(258, 58%, 45%)
HSVhsv(258, 73%, 71%)
CMYKcmyk(51.9%, 73.5%, 0%, 29%)
CIE-LABlab(32.87, 49.12, -64.11)
CIE-LCHlch(32.87, 80.76, 307.46°)
OKLaboklab(44.31% 0.0646 -0.1842)
OKLCHoklch(44.31% 0.195 289.3)
XYZxyz(13.3255, 7.4757, 44.4479)
Luminance0.0748 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5730B5 #8EB530
analogous
#304BB5 #5730B5 #9A30B5
triadic
#5730B5 #B55730 #30B557
tetradic
#5730B5 #B5304B #8EB530 #30B59A
square
#5730B5 #B5304B #8EB530 #30B59A
split-complementary
#5730B5 #B59A30 #4BB530
monochromatic
#281654 #402385 #5730B5 #7751D1 #9D82DE

Accessibility & contrast

On white

8.42
#5730B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#5730B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5730B5
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5730B5#FFFFFF#000000##FFFFFF
##5730B51.008.422.508.42
#FFFFFF8.421.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B9
Deuteranopia (green-blind)
#004AB2
Tritanopia (blue-blind)
#345470
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #5730b5;
/* rgb */ color: rgb(87, 48, 181);
/* oklch */ color: oklch(44.3% 0.195 289.3);
Tailwind
colors: {
  custom: {
    50: '#906ccc',
    500: '#5730b5',
    950: '#000000',
  },
}
SCSS
$custom: #5730b5;
$custom-light: #906ccc;
$custom-dark: #000000;
JSON
{
  "hex": "#5730b5",
  "rgb": {
    "r": 87,
    "g": 48,
    "b": 181
  },
  "hsl": {
    "h": 257.594,
    "s": 58.079,
    "l": 44.902
  },
  "oklch": {
    "l": 0.44309,
    "c": 0.19518,
    "h": 289.3
  },
  "luminance": 0.07476
}

Semantic roles & 50–950 ramp

primary
#5730B5
secondary
#B0C77A
accent
#E146B4
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0E0714
muted
#7E7A82

Preview Lab

Preview with #5730B5

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

Preview Lab → · Contrast checker → · Palette generator →

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