#721EA4#721EA4

#721EA4 is a dark, vivid violet. Relative luminance 0.072; OKLCH L 44.2% C 0.199 H 308.4°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#721EA4
RGBrgb(114, 30, 164)
HSLhsl(278, 69%, 38%)
HSVhsv(278, 82%, 64%)
CMYKcmyk(30.5%, 81.7%, 0%, 35.7%)
CIE-LABlab(32.23, 56.83, -54.84)
CIE-LCHlch(32.23, 78.97, 316.02°)
OKLaboklab(44.17% 0.1235 -0.1559)
OKLCHoklch(44.17% 0.199 308.4)
XYZxyz(14.1031, 7.1865, 35.7589)
Luminance0.0719 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#721EA4 #50A41E
analogous
#2F1EA4 #721EA4 #A41E93
triadic
#721EA4 #A4721E #1EA472
tetradic
#721EA4 #A42F1E #50A41E #1E93A4
square
#721EA4 #A42F1E #50A41E #1E93A4
split-complementary
#721EA4 #93A41E #1EA42F
monochromatic
#2A0B3D #4E1570 #721EA4 #9628D8 #AF5BE1

Accessibility & contrast

On white

8.62
#721EA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#721EA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #721EA4
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##721EA4#FFFFFF#000000##FFFFFF
##721EA41.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A8
Deuteranopia (green-blind)
#004DA1
Tritanopia (blue-blind)
#6A4262
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #721ea4;
/* rgb */ color: rgb(114, 30, 164);
/* oklch */ color: oklch(44.2% 0.199 308.4);
Tailwind
colors: {
  custom: {
    50: '#a065c0',
    500: '#721ea4',
    950: '#000000',
  },
}
SCSS
$custom: #721ea4;
$custom-light: #a065c0;
$custom-dark: #000000;
JSON
{
  "hex": "#721ea4",
  "rgb": {
    "r": 114,
    "g": 30,
    "b": 164
  },
  "hsl": {
    "h": 277.612,
    "s": 69.072,
    "l": 38.039
  },
  "oklch": {
    "l": 0.44167,
    "c": 0.19889,
    "h": 308.4
  },
  "luminance": 0.07186
}

Semantic roles & 50–950 ramp

primary
#721EA4
secondary
#81C559
accent
#EC3C7E
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #721EA4

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

Preview Lab → · Contrast checker → · Palette generator →

#721EA4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva