#72259D#72259D

#72259D is a dark, vivid violet. Relative luminance 0.073; OKLCH L 44.2% C 0.185 H 310.0°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#72259D
RGBrgb(114, 37, 157)
HSLhsl(279, 62%, 38%)
HSVhsv(279, 76%, 62%)
CMYKcmyk(27.4%, 76.4%, 0%, 38.4%)
CIE-LABlab(32.56, 52.76, -50.06)
CIE-LCHlch(32.56, 72.73, 316.51°)
OKLaboklab(44.23% 0.1192 -0.1419)
OKLCHoklch(44.23% 0.185 310)
XYZxyz(13.6856, 7.3352, 32.5866)
Luminance0.0733 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#72259D #509D25
analogous
#36259D #72259D #9D258C
triadic
#72259D #9D7225 #259D72
tetradic
#72259D #9D3625 #509D25 #258C9D
square
#72259D #9D3625 #509D25 #258C9D
split-complementary
#72259D #8C9D25 #259D36
monochromatic
#2A0E3A #4E196B #72259D #9631CE #AF62DA

Accessibility & contrast

On white

8.51
#72259D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #72259D
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##72259D#FFFFFF#000000##FFFFFF
##72259D1.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A0
Deuteranopia (green-blind)
#034E9B
Tritanopia (blue-blind)
#6C4260
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #72259d;
/* rgb */ color: rgb(114, 37, 157);
/* oklch */ color: oklch(44.2% 0.185 310.0);
Tailwind
colors: {
  custom: {
    50: '#9f68bb',
    500: '#72259d',
    950: '#000000',
  },
}
SCSS
$custom: #72259d;
$custom-light: #9f68bb;
$custom-dark: #000000;
JSON
{
  "hex": "#72259d",
  "rgb": {
    "r": 114,
    "g": 37,
    "b": 157
  },
  "hsl": {
    "h": 278.5,
    "s": 61.856,
    "l": 38.039
  },
  "oklch": {
    "l": 0.44227,
    "c": 0.18533,
    "h": 310
  },
  "luminance": 0.07335
}

Semantic roles & 50–950 ramp

primary
#72259D
secondary
#81BF5E
accent
#E5437D
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #72259D

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

Preview Lab → · Contrast checker → · Palette generator →

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