#721F9D#721F9D

#721F9D is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.7% C 0.191 H 310.5°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#721F9D
RGBrgb(114, 31, 157)
HSLhsl(280, 67%, 37%)
HSVhsv(280, 80%, 62%)
CMYKcmyk(27.4%, 80.3%, 0%, 38.4%)
CIE-LABlab(31.79, 54.98, -51.31)
CIE-LCHlch(31.79, 75.20, 316.98°)
OKLaboklab(43.69% 0.1245 -0.1455)
OKLCHoklch(43.69% 0.191 310.5)
XYZxyz(13.5140, 6.9920, 32.5294)
Luminance0.0699 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#721F9D #4A9D1F
analogous
#331F9D #721F9D #9D1F89
triadic
#721F9D #9D721F #1F9D72
tetradic
#721F9D #9D331F #4A9D1F #1F899D
square
#721F9D #9D331F #4A9D1F #1F899D
split-complementary
#721F9D #899D1F #1F9D33
monochromatic
#280B37 #4D156A #721F9D #9729D0 #B058DE

Accessibility & contrast

On white

8.76
#721F9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#721F9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #721F9D
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##721F9D#FFFFFF#000000##FFFFFF
##721F9D1.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A0
Deuteranopia (green-blind)
#004C9A
Tritanopia (blue-blind)
#6C3F5E
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #721f9d;
/* rgb */ color: rgb(114, 31, 157);
/* oklch */ color: oklch(43.7% 0.191 310.5);
Tailwind
colors: {
  custom: {
    50: '#9f65bb',
    500: '#721f9d',
    950: '#000000',
  },
}
SCSS
$custom: #721f9d;
$custom-light: #9f65bb;
$custom-dark: #000000;
JSON
{
  "hex": "#721f9d",
  "rgb": {
    "r": 114,
    "g": 31,
    "b": 157
  },
  "hsl": {
    "h": 279.524,
    "s": 67.021,
    "l": 36.863
  },
  "oklch": {
    "l": 0.43686,
    "c": 0.19149,
    "h": 310.5
  },
  "luminance": 0.06992
}

Semantic roles & 50–950 ramp

primary
#721F9D
secondary
#7BC256
accent
#EA3E79
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #721F9D

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

Preview Lab → · Contrast checker → · Palette generator →

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