#5022BD#5022BD

#5022BD is a dark, highly saturated violet. Relative luminance 0.065; OKLCH L 42.9% C 0.217 H 286.4°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#5022BD
RGBrgb(80, 34, 189)
HSLhsl(258, 70%, 44%)
HSVhsv(258, 82%, 74%)
CMYKcmyk(57.7%, 82%, 0%, 25.9%)
CIE-LABlab(30.70, 56.76, -72.45)
CIE-LCHlch(30.70, 92.03, 308.08°)
OKLaboklab(42.86% 0.0613 -0.2087)
OKLCHoklch(42.86% 0.217 286.4)
XYZxyz(13.0628, 6.5229, 48.7050)
Luminance0.0652 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5022BD #8FBD22
analogous
#2242BD #5022BD #9D22BD
triadic
#5022BD #BD5022 #22BD50
tetradic
#5022BD #BD2242 #8FBD22 #22BD9D
square
#5022BD #BD2242 #8FBD22 #22BD9D
split-complementary
#5022BD #BD9D22 #42BD22
monochromatic
#240F55 #3A1989 #5022BD #6E40DD #9573E6

Accessibility & contrast

On white

9.11
#5022BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#5022BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5022BD
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5022BD#FFFFFF#000000##FFFFFF
##5022BD1.009.112.309.11
#FFFFFF9.111.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CC1
Deuteranopia (green-blind)
#0044BA
Tritanopia (blue-blind)
#175271
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #5022bd;
/* rgb */ color: rgb(80, 34, 189);
/* oklch */ color: oklch(42.9% 0.217 286.4);
Tailwind
colors: {
  custom: {
    50: '#8e65d2',
    500: '#5022bd',
    950: '#000000',
  },
}
SCSS
$custom: #5022bd;
$custom-light: #8e65d2;
$custom-dark: #000000;
JSON
{
  "hex": "#5022bd",
  "rgb": {
    "r": 80,
    "g": 34,
    "b": 189
  },
  "hsl": {
    "h": 257.806,
    "s": 69.507,
    "l": 43.725
  },
  "oklch": {
    "l": 0.42855,
    "c": 0.21749,
    "h": 286.4
  },
  "luminance": 0.06524
}

Semantic roles & 50–950 ramp

primary
#5022BD
secondary
#B1CD6E
accent
#EC3BB8
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0E0614
muted
#7E7A83

Preview Lab

Preview with #5022BD

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

Preview Lab → · Contrast checker → · Palette generator →

#5022BD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva