#572283#572283

#572283 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.3% C 0.155 H 305.0°. Best body text is #FFFFFF at 10.70:1 contrast (WCAG AA passes).

Color values

HEX#572283
RGBrgb(87, 34, 131)
HSLhsl(273, 59%, 32%)
HSVhsv(273, 74%, 51%)
CMYKcmyk(33.6%, 74%, 0%, 48.6%)
CIE-LABlab(26.18, 42.63, -44.53)
CIE-LCHlch(26.18, 61.64, 313.75°)
OKLaboklab(38.26% 0.0888 -0.1266)
OKLCHoklch(38.26% 0.155 305)
XYZxyz(8.5983, 4.8090, 21.9436)
Luminance0.0481 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#572283 #4E8322
analogous
#272283 #572283 #83227E
triadic
#572283 #835722 #228357
tetradic
#572283 #832722 #4E8322 #227E83
square
#572283 #832722 #4E8322 #227E83
split-complementary
#572283 #7E8322 #228327
monochromatic
#160922 #371552 #572283 #772FB4 #964ED1

Accessibility & contrast

On white

10.70
#572283 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#572283 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #572283
10.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##572283#FFFFFF#000000##FFFFFF
##5722831.0010.701.9610.70
#FFFFFF10.701.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D86
Deuteranopia (green-blind)
#003E81
Tritanopia (blue-blind)
#4F3950
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #572283;
/* rgb */ color: rgb(87, 34, 131);
/* oklch */ color: oklch(38.3% 0.155 305.0);
Tailwind
colors: {
  custom: {
    50: '#8b62a8',
    500: '#572283',
    950: '#000000',
  },
}
SCSS
$custom: #572283;
$custom-light: #8b62a8;
$custom-dark: #000000;
JSON
{
  "hex": "#572283",
  "rgb": {
    "r": 87,
    "g": 34,
    "b": 131
  },
  "hsl": {
    "h": 272.784,
    "s": 58.788,
    "l": 32.353
  },
  "oklch": {
    "l": 0.38264,
    "c": 0.15462,
    "h": 305
  },
  "luminance": 0.04809
}

Semantic roles & 50–950 ramp

primary
#572283
secondary
#7CB44C
accent
#E2468D
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0510
muted
#7D7A7F

Preview Lab

Preview with #572283

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

Preview Lab → · Contrast checker → · Palette generator →

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