#562F75#562F75

#562F75 is a dark, moderate violet. Relative luminance 0.053; OKLCH L 38.9% C 0.119 H 307.5°. Best body text is #FFFFFF at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#562F75
RGBrgb(86, 47, 117)
HSLhsl(273, 43%, 32%)
HSVhsv(273, 60%, 46%)
CMYKcmyk(26.5%, 59.8%, 0%, 54.1%)
CIE-LABlab(27.56, 31.94, -33.48)
CIE-LCHlch(27.56, 46.27, 313.66°)
OKLaboklab(38.91% 0.0723 -0.0943)
OKLCHoklch(38.91% 0.119 307.5)
XYZxyz(8.0645, 5.2959, 17.4235)
Luminance0.0530 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562F75 #4E752F
analogous
#332F75 #562F75 #752F71
triadic
#562F75 #75562F #2F7556
tetradic
#562F75 #75332F #4E752F #2F7175
square
#562F75 #75332F #4E752F #2F7175
split-complementary
#562F75 #71752F #2F7533
monochromatic
#160C1E #361D49 #562F75 #7641A1 #955FBF

Accessibility & contrast

On white

10.20
#562F75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#562F75 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562F75
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562F75#FFFFFF#000000##FFFFFF
##562F751.0010.202.0610.20
#FFFFFF10.201.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154077
Deuteranopia (green-blind)
#254173
Tritanopia (blue-blind)
#513C4D
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #562f75;
/* rgb */ color: rgb(86, 47, 117);
/* oklch */ color: oklch(38.9% 0.119 307.5);
Tailwind
colors: {
  custom: {
    50: '#88699d',
    500: '#562f75',
    950: '#000000',
  },
}
SCSS
$custom: #562f75;
$custom-light: #88699d;
$custom-dark: #000000;
JSON
{
  "hex": "#562f75",
  "rgb": {
    "r": 86,
    "g": 47,
    "b": 117
  },
  "hsl": {
    "h": 273.429,
    "s": 42.683,
    "l": 32.157
  },
  "oklch": {
    "l": 0.38909,
    "c": 0.11879,
    "h": 307.5
  },
  "luminance": 0.05296
}

Semantic roles & 50–950 ramp

primary
#562F75
secondary
#7CA65A
accent
#D2558D
background
#F8F6F9
surface
#F0EBF2
border
#CBC6CC
text
#0C060E
muted
#7D7A7E

Preview Lab

Preview with #562F75

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

Preview Lab → · Contrast checker → · Palette generator →

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