#5726B0#5726B0

#5726B0 is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.7% C 0.200 H 291.7°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#5726B0
RGBrgb(87, 38, 176)
HSLhsl(261, 64%, 42%)
HSVhsv(261, 78%, 69%)
CMYKcmyk(50.6%, 78.4%, 0%, 31%)
CIE-LABlab(30.75, 52.47, -64.60)
CIE-LCHlch(30.75, 83.22, 309.08°)
OKLaboklab(42.69% 0.0738 -0.1856)
OKLCHoklch(42.69% 0.2 291.7)
XYZxyz(12.4578, 6.5466, 41.6731)
Luminance0.0655 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5726B0 #7FB026
analogous
#263AB0 #5726B0 #9C26B0
triadic
#5726B0 #B05726 #26B057
tetradic
#5726B0 #B0263A #7FB026 #26B09C
square
#5726B0 #B0263A #7FB026 #26B09C
split-complementary
#5726B0 #B09C26 #3AB026
monochromatic
#25104B #3E1B7E #5726B0 #743ED5 #9870E0

Accessibility & contrast

On white

9.09
#5726B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#5726B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5726B0
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5726B0#FFFFFF#000000##FFFFFF
##5726B01.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB4
Deuteranopia (green-blind)
#0045AD
Tritanopia (blue-blind)
#394D6B
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #5726b0;
/* rgb */ color: rgb(87, 38, 176);
/* oklch */ color: oklch(42.7% 0.200 291.7);
Tailwind
colors: {
  custom: {
    50: '#9067c9',
    500: '#5726b0',
    950: '#000000',
  },
}
SCSS
$custom: #5726b0;
$custom-light: #9067c9;
$custom-dark: #000000;
JSON
{
  "hex": "#5726b0",
  "rgb": {
    "r": 87,
    "g": 38,
    "b": 176
  },
  "hsl": {
    "h": 261.304,
    "s": 64.486,
    "l": 41.961
  },
  "oklch": {
    "l": 0.42686,
    "c": 0.1997,
    "h": 291.7
  },
  "luminance": 0.06547
}

Semantic roles & 50–950 ramp

primary
#5726B0
secondary
#A6C76B
accent
#E740AC
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #5726B0

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

Preview Lab → · Contrast checker → · Palette generator →

#5726B0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva