#72126E#72126E

#72126E is a dark, vivid purple. Relative luminance 0.051; OKLCH L 39.4% C 0.163 H 330.1°. Best body text is #FFFFFF at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#72126E
RGBrgb(114, 18, 110)
HSLhsl(303, 73%, 26%)
HSVhsv(303, 84%, 45%)
CMYKcmyk(0%, 84.2%, 3.5%, 55.3%)
CIE-LABlab(27.12, 49.94, -29.44)
CIE-LCHlch(27.12, 57.98, 329.48°)
OKLaboklab(39.35% 0.1415 -0.0814)
OKLCHoklch(39.35% 0.163 330.1)
XYZxyz(9.9702, 5.1366, 15.2152)
Luminance0.0514 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#72126E #127216
analogous
#461272 #72126E #72123E
triadic
#72126E #6E7212 #126E72
tetradic
#72126E #724612 #127216 #123E72
square
#72126E #724612 #127216 #123E72
split-complementary
#72126E #3E7212 #127246
monochromatic
#1A0419 #3D0A3B #72126E #A71AA1 #DC23D4

Accessibility & contrast

On white

10.36
#72126E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #72126E
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##72126E#FFFFFF#000000##FFFFFF
##72126E1.0010.362.0310.36
#FFFFFF10.361.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003870
Deuteranopia (green-blind)
#32446C
Tritanopia (blue-blind)
#772141
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #72126e;
/* rgb */ color: rgb(114, 18, 110);
/* oklch */ color: oklch(39.4% 0.163 330.1);
Tailwind
colors: {
  custom: {
    50: '#9e5e98',
    500: '#72126e',
    950: '#000000',
  },
}
SCSS
$custom: #72126e;
$custom-light: #9e5e98;
$custom-dark: #000000;
JSON
{
  "hex": "#72126e",
  "rgb": {
    "r": 114,
    "g": 18,
    "b": 110
  },
  "hsl": {
    "h": 302.5,
    "s": 72.727,
    "l": 25.882
  },
  "oklch": {
    "l": 0.39351,
    "c": 0.16326,
    "h": 330.1
  },
  "luminance": 0.05136
}

Semantic roles & 50–950 ramp

primary
#72126E
secondary
#37A93C
accent
#EF4038
background
#FAF5F9
surface
#F3EAF2
border
#CDC6CC
text
#0F050D
muted
#7F797E

Preview Lab

Preview with #72126E

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

Preview Lab → · Contrast checker → · Palette generator →

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