#72257F#72257F

#72257F is a dark, vivid purple. Relative luminance 0.064; OKLCH L 42.1% C 0.157 H 321.5°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#72257F
RGBrgb(114, 37, 127)
HSLhsl(291, 55%, 32%)
HSVhsv(291, 71%, 50%)
CMYKcmyk(10.2%, 70.9%, 0%, 50.2%)
CIE-LABlab(30.48, 46.46, -34.89)
CIE-LCHlch(30.48, 58.10, 323.10°)
OKLaboklab(42.09% 0.1227 -0.0974)
OKLCHoklch(42.09% 0.157 321.5)
XYZxyz(11.4313, 6.4335, 20.7142)
Luminance0.0643 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#72257F #327F25
analogous
#45257F #72257F #7F255F
triadic
#72257F #7F7225 #257F72
tetradic
#72257F #7F4525 #327F25 #255F7F
square
#72257F #7F4525 #327F25 #255F7F
split-complementary
#72257F #5F7F25 #257F45
monochromatic
#1D0920 #471750 #72257F #9D33AE #BB52CD

Accessibility & contrast

On white

9.18
#72257F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#72257F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #72257F
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##72257F#FFFFFF#000000##FFFFFF
##72257F1.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#054282
Deuteranopia (green-blind)
#304B7D
Tritanopia (blue-blind)
#73354F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #72257f;
/* rgb */ color: rgb(114, 37, 127);
/* oklch */ color: oklch(42.1% 0.157 321.5);
Tailwind
colors: {
  custom: {
    50: '#9e67a4',
    500: '#72257f',
    950: '#000000',
  },
}
SCSS
$custom: #72257f;
$custom-light: #9e67a4;
$custom-dark: #000000;
JSON
{
  "hex": "#72257f",
  "rgb": {
    "r": 114,
    "g": 37,
    "b": 127
  },
  "hsl": {
    "h": 291.333,
    "s": 54.878,
    "l": 32.157
  },
  "oklch": {
    "l": 0.42089,
    "c": 0.15665,
    "h": 321.5
  },
  "luminance": 0.06433
}

Semantic roles & 50–950 ramp

primary
#72257F
secondary
#5DB14F
accent
#DE4A5F
background
#FAF6FA
surface
#F3EBF4
border
#CDC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #72257F

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

Preview Lab → · Contrast checker → · Palette generator →

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