#572095#572095

#572095 is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.6% C 0.176 H 299.4°. Best body text is #FFFFFF at 10.26:1 contrast (WCAG AA passes).

Color values

HEX#572095
RGBrgb(87, 32, 149)
HSLhsl(268, 65%, 35%)
HSVhsv(268, 79%, 58%)
CMYKcmyk(41.6%, 78.5%, 0%, 41.6%)
CIE-LABlab(27.38, 48.05, -53.77)
CIE-LCHlch(27.38, 72.11, 311.78°)
OKLaboklab(39.57% 0.0865 -0.1537)
OKLCHoklch(39.57% 0.176 299.4)
XYZxyz(9.8704, 5.2291, 28.9172)
Luminance0.0523 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#572095 #5E9520
analogous
#202395 #572095 #912095
triadic
#572095 #955720 #209557
tetradic
#572095 #952023 #5E9520 #209591
square
#572095 #952023 #5E9520 #209591
split-complementary
#572095 #959120 #239520
monochromatic
#1C0A30 #3A1563 #572095 #742BC7 #9455DA

Accessibility & contrast

On white

10.26
#572095 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #572095
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##572095#FFFFFF#000000##FFFFFF
##5720951.0010.262.0510.26
#FFFFFF10.261.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004198
Deuteranopia (green-blind)
#004093
Tritanopia (blue-blind)
#483F5A
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #572095;
/* rgb */ color: rgb(87, 32, 149);
/* oklch */ color: oklch(39.6% 0.176 299.4);
Tailwind
colors: {
  custom: {
    50: '#8d62b5',
    500: '#572095',
    950: '#000000',
  },
}
SCSS
$custom: #572095;
$custom-light: #8d62b5;
$custom-dark: #000000;
JSON
{
  "hex": "#572095",
  "rgb": {
    "r": 87,
    "g": 32,
    "b": 149
  },
  "hsl": {
    "h": 268.205,
    "s": 64.641,
    "l": 35.49
  },
  "oklch": {
    "l": 0.39575,
    "c": 0.1764,
    "h": 299.4
  },
  "luminance": 0.05229
}

Semantic roles & 50–950 ramp

primary
#572095
secondary
#8CBE53
accent
#E84099
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0511
muted
#7E7A80

Preview Lab

Preview with #572095

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

Preview Lab → · Contrast checker → · Palette generator →

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