#72127F#72127F

#72127F is a dark, vivid purple. Relative luminance 0.055; OKLCH L 40.5% C 0.177 H 322.4°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#72127F
RGBrgb(114, 18, 127)
HSLhsl(293, 75%, 28%)
HSVhsv(293, 86%, 50%)
CMYKcmyk(10.2%, 85.8%, 0%, 50.2%)
CIE-LABlab(28.23, 52.92, -38.49)
CIE-LCHlch(28.23, 65.44, 323.97°)
OKLaboklab(40.49% 0.1401 -0.1078)
OKLCHoklch(40.49% 0.177 322.4)
XYZxyz(10.9861, 5.5430, 20.5658)
Luminance0.0554 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#72127F #1F7F12
analogous
#3B127F #72127F #7F1255
triadic
#72127F #7F7212 #127F72
tetradic
#72127F #7F3B12 #1F7F12 #12557F
square
#72127F #7F3B12 #1F7F12 #12557F
split-complementary
#72127F #557F12 #127F3B
monochromatic
#18041B #420A49 #72127F #A21AB5 #CB2BE1

Accessibility & contrast

On white

9.96
#72127F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#72127F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #72127F
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##72127F#FFFFFF#000000##FFFFFF
##72127F1.009.962.119.96
#FFFFFF9.961.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C82
Deuteranopia (green-blind)
#25467D
Tritanopia (blue-blind)
#732B4B
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #72127f;
/* rgb */ color: rgb(114, 18, 127);
/* oklch */ color: oklch(40.5% 0.177 322.4);
Tailwind
colors: {
  custom: {
    50: '#9e5fa5',
    500: '#72127f',
    950: '#000000',
  },
}
SCSS
$custom: #72127f;
$custom-light: #9e5fa5;
$custom-dark: #000000;
JSON
{
  "hex": "#72127f",
  "rgb": {
    "r": 114,
    "g": 18,
    "b": 127
  },
  "hsl": {
    "h": 292.844,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.40489,
    "c": 0.17677,
    "h": 322.4
  },
  "luminance": 0.05542
}

Semantic roles & 50–950 ramp

primary
#72127F
secondary
#47B538
accent
#F2364C
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F050F
muted
#7F7A7F

Preview Lab

Preview with #72127F

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

Preview Lab → · Contrast checker → · Palette generator →

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