#562175#562175

#562175 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 36.9% C 0.140 H 310.2°. Best body text is #FFFFFF at 11.23:1 contrast (WCAG AA passes).

Color values

HEX#562175
RGBrgb(86, 33, 117)
HSLhsl(278, 56%, 29%)
HSVhsv(278, 72%, 46%)
CMYKcmyk(26.5%, 71.8%, 0%, 54.1%)
CIE-LABlab(24.80, 39.48, -37.91)
CIE-LCHlch(24.80, 54.73, 316.16°)
OKLaboklab(36.91% 0.0905 -0.1072)
OKLCHoklch(36.91% 0.14 310.2)
XYZxyz(7.5919, 4.3507, 17.2660)
Luminance0.0435 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562175 #407521
analogous
#2C2175 #562175 #75216A
triadic
#562175 #755621 #217556
tetradic
#562175 #752C21 #407521 #216A75
square
#562175 #752C21 #407521 #216A75
split-complementary
#562175 #6A7521 #21752C
monochromatic
#120718 #331445 #562175 #792EA5 #9A46CB

Accessibility & contrast

On white

11.23
#562175 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#562175 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562175
11.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562175#FFFFFF#000000##FFFFFF
##5621751.0011.231.8711.23
#FFFFFF11.231.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003977
Deuteranopia (green-blind)
#133C73
Tritanopia (blue-blind)
#523348
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #562175;
/* rgb */ color: rgb(86, 33, 117);
/* oklch */ color: oklch(36.9% 0.140 310.2);
Tailwind
colors: {
  custom: {
    50: '#89619d',
    500: '#562175',
    950: '#000000',
  },
}
SCSS
$custom: #562175;
$custom-light: #89619d;
$custom-dark: #000000;
JSON
{
  "hex": "#562175",
  "rgb": {
    "r": 86,
    "g": 33,
    "b": 117
  },
  "hsl": {
    "h": 277.857,
    "s": 56,
    "l": 29.412
  },
  "oklch": {
    "l": 0.36908,
    "c": 0.14032,
    "h": 310.2
  },
  "luminance": 0.04351
}

Semantic roles & 50–950 ramp

primary
#562175
secondary
#6CA84A
accent
#DF4980
background
#F8F5F9
surface
#F0EAF2
border
#CBC6CC
text
#0C050E
muted
#7D797E

Preview Lab

Preview with #562175

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

Preview Lab → · Contrast checker → · Palette generator →

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