#572FBC#572FBC

#572FBC is a dark, highly saturated violet. Relative luminance 0.077; OKLCH L 44.8% C 0.204 H 288.1°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#572FBC
RGBrgb(87, 47, 188)
HSLhsl(257, 60%, 46%)
HSVhsv(257, 75%, 74%)
CMYKcmyk(53.7%, 75%, 0%, 26.3%)
CIE-LABlab(33.33, 51.57, -67.50)
CIE-LCHlch(33.33, 84.95, 307.38°)
OKLaboklab(44.83% 0.0636 -0.1941)
OKLCHoklch(44.83% 0.204 288.1)
XYZxyz(14.0214, 7.6894, 48.3126)
Luminance0.0769 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#572FBC #94BC2F
analogous
#2F4DBC #572FBC #9D2FBC
triadic
#572FBC #BC572F #2FBC57
tetradic
#572FBC #BC2F4D #94BC2F #2FBC9D
square
#572FBC #BC2F4D #94BC2F #2FBC9D
split-complementary
#572FBC #BC9D2F #4DBC2F
monochromatic
#2A175A #40238B #572FBC #7854D4 #9F85E0

Accessibility & contrast

On white

8.27
#572FBC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#572FBC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #572FBC
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##572FBC#FFFFFF#000000##FFFFFF
##572FBC1.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051C0
Deuteranopia (green-blind)
#004BB9
Tritanopia (blue-blind)
#2E5673
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #572fbc;
/* rgb */ color: rgb(87, 47, 188);
/* oklch */ color: oklch(44.8% 0.204 288.1);
Tailwind
colors: {
  custom: {
    50: '#916cd1',
    500: '#572fbc',
    950: '#000000',
  },
}
SCSS
$custom: #572fbc;
$custom-light: #916cd1;
$custom-dark: #000000;
JSON
{
  "hex": "#572fbc",
  "rgb": {
    "r": 87,
    "g": 47,
    "b": 188
  },
  "hsl": {
    "h": 257.021,
    "s": 60,
    "l": 46.078
  },
  "oklch": {
    "l": 0.44829,
    "c": 0.20428,
    "h": 288.1
  },
  "luminance": 0.0769
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #572FBC

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

Preview Lab → · Contrast checker → · Palette generator →

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