#5026A2#5026A2

#5026A2 is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.6% C 0.184 H 291.4°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#5026A2
RGBrgb(80, 38, 162)
HSLhsl(260, 62%, 39%)
HSVhsv(260, 77%, 64%)
CMYKcmyk(50.6%, 76.5%, 0%, 36.5%)
CIE-LABlab(28.64, 47.65, -59.67)
CIE-LCHlch(28.64, 76.36, 308.61°)
OKLaboklab(40.63% 0.0671 -0.1713)
OKLCHoklch(40.63% 0.184 291.4)
XYZxyz(10.5211, 5.6999, 34.7212)
Luminance0.0570 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5026A2 #78A226
analogous
#263AA2 #5026A2 #8E26A2
triadic
#5026A2 #A25026 #26A250
tetradic
#5026A2 #A2263A #78A226 #26A28E
square
#5026A2 #A2263A #78A226 #26A28E
split-complementary
#5026A2 #A28E26 #3AA226
monochromatic
#1F0F3F #381A70 #5026A2 #6A35D0 #8E67DB

Accessibility & contrast

On white

9.81
#5026A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#5026A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5026A2
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5026A2#FFFFFF#000000##FFFFFF
##5026A21.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A6
Deuteranopia (green-blind)
#0041A0
Tritanopia (blue-blind)
#344863
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #5026a2;
/* rgb */ color: rgb(80, 38, 162);
/* oklch */ color: oklch(40.6% 0.184 291.4);
Tailwind
colors: {
  custom: {
    50: '#8a65bf',
    500: '#5026a2',
    950: '#000000',
  },
}
SCSS
$custom: #5026a2;
$custom-light: #8a65bf;
$custom-dark: #000000;
JSON
{
  "hex": "#5026a2",
  "rgb": {
    "r": 80,
    "g": 38,
    "b": 162
  },
  "hsl": {
    "h": 260.323,
    "s": 62,
    "l": 39.216
  },
  "oklch": {
    "l": 0.40629,
    "c": 0.18402,
    "h": 291.4
  },
  "luminance": 0.057
}

Semantic roles & 50–950 ramp

primary
#5026A2
secondary
#A1C163
accent
#E543AE
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0D0612
muted
#7D7A81

Preview Lab

Preview with #5026A2

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

Preview Lab → · Contrast checker → · Palette generator →

#5026A2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva