#5000A5#5000A5

#5000A5 is a dark, highly saturated violet. Relative luminance 0.044; OKLCH L 38.2% C 0.212 H 293.7°. Best body text is #FFFFFF at 11.14:1 contrast (WCAG AA passes).

Color values

HEX#5000A5
RGBrgb(80, 0, 165)
HSLhsl(269, 100%, 32%)
HSVhsv(269, 100%, 65%)
CMYKcmyk(51.5%, 100%, 0%, 35.3%)
CIE-LABlab(25.02, 60.00, -67.46)
CIE-LCHlch(25.02, 90.28, 311.65°)
OKLaboklab(38.24% 0.085 -0.1937)
OKLCHoklch(38.24% 0.212 293.7)
XYZxyz(10.0979, 4.4217, 35.9114)
Luminance0.0442 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5000A5 #55A500
analogous
#0002A5 #5000A5 #A300A5
triadic
#5000A5 #A55000 #00A550
tetradic
#5000A5 #A50002 #55A500 #00A5A3
square
#5000A5 #A50002 #55A500 #00A5A3
split-complementary
#5000A5 #A5A300 #02A500
monochromatic
#15002B #320068 #5000A5 #6E00E2 #8C20FF

Accessibility & contrast

On white

11.14
#5000A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#5000A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5000A5
11.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5000A5#FFFFFF#000000##FFFFFF
##5000A51.0011.141.8811.14
#FFFFFF11.141.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003DA9
Deuteranopia (green-blind)
#0039A2
Tritanopia (blue-blind)
#333F5F
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #5000a5;
/* rgb */ color: rgb(80, 0, 165);
/* oklch */ color: oklch(38.2% 0.212 293.7);
Tailwind
colors: {
  custom: {
    50: '#8c58c1',
    500: '#5000a5',
    950: '#000000',
  },
}
SCSS
$custom: #5000a5;
$custom-light: #8c58c1;
$custom-dark: #000000;
JSON
{
  "hex": "#5000a5",
  "rgb": {
    "r": 80,
    "g": 0,
    "b": 165
  },
  "hsl": {
    "h": 269.091,
    "s": 100,
    "l": 32.353
  },
  "oklch": {
    "l": 0.38237,
    "c": 0.21159,
    "h": 293.7
  },
  "luminance": 0.04422
}

Semantic roles & 50–950 ramp

primary
#5000A5
secondary
#83D928
accent
#FF2997
background
#F9F5FC
surface
#F2E9F8
border
#CCC5D1
text
#0D0412
muted
#7E7981

Preview Lab

Preview with #5000A5

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

Preview Lab → · Contrast checker → · Palette generator →

#5000A5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva