#72229F#72229F

#72229F is a dark, vivid violet. Relative luminance 0.072; OKLCH L 44.1% C 0.190 H 309.6°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#72229F
RGBrgb(114, 34, 159)
HSLhsl(278, 65%, 38%)
HSVhsv(278, 79%, 62%)
CMYKcmyk(28.3%, 78.6%, 0%, 37.6%)
CIE-LABlab(32.31, 54.34, -51.67)
CIE-LCHlch(32.31, 74.99, 316.45°)
OKLaboklab(44.1% 0.1215 -0.1466)
OKLCHoklch(44.1% 0.19 309.6)
XYZxyz(13.7682, 7.2249, 33.4634)
Luminance0.0722 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#72229F #4F9F22
analogous
#33229F #72229F #9F228D
triadic
#72229F #9F7222 #229F72
tetradic
#72229F #9F3322 #4F9F22 #228D9F
square
#72229F #9F3322 #4F9F22 #228D9F
split-complementary
#72229F #8D9F22 #229F33
monochromatic
#2A0C3A #4E176D #72229F #962DD1 #AF5FDD

Accessibility & contrast

On white

8.59
#72229F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#72229F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #72229F
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##72229F#FFFFFF#000000##FFFFFF
##72229F1.008.592.448.59
#FFFFFF8.591.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A2
Deuteranopia (green-blind)
#004D9C
Tritanopia (blue-blind)
#6B4160
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #72229f;
/* rgb */ color: rgb(114, 34, 159);
/* oklch */ color: oklch(44.1% 0.190 309.6);
Tailwind
colors: {
  custom: {
    50: '#9f67bc',
    500: '#72229f',
    950: '#000000',
  },
}
SCSS
$custom: #72229f;
$custom-light: #9f67bc;
$custom-dark: #000000;
JSON
{
  "hex": "#72229f",
  "rgb": {
    "r": 114,
    "g": 34,
    "b": 159
  },
  "hsl": {
    "h": 278.4,
    "s": 64.767,
    "l": 37.843
  },
  "oklch": {
    "l": 0.44103,
    "c": 0.19041,
    "h": 309.6
  },
  "luminance": 0.07225
}

Semantic roles & 50–950 ramp

primary
#72229F
secondary
#80C15B
accent
#E8407C
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #72229F

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

Preview Lab → · Contrast checker → · Palette generator →

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