#562A75#562A75

#562A75 is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.1% C 0.127 H 308.6°. Best body text is #FFFFFF at 10.59:1 contrast (WCAG AA passes).

Color values

HEX#562A75
RGBrgb(86, 42, 117)
HSLhsl(275, 47%, 31%)
HSVhsv(275, 64%, 46%)
CMYKcmyk(26.5%, 64.1%, 0%, 54.1%)
CIE-LABlab(26.50, 34.79, -35.17)
CIE-LCHlch(26.50, 49.47, 314.68°)
OKLaboklab(38.14% 0.0792 -0.0992)
OKLCHoklch(38.14% 0.127 308.6)
XYZxyz(7.8760, 4.9188, 17.3607)
Luminance0.0492 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562A75 #49752A
analogous
#302A75 #562A75 #752A6E
triadic
#562A75 #75562A #2A7556
tetradic
#562A75 #75302A #49752A #2A6E75
square
#562A75 #75302A #49752A #2A6E75
split-complementary
#562A75 #6E752A #2A7530
monochromatic
#140A1B #351A48 #562A75 #773AA2 #9657C3

Accessibility & contrast

On white

10.59
#562A75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#562A75 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562A75
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562A75#FFFFFF#000000##FFFFFF
##562A751.0010.591.9810.59
#FFFFFF10.591.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#073D77
Deuteranopia (green-blind)
#1F3F73
Tritanopia (blue-blind)
#51394B
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #562a75;
/* rgb */ color: rgb(86, 42, 117);
/* oklch */ color: oklch(38.1% 0.127 308.6);
Tailwind
colors: {
  custom: {
    50: '#88669d',
    500: '#562a75',
    950: '#000000',
  },
}
SCSS
$custom: #562a75;
$custom-light: #88669d;
$custom-dark: #000000;
JSON
{
  "hex": "#562a75",
  "rgb": {
    "r": 86,
    "g": 42,
    "b": 117
  },
  "hsl": {
    "h": 275.2,
    "s": 47.17,
    "l": 31.176
  },
  "oklch": {
    "l": 0.38136,
    "c": 0.12694,
    "h": 308.6
  },
  "luminance": 0.04919
}

Semantic roles & 50–950 ramp

primary
#562A75
secondary
#76A754
accent
#D75188
background
#F8F6F9
surface
#F0EBF2
border
#CBC6CC
text
#0C060E
muted
#7D7A7E

Preview Lab

Preview with #562A75

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

Preview Lab → · Contrast checker → · Palette generator →

#562A75 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva