#572FBA#572FBA

#572FBA is a dark, highly saturated violet. Relative luminance 0.076; OKLCH L 44.6% C 0.202 H 288.5°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#572FBA
RGBrgb(87, 47, 186)
HSLhsl(257, 60%, 46%)
HSVhsv(257, 75%, 73%)
CMYKcmyk(53.2%, 74.7%, 0%, 27.1%)
CIE-LABlab(33.14, 51.01, -66.62)
CIE-LCHlch(33.14, 83.91, 307.44°)
OKLaboklab(44.64% 0.0641 -0.1915)
OKLCHoklch(44.64% 0.202 288.5)
XYZxyz(13.8073, 7.6038, 47.1850)
Luminance0.0760 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#572FBA #92BA2F
analogous
#2F4CBA #572FBA #9C2FBA
triadic
#572FBA #BA572F #2FBA57
tetradic
#572FBA #BA2F4C #92BA2F #2FBA9C
square
#572FBA #BA2F4C #92BA2F #2FBA9C
split-complementary
#572FBA #BA9C2F #4CBA2F
monochromatic
#291658 #402389 #572FBA #7853D3 #9E84E0

Accessibility & contrast

On white

8.33
#572FBA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#572FBA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #572FBA
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##572FBA#FFFFFF#000000##FFFFFF
##572FBA1.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051BE
Deuteranopia (green-blind)
#004AB7
Tritanopia (blue-blind)
#305572
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #572fba;
/* rgb */ color: rgb(87, 47, 186);
/* oklch */ color: oklch(44.6% 0.202 288.5);
Tailwind
colors: {
  custom: {
    50: '#916cd0',
    500: '#572fba',
    950: '#000000',
  },
}
SCSS
$custom: #572fba;
$custom-light: #916cd0;
$custom-dark: #000000;
JSON
{
  "hex": "#572fba",
  "rgb": {
    "r": 87,
    "g": 47,
    "b": 186
  },
  "hsl": {
    "h": 257.266,
    "s": 59.657,
    "l": 45.686
  },
  "oklch": {
    "l": 0.44643,
    "c": 0.20199,
    "h": 288.5
  },
  "luminance": 0.07604
}

Semantic roles & 50–950 ramp

primary
#572FBA
secondary
#B3C97C
accent
#E345B5
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0E0714
muted
#7E7A82

Preview Lab

Preview with #572FBA

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

Preview Lab → · Contrast checker → · Palette generator →

#572FBA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva