#72167F#72167F

#72167F is a dark, vivid purple. Relative luminance 0.057; OKLCH L 40.8% C 0.173 H 322.3°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#72167F
RGBrgb(114, 22, 127)
HSLhsl(293, 70%, 29%)
HSVhsv(293, 83%, 50%)
CMYKcmyk(10.2%, 82.7%, 0%, 50.2%)
CIE-LABlab(28.60, 51.83, -37.90)
CIE-LCHlch(28.60, 64.21, 323.83°)
OKLaboklab(40.75% 0.1371 -0.1061)
OKLCHoklch(40.75% 0.173 322.3)
XYZxyz(11.0567, 5.6842, 20.5893)
Luminance0.0568 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#72167F #237F16
analogous
#3D167F #72167F #7F1658
triadic
#72167F #7F7216 #167F72
tetradic
#72167F #7F3D16 #237F16 #16587F
square
#72167F #7F3D16 #237F16 #16587F
split-complementary
#72167F #587F16 #167F3D
monochromatic
#17051A #430D4B #72167F #A11FB3 #C734DC

Accessibility & contrast

On white

9.83
#72167F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#72167F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #72167F
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##72167F#FFFFFF#000000##FFFFFF
##72167F1.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D82
Deuteranopia (green-blind)
#27477D
Tritanopia (blue-blind)
#732C4B
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #72167f;
/* rgb */ color: rgb(114, 22, 127);
/* oklch */ color: oklch(40.8% 0.173 322.3);
Tailwind
colors: {
  custom: {
    50: '#9e60a5',
    500: '#72167f',
    950: '#000000',
  },
}
SCSS
$custom: #72167f;
$custom-light: #9e60a5;
$custom-dark: #000000;
JSON
{
  "hex": "#72167f",
  "rgb": {
    "r": 114,
    "g": 22,
    "b": 127
  },
  "hsl": {
    "h": 292.571,
    "s": 70.47,
    "l": 29.216
  },
  "oklch": {
    "l": 0.40752,
    "c": 0.1734,
    "h": 322.3
  },
  "luminance": 0.05684
}

Semantic roles & 50–950 ramp

primary
#72167F
secondary
#4CB43D
accent
#ED3B51
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F050F
muted
#7F7A7F

Preview Lab

Preview with #72167F

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

Preview Lab → · Contrast checker → · Palette generator →

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