#572FAF#572FAF

#572FAF is a dark, vivid violet. Relative luminance 0.072; OKLCH L 43.6% C 0.189 H 290.7°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#572FAF
RGBrgb(87, 47, 175)
HSLhsl(259, 58%, 44%)
HSVhsv(259, 73%, 69%)
CMYKcmyk(50.3%, 73.1%, 0%, 31.4%)
CIE-LABlab(32.15, 47.94, -61.70)
CIE-LCHlch(32.15, 78.14, 307.84°)
OKLaboklab(43.64% 0.0668 -0.1771)
OKLCHoklch(43.64% 0.189 290.7)
XYZxyz(12.6826, 7.1539, 41.2617)
Luminance0.0715 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#572FAF #87AF2F
analogous
#2F47AF #572FAF #972FAF
triadic
#572FAF #AF572F #2FAF57
tetradic
#572FAF #AF2F47 #87AF2F #2FAF97
square
#572FAF #AF2F47 #87AF2F #2FAF97
split-complementary
#572FAF #AF972F #47AF2F
monochromatic
#27154F #3F227F #572FAF #754CCF #9A7CDC

Accessibility & contrast

On white

8.64
#572FAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#572FAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #572FAF
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##572FAF#FFFFFF#000000##FFFFFF
##572FAF1.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB3
Deuteranopia (green-blind)
#0049AD
Tritanopia (blue-blind)
#39516C
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #572faf;
/* rgb */ color: rgb(87, 47, 175);
/* oklch */ color: oklch(43.6% 0.189 290.7);
Tailwind
colors: {
  custom: {
    50: '#8f6bc8',
    500: '#572faf',
    950: '#000000',
  },
}
SCSS
$custom: #572faf;
$custom-light: #8f6bc8;
$custom-dark: #000000;
JSON
{
  "hex": "#572faf",
  "rgb": {
    "r": 87,
    "g": 47,
    "b": 175
  },
  "hsl": {
    "h": 258.75,
    "s": 57.658,
    "l": 43.529
  },
  "oklch": {
    "l": 0.43643,
    "c": 0.18931,
    "h": 290.7
  },
  "luminance": 0.07154
}

Semantic roles & 50–950 ramp

primary
#572FAF
secondary
#ACC475
accent
#E147B1
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #572FAF

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

Preview Lab → · Contrast checker → · Palette generator →

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