#72238E#72238E

#72238E is a dark, vivid purple. Relative luminance 0.067; OKLCH L 42.9% C 0.173 H 315.5°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#72238E
RGBrgb(114, 35, 142)
HSLhsl(284, 60%, 35%)
HSVhsv(284, 75%, 56%)
CMYKcmyk(19.7%, 75.4%, 0%, 44.3%)
CIE-LABlab(31.19, 50.33, -43.08)
CIE-LCHlch(31.19, 66.25, 319.44°)
OKLaboklab(42.92% 0.1236 -0.1214)
OKLCHoklch(42.92% 0.173 315.5)
XYZxyz(12.4222, 6.7329, 26.2312)
Luminance0.0673 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#72238E #3F8E23
analogous
#3D238E #72238E #8E2375
triadic
#72238E #8E7223 #238E72
tetradic
#72238E #8E3D23 #3F8E23 #23758E
square
#72238E #8E3D23 #3F8E23 #23758E
split-complementary
#72238E #758E23 #238E3D
monochromatic
#230B2C #4B175D #72238E #992FBF #B456D5

Accessibility & contrast

On white

8.95
#72238E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#72238E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #72238E
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##72238E#FFFFFF#000000##FFFFFF
##72238E1.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004591
Deuteranopia (green-blind)
#204B8C
Tritanopia (blue-blind)
#703A57
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #72238e;
/* rgb */ color: rgb(114, 35, 142);
/* oklch */ color: oklch(42.9% 0.173 315.5);
Tailwind
colors: {
  custom: {
    50: '#9e66b0',
    500: '#72238e',
    950: '#000000',
  },
}
SCSS
$custom: #72238e;
$custom-light: #9e66b0;
$custom-dark: #000000;
JSON
{
  "hex": "#72238e",
  "rgb": {
    "r": 114,
    "g": 35,
    "b": 142
  },
  "hsl": {
    "h": 284.299,
    "s": 60.452,
    "l": 34.706
  },
  "oklch": {
    "l": 0.42915,
    "c": 0.17323,
    "h": 315.5
  },
  "luminance": 0.06732
}

Semantic roles & 50–950 ramp

primary
#72238E
secondary
#6EB953
accent
#E4446E
background
#FAF6FA
surface
#F3EBF5
border
#CDC6CF
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #72238E

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

Preview Lab → · Contrast checker → · Palette generator →

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