#572EBA#572EBA

#572EBA is a dark, highly saturated violet. Relative luminance 0.075; OKLCH L 44.5% C 0.203 H 288.6°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#572EBA
RGBrgb(87, 46, 186)
HSLhsl(258, 60%, 45%)
HSVhsv(258, 75%, 73%)
CMYKcmyk(53.2%, 75.3%, 0%, 27.1%)
CIE-LABlab(32.97, 51.50, -66.90)
CIE-LCHlch(32.97, 84.43, 307.59°)
OKLaboklab(44.52% 0.0649 -0.1924)
OKLCHoklch(44.52% 0.203 288.6)
XYZxyz(13.7678, 7.5247, 47.1718)
Luminance0.0752 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#572EBA #91BA2E
analogous
#2E4BBA #572EBA #9D2EBA
triadic
#572EBA #BA572E #2EBA57
tetradic
#572EBA #BA2E4B #91BA2E #2EBA9D
square
#572EBA #BA2E4B #91BA2E #2EBA9D
split-complementary
#572EBA #BA9D2E #4BBA2E
monochromatic
#291658 #402289 #572EBA #7751D4 #9E82E0

Accessibility & contrast

On white

8.38
#572EBA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#572EBA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #572EBA
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##572EBA#FFFFFF#000000##FFFFFF
##572EBA1.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #572eba;
/* rgb */ color: rgb(87, 46, 186);
/* oklch */ color: oklch(44.5% 0.203 288.6);
Tailwind
colors: {
  custom: {
    50: '#916bd0',
    500: '#572eba',
    950: '#000000',
  },
}
SCSS
$custom: #572eba;
$custom-light: #916bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#572eba",
  "rgb": {
    "r": 87,
    "g": 46,
    "b": 186
  },
  "hsl": {
    "h": 257.571,
    "s": 60.345,
    "l": 45.49
  },
  "oklch": {
    "l": 0.44523,
    "c": 0.20302,
    "h": 288.6
  },
  "luminance": 0.07525
}

Semantic roles & 50–950 ramp

primary
#572EBA
secondary
#B2C97B
accent
#E344B5
background
#F9F6FC
surface
#F2EBF9
border
#CCC6D2
text
#0E0714
muted
#7E7A82

Preview Lab

Preview with #572EBA

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

Preview Lab → · Contrast checker → · Palette generator →

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