#72127E#72127E

#72127E is a dark, vivid purple. Relative luminance 0.055; OKLCH L 40.4% C 0.176 H 322.8°. Best body text is #FFFFFF at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#72127E
RGBrgb(114, 18, 126)
HSLhsl(293, 75%, 28%)
HSVhsv(293, 86%, 49%)
CMYKcmyk(9.5%, 85.7%, 0%, 50.6%)
CIE-LABlab(28.16, 52.74, -37.98)
CIE-LCHlch(28.16, 64.99, 324.24°)
OKLaboklab(40.42% 0.1402 -0.1063)
OKLCHoklch(40.42% 0.176 322.8)
XYZxyz(10.9213, 5.5171, 20.2243)
Luminance0.0552 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#72127E #1E7E12
analogous
#3C127E #72127E #7E1254
triadic
#72127E #7E7212 #127E72
tetradic
#72127E #7E3C12 #1E7E12 #12547E
square
#72127E #7E3C12 #1E7E12 #12547E
split-complementary
#72127E #547E12 #127E3C
monochromatic
#18041B #420A48 #72127E #A21AB4 #CC2AE1

Accessibility & contrast

On white

9.98
#72127E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#72127E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #72127E
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##72127E#FFFFFF#000000##FFFFFF
##72127E1.009.982.109.98
#FFFFFF9.981.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C81
Deuteranopia (green-blind)
#26467C
Tritanopia (blue-blind)
#742A4A
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #72127e;
/* rgb */ color: rgb(114, 18, 126);
/* oklch */ color: oklch(40.4% 0.176 322.8);
Tailwind
colors: {
  custom: {
    50: '#9e5fa4',
    500: '#72127e',
    950: '#000000',
  },
}
SCSS
$custom: #72127e;
$custom-light: #9e5fa4;
$custom-dark: #000000;
JSON
{
  "hex": "#72127e",
  "rgb": {
    "r": 114,
    "g": 18,
    "b": 126
  },
  "hsl": {
    "h": 293.333,
    "s": 75,
    "l": 28.235
  },
  "oklch": {
    "l": 0.40418,
    "c": 0.17596,
    "h": 322.8
  },
  "luminance": 0.05516
}

Semantic roles & 50–950 ramp

primary
#72127E
secondary
#46B438
accent
#F2364B
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F050F
muted
#7F7A7F

Preview Lab

Preview with #72127E

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

Preview Lab → · Contrast checker → · Palette generator →

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