#562FA3#562FA3

#562FA3 is a dark, vivid violet. Relative luminance 0.067; OKLCH L 42.5% C 0.175 H 292.8°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#562FA3
RGBrgb(86, 47, 163)
HSLhsl(260, 55%, 41%)
HSVhsv(260, 71%, 64%)
CMYKcmyk(47.2%, 71.2%, 0%, 36.1%)
CIE-LABlab(31.01, 44.41, -56.37)
CIE-LCHlch(31.01, 71.77, 308.23°)
OKLaboklab(42.49% 0.0678 -0.1615)
OKLCHoklch(42.49% 0.175 292.8)
XYZxyz(11.4633, 6.6554, 35.3239)
Luminance0.0666 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562FA3 #7CA32F
analogous
#2F42A3 #562FA3 #902FA3
triadic
#562FA3 #A3562F #2FA356
tetradic
#562FA3 #A32F42 #7CA32F #2FA390
square
#562FA3 #A32F42 #7CA32F #2FA390
split-complementary
#562FA3 #A3902F #42A32F
monochromatic
#241444 #3D2173 #562FA3 #7246CA #9675D7

Accessibility & contrast

On white

9.01
#562FA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#562FA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562FA3
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562FA3#FFFFFF#000000##FFFFFF
##562FA31.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA6
Deuteranopia (green-blind)
#0047A1
Tritanopia (blue-blind)
#3F4C65
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #562fa3;
/* rgb */ color: rgb(86, 47, 163);
/* oklch */ color: oklch(42.5% 0.175 292.8);
Tailwind
colors: {
  custom: {
    50: '#8d6bbf',
    500: '#562fa3',
    950: '#000000',
  },
}
SCSS
$custom: #562fa3;
$custom-light: #8d6bbf;
$custom-dark: #000000;
JSON
{
  "hex": "#562fa3",
  "rgb": {
    "r": 86,
    "g": 47,
    "b": 163
  },
  "hsl": {
    "h": 260.172,
    "s": 55.238,
    "l": 41.176
  },
  "oklch": {
    "l": 0.42485,
    "c": 0.1752,
    "h": 292.8
  },
  "luminance": 0.06656
}

Semantic roles & 50–950 ramp

primary
#562FA3
secondary
#A4BF6F
accent
#DF49AC
background
#F9F6FB
surface
#F1EBF7
border
#CBC6D0
text
#0D0712
muted
#7E7A81

Preview Lab

Preview with #562FA3

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

Preview Lab → · Contrast checker → · Palette generator →

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