#572FBF#572FBF

#572FBF is a mid, highly saturated violet. Relative luminance 0.078; OKLCH L 45.1% C 0.208 H 287.6°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#572FBF
RGBrgb(87, 47, 191)
HSLhsl(257, 61%, 47%)
HSVhsv(257, 75%, 75%)
CMYKcmyk(54.5%, 75.4%, 0%, 25.1%)
CIE-LABlab(33.61, 52.41, -68.81)
CIE-LCHlch(33.61, 86.50, 307.30°)
OKLaboklab(45.11% 0.0629 -0.198)
OKLCHoklch(45.11% 0.208 287.6)
XYZxyz(14.3482, 7.8201, 50.0335)
Luminance0.0782 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#572FBF #97BF2F
analogous
#2F4FBF #572FBF #9F2FBF
triadic
#572FBF #BF572F #2FBF57
tetradic
#572FBF #BF2F4F #97BF2F #2FBF9F
square
#572FBF #BF2F4F #97BF2F #2FBF9F
split-complementary
#572FBF #BF9F2F #4FBF2F
monochromatic
#2A175D #41238E #572FBF #7956D5 #A087E1

Accessibility & contrast

On white

8.19
#572FBF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#572FBF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #572FBF
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##572FBF#FFFFFF#000000##FFFFFF
##572FBF1.008.192.568.19
#FFFFFF8.191.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052C3
Deuteranopia (green-blind)
#004BBC
Tritanopia (blue-blind)
#2B5775
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #572fbf;
/* rgb */ color: rgb(87, 47, 191);
/* oklch */ color: oklch(45.1% 0.208 287.6);
Tailwind
colors: {
  custom: {
    50: '#916cd3',
    500: '#572fbf',
    950: '#000000',
  },
}
SCSS
$custom: #572fbf;
$custom-light: #916cd3;
$custom-dark: #000000;
JSON
{
  "hex": "#572fbf",
  "rgb": {
    "r": 87,
    "g": 47,
    "b": 191
  },
  "hsl": {
    "h": 256.667,
    "s": 60.504,
    "l": 46.667
  },
  "oklch": {
    "l": 0.45108,
    "c": 0.2077,
    "h": 287.6
  },
  "luminance": 0.07821
}

Semantic roles & 50–950 ramp

primary
#572FBF
secondary
#B6CB7F
accent
#E444B7
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #572FBF

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

Preview Lab → · Contrast checker → · Palette generator →

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