#562F73#562F73

#562F73 is a dark, moderate violet. Relative luminance 0.052; OKLCH L 38.8% C 0.116 H 308.4°. Best body text is #FFFFFF at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#562F73
RGBrgb(86, 47, 115)
HSLhsl(274, 42%, 32%)
HSVhsv(274, 59%, 45%)
CMYKcmyk(25.2%, 59.1%, 0%, 54.9%)
CIE-LABlab(27.43, 31.43, -32.41)
CIE-LCHlch(27.43, 45.15, 314.13°)
OKLaboklab(38.77% 0.0722 -0.0911)
OKLCHoklch(38.77% 0.116 308.4)
XYZxyz(7.9482, 5.2494, 16.8109)
Luminance0.0525 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562F73 #4C732F
analogous
#342F73 #562F73 #732F6E
triadic
#562F73 #73562F #2F7356
tetradic
#562F73 #73342F #4C732F #2F6E73
square
#562F73 #73342F #4C732F #2F6E73
split-complementary
#562F73 #6E732F #2F7334
monochromatic
#150B1C #361D48 #562F73 #76419E #955FBE

Accessibility & contrast

On white

10.24
#562F73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#562F73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562F73
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562F73#FFFFFF#000000##FFFFFF
##562F731.0010.242.0510.24
#FFFFFF10.241.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#183F75
Deuteranopia (green-blind)
#264171
Tritanopia (blue-blind)
#523C4C
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #562f73;
/* rgb */ color: rgb(86, 47, 115);
/* oklch */ color: oklch(38.8% 0.116 308.4);
Tailwind
colors: {
  custom: {
    50: '#88699c',
    500: '#562f73',
    950: '#000000',
  },
}
SCSS
$custom: #562f73;
$custom-light: #88699c;
$custom-dark: #000000;
JSON
{
  "hex": "#562f73",
  "rgb": {
    "r": 86,
    "g": 47,
    "b": 115
  },
  "hsl": {
    "h": 274.412,
    "s": 41.975,
    "l": 31.765
  },
  "oklch": {
    "l": 0.38774,
    "c": 0.11628,
    "h": 308.4
  },
  "luminance": 0.05249
}

Semantic roles & 50–950 ramp

primary
#562F73
secondary
#79A45A
accent
#D2568B
background
#F8F6F9
surface
#F0EBF2
border
#CBC6CC
text
#0C060E
muted
#7D7A7E

Preview Lab

Preview with #562F73

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

Preview Lab → · Contrast checker → · Palette generator →

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