#562492#562492

#562492 is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.6% C 0.169 H 299.1°. Best body text is #FFFFFF at 10.18:1 contrast (WCAG AA passes).

Color values

HEX#562492
RGBrgb(86, 36, 146)
HSLhsl(267, 60%, 36%)
HSVhsv(267, 75%, 57%)
CMYKcmyk(41.1%, 75.3%, 0%, 42.7%)
CIE-LABlab(27.62, 45.31, -51.54)
CIE-LCHlch(27.62, 68.62, 311.32°)
OKLaboklab(39.63% 0.0821 -0.1473)
OKLCHoklch(39.63% 0.169 299.1)
XYZxyz(9.6556, 5.3154, 27.7058)
Luminance0.0532 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562492 #609224
analogous
#242992 #562492 #8D2492
triadic
#562492 #925624 #249256
tetradic
#562492 #922429 #609224 #24928D
square
#562492 #922429 #609224 #24928D
split-complementary
#562492 #928D24 #299224
monochromatic
#1C0C30 #391861 #562492 #7330C3 #935AD6

Accessibility & contrast

On white

10.18
#562492 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#562492 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562492
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562492#FFFFFF#000000##FFFFFF
##5624921.0010.182.0610.18
#FFFFFF10.181.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004195
Deuteranopia (green-blind)
#004090
Tritanopia (blue-blind)
#484059
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #562492;
/* rgb */ color: rgb(86, 36, 146);
/* oklch */ color: oklch(39.6% 0.169 299.1);
Tailwind
colors: {
  custom: {
    50: '#8b64b3',
    500: '#562492',
    950: '#000000',
  },
}
SCSS
$custom: #562492;
$custom-light: #8b64b3;
$custom-dark: #000000;
JSON
{
  "hex": "#562492",
  "rgb": {
    "r": 86,
    "g": 36,
    "b": 146
  },
  "hsl": {
    "h": 267.273,
    "s": 60.44,
    "l": 35.686
  },
  "oklch": {
    "l": 0.39632,
    "c": 0.1686,
    "h": 299.1
  },
  "luminance": 0.05316
}

Semantic roles & 50–950 ramp

primary
#562492
secondary
#8DBB57
accent
#E4449B
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0D0611
muted
#7D7A80

Preview Lab

Preview with #562492

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

Preview Lab → · Contrast checker → · Palette generator →

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