#72126C#72126C

#72126C is a dark, vivid purple. Relative luminance 0.051; OKLCH L 39.2% C 0.162 H 331.1°. Best body text is #FFFFFF at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#72126C
RGBrgb(114, 18, 108)
HSLhsl(304, 73%, 26%)
HSVhsv(304, 84%, 45%)
CMYKcmyk(0%, 84.2%, 5.3%, 55.3%)
CIE-LABlab(27.00, 49.61, -28.34)
CIE-LCHlch(27.00, 57.14, 330.26°)
OKLaboklab(39.23% 0.1415 -0.0782)
OKLCHoklch(39.23% 0.162 331.1)
XYZxyz(9.8625, 5.0936, 14.6482)
Luminance0.0509 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#72126C #127218
analogous
#481272 #72126C #72123C
triadic
#72126C #6C7212 #126C72
tetradic
#72126C #724812 #127218 #123C72
square
#72126C #724812 #127218 #123C72
split-complementary
#72126C #3C7212 #127248
monochromatic
#1A0419 #3D0A3A #72126C #A71A9E #DC23D0

Accessibility & contrast

On white

10.40
#72126C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#72126C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #72126C
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##72126C#FFFFFF#000000##FFFFFF
##72126C1.0010.402.0210.40
#FFFFFF10.401.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#04386E
Deuteranopia (green-blind)
#33446A
Tritanopia (blue-blind)
#772040
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #72126c;
/* rgb */ color: rgb(114, 18, 108);
/* oklch */ color: oklch(39.2% 0.162 331.1);
Tailwind
colors: {
  custom: {
    50: '#9e5e96',
    500: '#72126c',
    950: '#000000',
  },
}
SCSS
$custom: #72126c;
$custom-light: #9e5e96;
$custom-dark: #000000;
JSON
{
  "hex": "#72126c",
  "rgb": {
    "r": 114,
    "g": 18,
    "b": 108
  },
  "hsl": {
    "h": 303.75,
    "s": 72.727,
    "l": 25.882
  },
  "oklch": {
    "l": 0.39226,
    "c": 0.16172,
    "h": 331.1
  },
  "luminance": 0.05093
}

Semantic roles & 50–950 ramp

primary
#72126C
secondary
#37A93E
accent
#EF4438
background
#FAF5F9
surface
#F3EAF2
border
#CDC6CC
text
#0F050D
muted
#7F797E

Preview Lab

Preview with #72126C

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

Preview Lab → · Contrast checker → · Palette generator →

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