#572983#572983

#572983 is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.2% C 0.145 H 303.8°. Best body text is #FFFFFF at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#572983
RGBrgb(87, 41, 131)
HSLhsl(271, 52%, 34%)
HSVhsv(271, 69%, 51%)
CMYKcmyk(33.6%, 68.7%, 0%, 48.6%)
CIE-LABlab(27.44, 39.13, -42.50)
CIE-LCHlch(27.44, 57.77, 312.64°)
OKLaboklab(39.16% 0.0809 -0.1207)
OKLCHoklch(39.16% 0.145 303.8)
XYZxyz(8.8192, 5.2508, 22.0172)
Luminance0.0525 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#572983 #558329
analogous
#2A2983 #572983 #832982
triadic
#572983 #835729 #298357
tetradic
#572983 #832A29 #558329 #298283
square
#572983 #832A29 #558329 #298283
split-complementary
#572983 #828329 #29832A
monochromatic
#190C26 #381A54 #572983 #7638B2 #945BCC

Accessibility & contrast

On white

10.24
#572983 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#572983 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #572983
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##572983#FFFFFF#000000##FFFFFF
##5729831.0010.242.0510.24
#FFFFFF10.241.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004086
Deuteranopia (green-blind)
#084181
Tritanopia (blue-blind)
#4F3D52
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #572983;
/* rgb */ color: rgb(87, 41, 131);
/* oklch */ color: oklch(39.2% 0.145 303.8);
Tailwind
colors: {
  custom: {
    50: '#8a66a8',
    500: '#572983',
    950: '#000000',
  },
}
SCSS
$custom: #572983;
$custom-light: #8a66a8;
$custom-dark: #000000;
JSON
{
  "hex": "#572983",
  "rgb": {
    "r": 87,
    "g": 41,
    "b": 131
  },
  "hsl": {
    "h": 270.667,
    "s": 52.326,
    "l": 33.725
  },
  "oklch": {
    "l": 0.39159,
    "c": 0.14528,
    "h": 303.8
  },
  "luminance": 0.05251
}

Semantic roles & 50–950 ramp

primary
#572983
secondary
#83B157
accent
#DC4C92
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #572983

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

Preview Lab → · Contrast checker → · Palette generator →

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