#572492#572492

#572492 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.8% C 0.169 H 299.7°. Best body text is #FFFFFF at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#572492
RGBrgb(87, 36, 146)
HSLhsl(268, 60%, 36%)
HSVhsv(268, 75%, 57%)
CMYKcmyk(40.4%, 75.3%, 0%, 42.7%)
CIE-LABlab(27.75, 45.49, -51.32)
CIE-LCHlch(27.75, 68.58, 311.55°)
OKLaboklab(39.75% 0.0836 -0.1466)
OKLCHoklch(39.75% 0.169 299.7)
XYZxyz(9.7484, 5.3632, 27.7102)
Luminance0.0536 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#572492 #5F9224
analogous
#242892 #572492 #8E2492
triadic
#572492 #925724 #249257
tetradic
#572492 #922428 #5F9224 #24928E
square
#572492 #922428 #5F9224 #24928E
split-complementary
#572492 #928E24 #289224
monochromatic
#1C0C30 #3A1861 #572492 #7430C3 #945AD6

Accessibility & contrast

On white

10.13
#572492 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#572492 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #572492
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##572492#FFFFFF#000000##FFFFFF
##5724921.0010.132.0710.13
#FFFFFF10.131.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004195
Deuteranopia (green-blind)
#004190
Tritanopia (blue-blind)
#494059
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #572492;
/* rgb */ color: rgb(87, 36, 146);
/* oklch */ color: oklch(39.8% 0.169 299.7);
Tailwind
colors: {
  custom: {
    50: '#8c64b3',
    500: '#572492',
    950: '#000000',
  },
}
SCSS
$custom: #572492;
$custom-light: #8c64b3;
$custom-dark: #000000;
JSON
{
  "hex": "#572492",
  "rgb": {
    "r": 87,
    "g": 36,
    "b": 146
  },
  "hsl": {
    "h": 267.818,
    "s": 60.44,
    "l": 35.686
  },
  "oklch": {
    "l": 0.39753,
    "c": 0.16876,
    "h": 299.7
  },
  "luminance": 0.05363
}

Semantic roles & 50–950 ramp

primary
#572492
secondary
#8DBB57
accent
#E4449A
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #572492

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

Preview Lab → · Contrast checker → · Palette generator →

#572492 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva