#572FBB#572FBB

#572FBB is a dark, highly saturated violet. Relative luminance 0.076; OKLCH L 44.7% C 0.203 H 288.3°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#572FBB
RGBrgb(87, 47, 187)
HSLhsl(257, 60%, 46%)
HSVhsv(257, 75%, 73%)
CMYKcmyk(53.5%, 74.9%, 0%, 26.7%)
CIE-LABlab(33.24, 51.30, -67.06)
CIE-LCHlch(33.24, 84.43, 307.41°)
OKLaboklab(44.74% 0.0639 -0.1928)
OKLCHoklch(44.74% 0.203 288.3)
XYZxyz(13.9140, 7.6464, 47.7468)
Luminance0.0765 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#572FBB #93BB2F
analogous
#2F4DBB #572FBB #9D2FBB
triadic
#572FBB #BB572F #2FBB57
tetradic
#572FBB #BB2F4D #93BB2F #2FBB9D
square
#572FBB #BB2F4D #93BB2F #2FBB9D
split-complementary
#572FBB #BB9D2F #4DBB2F
monochromatic
#291659 #40238A #572FBB #7853D4 #9F84E0

Accessibility & contrast

On white

8.30
#572FBB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#572FBB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #572FBB
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##572FBB#FFFFFF#000000##FFFFFF
##572FBB1.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051BF
Deuteranopia (green-blind)
#004AB8
Tritanopia (blue-blind)
#2F5673
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #572fbb;
/* rgb */ color: rgb(87, 47, 187);
/* oklch */ color: oklch(44.7% 0.203 288.3);
Tailwind
colors: {
  custom: {
    50: '#916cd1',
    500: '#572fbb',
    950: '#000000',
  },
}
SCSS
$custom: #572fbb;
$custom-light: #916cd1;
$custom-dark: #000000;
JSON
{
  "hex": "#572fbb",
  "rgb": {
    "r": 87,
    "g": 47,
    "b": 187
  },
  "hsl": {
    "h": 257.143,
    "s": 59.829,
    "l": 45.882
  },
  "oklch": {
    "l": 0.44736,
    "c": 0.20314,
    "h": 288.3
  },
  "luminance": 0.07647
}

Semantic roles & 50–950 ramp

primary
#572FBB
secondary
#B3C97C
accent
#E345B6
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #572FBB

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

Preview Lab → · Contrast checker → · Palette generator →

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