#72287F#72287F

#72287F is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.4% C 0.153 H 321.3°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#72287F
RGBrgb(114, 40, 127)
HSLhsl(291, 52%, 33%)
HSVhsv(291, 69%, 50%)
CMYKcmyk(10.2%, 68.5%, 0%, 50.2%)
CIE-LABlab(30.94, 45.16, -34.15)
CIE-LCHlch(30.94, 56.62, 322.90°)
OKLaboklab(42.42% 0.1192 -0.0953)
OKLCHoklch(42.42% 0.153 321.3)
XYZxyz(11.5286, 6.6279, 20.7466)
Luminance0.0663 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#72287F #357F28
analogous
#46287F #72287F #7F2861
triadic
#72287F #7F7228 #287F72
tetradic
#72287F #7F4628 #357F28 #28617F
square
#72287F #7F4628 #357F28 #28617F
split-complementary
#72287F #617F28 #287F46
monochromatic
#1E0B22 #481950 #72287F #9C37AE #B957CA

Accessibility & contrast

On white

9.03
#72287F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#72287F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #72287F
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##72287F#FFFFFF#000000##FFFFFF
##72287F1.009.032.339.03
#FFFFFF9.031.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E4482
Deuteranopia (green-blind)
#324C7D
Tritanopia (blue-blind)
#733750
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #72287f;
/* rgb */ color: rgb(114, 40, 127);
/* oklch */ color: oklch(42.4% 0.153 321.3);
Tailwind
colors: {
  custom: {
    50: '#9d68a4',
    500: '#72287f',
    950: '#000000',
  },
}
SCSS
$custom: #72287f;
$custom-light: #9d68a4;
$custom-dark: #000000;
JSON
{
  "hex": "#72287f",
  "rgb": {
    "r": 114,
    "g": 40,
    "b": 127
  },
  "hsl": {
    "h": 291.034,
    "s": 52.096,
    "l": 32.745
  },
  "oklch": {
    "l": 0.42422,
    "c": 0.15257,
    "h": 321.3
  },
  "luminance": 0.06627
}

Semantic roles & 50–950 ramp

primary
#72287F
secondary
#61AF54
accent
#DC4C62
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F060F
muted
#7E7A7F

Preview Lab

Preview with #72287F

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

Preview Lab → · Contrast checker → · Palette generator →

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