#721F9F#721F9F

#721F9F is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.8% C 0.193 H 309.9°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#721F9F
RGBrgb(114, 31, 159)
HSLhsl(279, 67%, 37%)
HSVhsv(279, 81%, 62%)
CMYKcmyk(28.3%, 80.5%, 0%, 37.6%)
CIE-LABlab(31.95, 55.41, -52.27)
CIE-LCHlch(31.95, 76.17, 316.67°)
OKLaboklab(43.85% 0.124 -0.1484)
OKLCHoklch(43.85% 0.193 309.9)
XYZxyz(13.6862, 7.0609, 33.4361)
Luminance0.0706 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#721F9F #4C9F1F
analogous
#321F9F #721F9F #9F1F8C
triadic
#721F9F #9F721F #1F9F72
tetradic
#721F9F #9F321F #4C9F1F #1F8C9F
square
#721F9F #9F321F #4C9F1F #1F8C9F
split-complementary
#721F9F #8C9F1F #1F9F32
monochromatic
#290B39 #4D156C #721F9F #9729D2 #B05ADF

Accessibility & contrast

On white

8.71
#721F9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#721F9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #721F9F
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##721F9F#FFFFFF#000000##FFFFFF
##721F9F1.008.712.418.71
#FFFFFF8.711.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A2
Deuteranopia (green-blind)
#004C9C
Tritanopia (blue-blind)
#6B405F
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #721f9f;
/* rgb */ color: rgb(114, 31, 159);
/* oklch */ color: oklch(43.8% 0.193 309.9);
Tailwind
colors: {
  custom: {
    50: '#9f66bc',
    500: '#721f9f',
    950: '#000000',
  },
}
SCSS
$custom: #721f9f;
$custom-light: #9f66bc;
$custom-dark: #000000;
JSON
{
  "hex": "#721f9f",
  "rgb": {
    "r": 114,
    "g": 31,
    "b": 159
  },
  "hsl": {
    "h": 278.906,
    "s": 67.368,
    "l": 37.255
  },
  "oklch": {
    "l": 0.43845,
    "c": 0.19334,
    "h": 309.9
  },
  "luminance": 0.07061
}

Semantic roles & 50–950 ramp

primary
#721F9F
secondary
#7DC357
accent
#EA3E7A
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #721F9F

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

Preview Lab → · Contrast checker → · Palette generator →

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