#72126A#72126A

#72126A is a dark, vivid purple. Relative luminance 0.051; OKLCH L 39.1% C 0.160 H 332.1°. Best body text is #FFFFFF at 10.45:1 contrast (WCAG AA passes).

Color values

HEX#72126A
RGBrgb(114, 18, 106)
HSLhsl(305, 73%, 26%)
HSVhsv(305, 84%, 45%)
CMYKcmyk(0%, 84.2%, 7%, 55.3%)
CIE-LABlab(26.88, 49.29, -27.24)
CIE-LCHlch(26.88, 56.31, 331.07°)
OKLaboklab(39.1% 0.1415 -0.075)
OKLCHoklch(39.1% 0.16 332.1)
XYZxyz(9.7573, 5.0515, 14.0940)
Luminance0.0505 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#72126A #12721A
analogous
#4A1272 #72126A #72123A
triadic
#72126A #6A7212 #126A72
tetradic
#72126A #724A12 #12721A #123A72
square
#72126A #724A12 #12721A #123A72
split-complementary
#72126A #3A7212 #12724A
monochromatic
#1A0419 #3D0A39 #72126A #A71A9B #DC23CC

Accessibility & contrast

On white

10.45
#72126A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#72126A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #72126A
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##72126A#FFFFFF#000000##FFFFFF
##72126A1.0010.452.0110.45
#FFFFFF10.451.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#08376C
Deuteranopia (green-blind)
#344468
Tritanopia (blue-blind)
#771F3E
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #72126a;
/* rgb */ color: rgb(114, 18, 106);
/* oklch */ color: oklch(39.1% 0.160 332.1);
Tailwind
colors: {
  custom: {
    50: '#9e5e95',
    500: '#72126a',
    950: '#000000',
  },
}
SCSS
$custom: #72126a;
$custom-light: #9e5e95;
$custom-dark: #000000;
JSON
{
  "hex": "#72126a",
  "rgb": {
    "r": 114,
    "g": 18,
    "b": 106
  },
  "hsl": {
    "h": 305,
    "s": 72.727,
    "l": 25.882
  },
  "oklch": {
    "l": 0.39103,
    "c": 0.1602,
    "h": 332.1
  },
  "luminance": 0.05051
}

Semantic roles & 50–950 ramp

primary
#72126A
secondary
#37A940
accent
#EF4838
background
#FAF5F9
surface
#F3EAF1
border
#CDC6CB
text
#0F050D
muted
#7F797E

Preview Lab

Preview with #72126A

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

Preview Lab → · Contrast checker → · Palette generator →

#72126A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva