#5023CA#5023CA

#5023CA is a dark, highly saturated violet. Relative luminance 0.072; OKLCH L 44.3% C 0.231 H 284.1°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#5023CA
RGBrgb(80, 35, 202)
HSLhsl(256, 70%, 46%)
HSVhsv(256, 83%, 79%)
CMYKcmyk(60.4%, 82.7%, 0%, 20.8%)
CIE-LABlab(32.19, 59.85, -77.61)
CIE-LCHlch(32.19, 98.00, 307.64°)
OKLaboklab(44.29% 0.0563 -0.2237)
OKLCHoklch(44.29% 0.231 284.1)
XYZxyz(14.5667, 7.1708, 56.4822)
Luminance0.0717 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5023CA #9DCA23
analogous
#2349CA #5023CA #A423CA
triadic
#5023CA #CA5023 #23CA50
tetradic
#5023CA #CA2349 #9DCA23 #23CAA4
square
#5023CA #CA2349 #9DCA23 #23CAA4
split-complementary
#5023CA #CAA423 #49CA23
monochromatic
#271162 #3B1A96 #5023CA #734AE0 #9B7FE9

Accessibility & contrast

On white

8.63
#5023CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#5023CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5023CA
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5023CA#FFFFFF#000000##FFFFFF
##5023CA1.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050CE
Deuteranopia (green-blind)
#0046C7
Tritanopia (blue-blind)
#005879
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #5023ca;
/* rgb */ color: rgb(80, 35, 202);
/* oklch */ color: oklch(44.3% 0.231 284.1);
Tailwind
colors: {
  custom: {
    50: '#9066dc',
    500: '#5023ca',
    950: '#000000',
  },
}
SCSS
$custom: #5023ca;
$custom-light: #9066dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5023ca",
  "rgb": {
    "r": 80,
    "g": 35,
    "b": 202
  },
  "hsl": {
    "h": 256.168,
    "s": 70.464,
    "l": 46.471
  },
  "oklch": {
    "l": 0.44288,
    "c": 0.23071,
    "h": 284.1
  },
  "luminance": 0.07172
}

Semantic roles & 50–950 ramp

primary
#5023CA
secondary
#B9D178
accent
#ED3BBD
background
#F9F6FD
surface
#F2EBFB
border
#CCC6D4
text
#0E0615
muted
#7E7A83

Preview Lab

Preview with #5023CA

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

Preview Lab → · Contrast checker → · Palette generator →

#5023CA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva