#72259F#72259F

#72259F is a dark, vivid violet. Relative luminance 0.074; OKLCH L 44.4% C 0.187 H 309.4°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#72259F
RGBrgb(114, 37, 159)
HSLhsl(278, 62%, 38%)
HSVhsv(278, 77%, 62%)
CMYKcmyk(28.3%, 76.7%, 0%, 37.6%)
CIE-LABlab(32.71, 53.21, -51.03)
CIE-LCHlch(32.71, 73.72, 316.20°)
OKLaboklab(44.38% 0.1188 -0.1448)
OKLCHoklch(44.38% 0.187 309.4)
XYZxyz(13.8577, 7.4040, 33.4933)
Luminance0.0740 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#72259F #529F25
analogous
#35259F #72259F #9F258F
triadic
#72259F #9F7225 #259F72
tetradic
#72259F #9F3525 #529F25 #258F9F
square
#72259F #9F3525 #529F25 #258F9F
split-complementary
#72259F #8F9F25 #259F35
monochromatic
#2B0E3C #4E196D #72259F #9532CF #AF64DB

Accessibility & contrast

On white

8.47
#72259F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#72259F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #72259F
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##72259F#FFFFFF#000000##FFFFFF
##72259F1.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA2
Deuteranopia (green-blind)
#004E9C
Tritanopia (blue-blind)
#6B4261
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #72259f;
/* rgb */ color: rgb(114, 37, 159);
/* oklch */ color: oklch(44.4% 0.187 309.4);
Tailwind
colors: {
  custom: {
    50: '#9f68bc',
    500: '#72259f',
    950: '#000000',
  },
}
SCSS
$custom: #72259f;
$custom-light: #9f68bc;
$custom-dark: #000000;
JSON
{
  "hex": "#72259f",
  "rgb": {
    "r": 114,
    "g": 37,
    "b": 159
  },
  "hsl": {
    "h": 277.869,
    "s": 62.245,
    "l": 38.431
  },
  "oklch": {
    "l": 0.44382,
    "c": 0.18727,
    "h": 309.4
  },
  "luminance": 0.07404
}

Semantic roles & 50–950 ramp

primary
#72259F
secondary
#83C05F
accent
#E5427F
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #72259F

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

Preview Lab → · Contrast checker → · Palette generator →

#72259F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva