#72126F#72126F

#72126F is a dark, vivid purple. Relative luminance 0.052; OKLCH L 39.4% C 0.164 H 329.6°. Best body text is #FFFFFF at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#72126F
RGBrgb(114, 18, 111)
HSLhsl(302, 73%, 26%)
HSVhsv(302, 84%, 45%)
CMYKcmyk(0%, 84.2%, 2.6%, 55.3%)
CIE-LABlab(27.18, 50.11, -29.99)
CIE-LCHlch(27.18, 58.40, 329.10°)
OKLaboklab(39.41% 0.1415 -0.083)
OKLCHoklch(39.41% 0.164 329.6)
XYZxyz(10.0249, 5.1585, 15.5035)
Luminance0.0516 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#72126F #127215
analogous
#451272 #72126F #72123F
triadic
#72126F #6F7212 #126F72
tetradic
#72126F #724512 #127215 #123F72
square
#72126F #724512 #127215 #123F72
split-complementary
#72126F #3F7212 #127245
monochromatic
#1A041A #3D0A3C #72126F #A71AA2 #DC23D6

Accessibility & contrast

On white

10.34
#72126F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#72126F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #72126F
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##72126F#FFFFFF#000000##FFFFFF
##72126F1.0010.342.0310.34
#FFFFFF10.341.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003871
Deuteranopia (green-blind)
#31456D
Tritanopia (blue-blind)
#762241
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #72126f;
/* rgb */ color: rgb(114, 18, 111);
/* oklch */ color: oklch(39.4% 0.164 329.6);
Tailwind
colors: {
  custom: {
    50: '#9e5e99',
    500: '#72126f',
    950: '#000000',
  },
}
SCSS
$custom: #72126f;
$custom-light: #9e5e99;
$custom-dark: #000000;
JSON
{
  "hex": "#72126f",
  "rgb": {
    "r": 114,
    "g": 18,
    "b": 111
  },
  "hsl": {
    "h": 301.875,
    "s": 72.727,
    "l": 25.882
  },
  "oklch": {
    "l": 0.39414,
    "c": 0.16403,
    "h": 329.6
  },
  "luminance": 0.05158
}

Semantic roles & 50–950 ramp

primary
#72126F
secondary
#37A93A
accent
#EF3E38
background
#FAF5F9
surface
#F3EAF2
border
#CDC6CC
text
#0F050E
muted
#7F797E

Preview Lab

Preview with #72126F

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

Preview Lab → · Contrast checker → · Palette generator →

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