#721EA5#721EA5

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

Color values

HEX#721EA5
RGBrgb(114, 30, 165)
HSLhsl(277, 69%, 38%)
HSVhsv(277, 82%, 65%)
CMYKcmyk(30.9%, 81.8%, 0%, 35.3%)
CIE-LABlab(32.31, 57.04, -55.31)
CIE-LCHlch(32.31, 79.45, 315.89°)
OKLaboklab(44.25% 0.1232 -0.1573)
OKLCHoklch(44.25% 0.2 308.1)
XYZxyz(14.1938, 7.2228, 36.2364)
Luminance0.0722 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#721EA5 #51A51E
analogous
#2E1EA5 #721EA5 #A51E94
triadic
#721EA5 #A5721E #1EA572
tetradic
#721EA5 #A52E1E #51A51E #1E94A5
square
#721EA5 #A52E1E #51A51E #1E94A5
split-complementary
#721EA5 #94A51E #1EA52E
monochromatic
#2A0B3D #4E1571 #721EA5 #9628D8 #AF5CE1

Accessibility & contrast

On white

8.59
#721EA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #721EA5
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##721EA5#FFFFFF#000000##FFFFFF
##721EA51.008.592.448.59
#FFFFFF8.591.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A9
Deuteranopia (green-blind)
#004DA2
Tritanopia (blue-blind)
#6A4263
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #721ea5;
/* rgb */ color: rgb(114, 30, 165);
/* oklch */ color: oklch(44.2% 0.200 308.1);
Tailwind
colors: {
  custom: {
    50: '#a065c1',
    500: '#721ea5',
    950: '#000000',
  },
}
SCSS
$custom: #721ea5;
$custom-light: #a065c1;
$custom-dark: #000000;
JSON
{
  "hex": "#721ea5",
  "rgb": {
    "r": 114,
    "g": 30,
    "b": 165
  },
  "hsl": {
    "h": 277.333,
    "s": 69.231,
    "l": 38.235
  },
  "oklch": {
    "l": 0.44248,
    "c": 0.19982,
    "h": 308.1
  },
  "luminance": 0.07223
}

Semantic roles & 50–950 ramp

primary
#721EA5
secondary
#82C559
accent
#EC3C7E
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #721EA5

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

Preview Lab → · Contrast checker → · Palette generator →

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