#72267F#72267F

#72267F is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.2% C 0.155 H 321.5°. Best body text is #FFFFFF at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#72267F
RGBrgb(114, 38, 127)
HSLhsl(291, 54%, 32%)
HSVhsv(291, 70%, 50%)
CMYKcmyk(10.2%, 70.1%, 0%, 50.2%)
CIE-LABlab(30.63, 46.03, -34.65)
CIE-LCHlch(30.63, 57.61, 323.03°)
OKLaboklab(42.2% 0.1215 -0.0967)
OKLCHoklch(42.2% 0.155 321.5)
XYZxyz(11.4629, 6.4965, 20.7247)
Luminance0.0650 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#72267F #337F26
analogous
#46267F #72267F #7F2660
triadic
#72267F #7F7226 #267F72
tetradic
#72267F #7F4626 #337F26 #26607F
square
#72267F #7F4626 #337F26 #26607F
split-complementary
#72267F #607F26 #267F46
monochromatic
#1D0A21 #481850 #72267F #9C34AE #BA54CC

Accessibility & contrast

On white

9.13
#72267F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#72267F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #72267F
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##72267F#FFFFFF#000000##FFFFFF
##72267F1.009.132.309.13
#FFFFFF9.131.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.131.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #72267f;
/* rgb */ color: rgb(114, 38, 127);
/* oklch */ color: oklch(42.2% 0.155 321.5);
Tailwind
colors: {
  custom: {
    50: '#9d67a4',
    500: '#72267f',
    950: '#000000',
  },
}
SCSS
$custom: #72267f;
$custom-light: #9d67a4;
$custom-dark: #000000;
JSON
{
  "hex": "#72267f",
  "rgb": {
    "r": 114,
    "g": 38,
    "b": 127
  },
  "hsl": {
    "h": 291.236,
    "s": 53.939,
    "l": 32.353
  },
  "oklch": {
    "l": 0.42198,
    "c": 0.15531,
    "h": 321.5
  },
  "luminance": 0.06496
}

Semantic roles & 50–950 ramp

primary
#72267F
secondary
#5FB051
accent
#DD4A60
background
#FAF6FA
surface
#F3EBF4
border
#CDC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #72267F

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

Preview Lab → · Contrast checker → · Palette generator →

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