#72126D#72126D

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

Color values

HEX#72126D
RGBrgb(114, 18, 109)
HSLhsl(303, 73%, 26%)
HSVhsv(303, 84%, 45%)
CMYKcmyk(0%, 84.2%, 4.4%, 55.3%)
CIE-LABlab(27.06, 49.78, -28.89)
CIE-LCHlch(27.06, 57.55, 329.87°)
OKLaboklab(39.29% 0.1415 -0.0798)
OKLCHoklch(39.29% 0.162 330.6)
XYZxyz(9.9160, 5.1150, 14.9301)
Luminance0.0511 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#72126D #127217
analogous
#471272 #72126D #72123D
triadic
#72126D #6D7212 #126D72
tetradic
#72126D #724712 #127217 #123D72
square
#72126D #724712 #127217 #123D72
split-complementary
#72126D #3D7212 #127247
monochromatic
#1A0419 #3D0A3A #72126D #A71AA0 #DC23D2

Accessibility & contrast

On white

10.38
#72126D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #72126D
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##72126D#FFFFFF#000000##FFFFFF
##72126D1.0010.382.0210.38
#FFFFFF10.381.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#02386F
Deuteranopia (green-blind)
#32446B
Tritanopia (blue-blind)
#772140
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #72126d;
/* rgb */ color: rgb(114, 18, 109);
/* oklch */ color: oklch(39.3% 0.162 330.6);
Tailwind
colors: {
  custom: {
    50: '#9e5e97',
    500: '#72126d',
    950: '#000000',
  },
}
SCSS
$custom: #72126d;
$custom-light: #9e5e97;
$custom-dark: #000000;
JSON
{
  "hex": "#72126d",
  "rgb": {
    "r": 114,
    "g": 18,
    "b": 109
  },
  "hsl": {
    "h": 303.125,
    "s": 72.727,
    "l": 25.882
  },
  "oklch": {
    "l": 0.39288,
    "c": 0.16249,
    "h": 330.6
  },
  "luminance": 0.05114
}

Semantic roles & 50–950 ramp

primary
#72126D
secondary
#37A93D
accent
#EF4238
background
#FAF5F9
surface
#F3EAF2
border
#CDC6CC
text
#0F050D
muted
#7F797E

Preview Lab

Preview with #72126D

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

Preview Lab → · Contrast checker → · Palette generator →

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