#72126B#72126B

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

Color values

HEX#72126B
RGBrgb(114, 18, 107)
HSLhsl(304, 73%, 26%)
HSVhsv(304, 84%, 45%)
CMYKcmyk(0%, 84.2%, 6.1%, 55.3%)
CIE-LABlab(26.94, 49.45, -27.79)
CIE-LCHlch(26.94, 56.72, 330.66°)
OKLaboklab(39.16% 0.1415 -0.0766)
OKLCHoklch(39.16% 0.161 331.6)
XYZxyz(9.8096, 5.0724, 14.3695)
Luminance0.0507 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#72126B #127219
analogous
#491272 #72126B #72123B
triadic
#72126B #6B7212 #126B72
tetradic
#72126B #724912 #127219 #123B72
square
#72126B #724912 #127219 #123B72
split-complementary
#72126B #3B7212 #127249
monochromatic
#1A0419 #3D0A39 #72126B #A71A9D #DC23CE

Accessibility & contrast

On white

10.42
#72126B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #72126B
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##72126B#FFFFFF#000000##FFFFFF
##72126B1.0010.422.0110.42
#FFFFFF10.421.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#06376D
Deuteranopia (green-blind)
#334469
Tritanopia (blue-blind)
#77203F
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #72126b;
/* rgb */ color: rgb(114, 18, 107);
/* oklch */ color: oklch(39.2% 0.161 331.6);
Tailwind
colors: {
  custom: {
    50: '#9e5e96',
    500: '#72126b',
    950: '#000000',
  },
}
SCSS
$custom: #72126b;
$custom-light: #9e5e96;
$custom-dark: #000000;
JSON
{
  "hex": "#72126b",
  "rgb": {
    "r": 114,
    "g": 18,
    "b": 107
  },
  "hsl": {
    "h": 304.375,
    "s": 72.727,
    "l": 25.882
  },
  "oklch": {
    "l": 0.39164,
    "c": 0.16096,
    "h": 331.6
  },
  "luminance": 0.05072
}

Semantic roles & 50–950 ramp

primary
#72126B
secondary
#37A93F
accent
#EF4638
background
#FAF5F9
surface
#F3EAF2
border
#CDC6CC
text
#0F050D
muted
#7F797E

Preview Lab

Preview with #72126B

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

Preview Lab → · Contrast checker → · Palette generator →

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