#572693#572693

#572693 is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.1% C 0.168 H 299.1°. Best body text is #FFFFFF at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#572693
RGBrgb(87, 38, 147)
HSLhsl(267, 59%, 36%)
HSVhsv(267, 74%, 58%)
CMYKcmyk(40.8%, 74.1%, 0%, 42.4%)
CIE-LABlab(28.16, 44.80, -51.25)
CIE-LCHlch(28.16, 68.07, 311.16°)
OKLaboklab(40.08% 0.0815 -0.1464)
OKLCHoklch(40.08% 0.168 299.1)
XYZxyz(9.8887, 5.5189, 28.1424)
Luminance0.0552 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#572693 #629326
analogous
#262C93 #572693 #8E2693
triadic
#572693 #935726 #269357
tetradic
#572693 #93262C #629326 #26938E
square
#572693 #93262C #629326 #26938E
split-complementary
#572693 #938E26 #2C9326
monochromatic
#1D0D32 #3A1962 #572693 #7433C4 #945ED5

Accessibility & contrast

On white

9.98
#572693 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#572693 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #572693
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##572693#FFFFFF#000000##FFFFFF
##5726931.009.982.109.98
#FFFFFF9.981.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004296
Deuteranopia (green-blind)
#004191
Tritanopia (blue-blind)
#49415A
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #572693;
/* rgb */ color: rgb(87, 38, 147);
/* oklch */ color: oklch(40.1% 0.168 299.1);
Tailwind
colors: {
  custom: {
    50: '#8c65b4',
    500: '#572693',
    950: '#000000',
  },
}
SCSS
$custom: #572693;
$custom-light: #8c65b4;
$custom-dark: #000000;
JSON
{
  "hex": "#572693",
  "rgb": {
    "r": 87,
    "g": 38,
    "b": 147
  },
  "hsl": {
    "h": 266.972,
    "s": 58.919,
    "l": 36.275
  },
  "oklch": {
    "l": 0.40075,
    "c": 0.16753,
    "h": 299.1
  },
  "luminance": 0.05519
}

Semantic roles & 50–950 ramp

primary
#572693
secondary
#8FBA5A
accent
#E2469C
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #572693

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

Preview Lab → · Contrast checker → · Palette generator →

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