#72259E#72259E

#72259E is a dark, vivid violet. Relative luminance 0.074; OKLCH L 44.3% C 0.186 H 309.7°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#72259E
RGBrgb(114, 37, 158)
HSLhsl(278, 62%, 38%)
HSVhsv(278, 77%, 62%)
CMYKcmyk(27.8%, 76.6%, 0%, 38%)
CIE-LABlab(32.63, 52.99, -50.54)
CIE-LCHlch(32.63, 73.23, 316.35°)
OKLaboklab(44.3% 0.119 -0.1433)
OKLCHoklch(44.3% 0.186 309.7)
XYZxyz(13.7713, 7.3694, 33.0381)
Luminance0.0737 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#72259E #519E25
analogous
#36259E #72259E #9E258D
triadic
#72259E #9E7225 #259E72
tetradic
#72259E #9E3625 #519E25 #258D9E
square
#72259E #9E3625 #519E25 #258D9E
split-complementary
#72259E #8D9E25 #259E36
monochromatic
#2A0E3B #4E196C #72259E #9631CF #AF63DA

Accessibility & contrast

On white

8.49
#72259E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#72259E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #72259E
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##72259E#FFFFFF#000000##FFFFFF
##72259E1.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA1
Deuteranopia (green-blind)
#004E9B
Tritanopia (blue-blind)
#6C4260
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #72259e;
/* rgb */ color: rgb(114, 37, 158);
/* oklch */ color: oklch(44.3% 0.186 309.7);
Tailwind
colors: {
  custom: {
    50: '#9f68bb',
    500: '#72259e',
    950: '#000000',
  },
}
SCSS
$custom: #72259e;
$custom-light: #9f68bb;
$custom-dark: #000000;
JSON
{
  "hex": "#72259e",
  "rgb": {
    "r": 114,
    "g": 37,
    "b": 158
  },
  "hsl": {
    "h": 278.182,
    "s": 62.051,
    "l": 38.235
  },
  "oklch": {
    "l": 0.44304,
    "c": 0.18631,
    "h": 309.7
  },
  "luminance": 0.07369
}

Semantic roles & 50–950 ramp

primary
#72259E
secondary
#82C05F
accent
#E5437E
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #72259E

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

Preview Lab → · Contrast checker → · Palette generator →

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