#72267E#72267E

#72267E is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.1% C 0.154 H 321.9°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#72267E
RGBrgb(114, 38, 126)
HSLhsl(292, 54%, 32%)
HSVhsv(292, 70%, 49%)
CMYKcmyk(9.5%, 69.8%, 0%, 50.6%)
CIE-LABlab(30.57, 45.83, -34.12)
CIE-LCHlch(30.57, 57.14, 323.34°)
OKLaboklab(42.13% 0.1215 -0.0952)
OKLCHoklch(42.13% 0.154 321.9)
XYZxyz(11.3980, 6.4706, 20.3832)
Luminance0.0647 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#72267E #327E26
analogous
#46267E #72267E #7E265E
triadic
#72267E #7E7226 #267E72
tetradic
#72267E #7E4626 #327E26 #265E7E
square
#72267E #7E4626 #327E26 #265E7E
split-complementary
#72267E #5E7E26 #267E46
monochromatic
#1D0A20 #47184F #72267E #9D34AD #BB53CB

Accessibility & contrast

On white

9.15
#72267E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#72267E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #72267E
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##72267E#FFFFFF#000000##FFFFFF
##72267E1.009.152.299.15
#FFFFFF9.151.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B4281
Deuteranopia (green-blind)
#314B7C
Tritanopia (blue-blind)
#73354F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #72267e;
/* rgb */ color: rgb(114, 38, 126);
/* oklch */ color: oklch(42.1% 0.154 321.9);
Tailwind
colors: {
  custom: {
    50: '#9d67a4',
    500: '#72267e',
    950: '#000000',
  },
}
SCSS
$custom: #72267e;
$custom-light: #9d67a4;
$custom-dark: #000000;
JSON
{
  "hex": "#72267e",
  "rgb": {
    "r": 114,
    "g": 38,
    "b": 126
  },
  "hsl": {
    "h": 291.818,
    "s": 53.659,
    "l": 32.157
  },
  "oklch": {
    "l": 0.42133,
    "c": 0.15437,
    "h": 321.9
  },
  "luminance": 0.0647
}

Semantic roles & 50–950 ramp

primary
#72267E
secondary
#5DB050
accent
#DD4B5F
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F060F
muted
#7E7A7F

Preview Lab

Preview with #72267E

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

Preview Lab → · Contrast checker → · Palette generator →

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