#572FDB#572FDB

#572FDB is a mid, highly saturated violet. Relative luminance 0.092; OKLCH L 47.8% C 0.239 H 283.3°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#572FDB
RGBrgb(87, 47, 219)
HSLhsl(254, 70%, 52%)
HSVhsv(254, 79%, 86%)
CMYKcmyk(60.3%, 78.5%, 0%, 14.1%)
CIE-LABlab(36.31, 60.19, -80.62)
CIE-LCHlch(36.31, 100.61, 306.74°)
OKLaboklab(47.81% 0.055 -0.2325)
OKLCHoklch(47.81% 0.239 283.3)
XYZxyz(17.7292, 9.1725, 67.8403)
Luminance0.0917 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#572FDB #B3DB2F
analogous
#2F5DDB #572FDB #AD2FDB
triadic
#572FDB #DB572F #2FDB57
tetradic
#572FDB #DB2F5D #B3DB2F #2FDBAD
square
#572FDB #DB2F5D #B3DB2F #2FDBAD
split-complementary
#572FDB #DBAD2F #5DDB2F
monochromatic
#2D157A #401EAF #572FDB #8163E4 #AB97ED

Accessibility & contrast

On white

7.41
#572FDB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#572FDB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #572FDB
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##572FDB#FFFFFF#000000##FFFFFF
##572FDB1.007.412.837.41
#FFFFFF7.411.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BE0
Deuteranopia (green-blind)
#0050D8
Tritanopia (blue-blind)
#006385
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #572fdb;
/* rgb */ color: rgb(87, 47, 219);
/* oklch */ color: oklch(47.8% 0.239 283.3);
Tailwind
colors: {
  custom: {
    50: '#966ee8',
    500: '#572fdb',
    950: '#000000',
  },
}
SCSS
$custom: #572fdb;
$custom-light: #966ee8;
$custom-dark: #000000;
JSON
{
  "hex": "#572fdb",
  "rgb": {
    "r": 87,
    "g": 47,
    "b": 219
  },
  "hsl": {
    "h": 253.953,
    "s": 70.492,
    "l": 52.157
  },
  "oklch": {
    "l": 0.47813,
    "c": 0.23889,
    "h": 283.3
  },
  "luminance": 0.09174
}

Semantic roles & 50–950 ramp

primary
#572FDB
secondary
#C7D88D
accent
#ED3BC4
background
#FAF6FE
surface
#F3ECFD
border
#CDC7D5
text
#0F0716
muted
#7F7A84

Preview Lab

Preview with #572FDB

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

Preview Lab → · Contrast checker → · Palette generator →

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