#72257E#72257E

#72257E is a dark, vivid purple. Relative luminance 0.064; OKLCH L 42.0% C 0.156 H 322.0°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#72257E
RGBrgb(114, 37, 126)
HSLhsl(292, 55%, 32%)
HSVhsv(292, 71%, 49%)
CMYKcmyk(9.5%, 70.6%, 0%, 50.6%)
CIE-LABlab(30.42, 46.26, -34.36)
CIE-LCHlch(30.42, 57.63, 323.40°)
OKLaboklab(42.02% 0.1227 -0.0959)
OKLCHoklch(42.02% 0.156 322)
XYZxyz(11.3665, 6.4075, 20.3727)
Luminance0.0641 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#72257E #317E25
analogous
#46257E #72257E #7E255E
triadic
#72257E #7E7225 #257E72
tetradic
#72257E #7E4625 #317E25 #255E7E
square
#72257E #7E4625 #317E25 #255E7E
split-complementary
#72257E #5E7E25 #257E46
monochromatic
#1C091F #47174F #72257E #9D33AD #BB51CC

Accessibility & contrast

On white

9.20
#72257E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#72257E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #72257E
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##72257E#FFFFFF#000000##FFFFFF
##72257E1.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#084281
Deuteranopia (green-blind)
#314B7C
Tritanopia (blue-blind)
#73344E
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #72257e;
/* rgb */ color: rgb(114, 37, 126);
/* oklch */ color: oklch(42.0% 0.156 322.0);
Tailwind
colors: {
  custom: {
    50: '#9d67a4',
    500: '#72257e',
    950: '#000000',
  },
}
SCSS
$custom: #72257e;
$custom-light: #9d67a4;
$custom-dark: #000000;
JSON
{
  "hex": "#72257e",
  "rgb": {
    "r": 114,
    "g": 37,
    "b": 126
  },
  "hsl": {
    "h": 291.91,
    "s": 54.601,
    "l": 31.961
  },
  "oklch": {
    "l": 0.42024,
    "c": 0.15572,
    "h": 322
  },
  "luminance": 0.06407
}

Semantic roles & 50–950 ramp

primary
#72257E
secondary
#5CB04F
accent
#DE4A5E
background
#FAF6FA
surface
#F3EBF4
border
#CDC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #72257E

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

Preview Lab → · Contrast checker → · Palette generator →

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