#72239F#72239F

#72239F is a dark, vivid violet. Relative luminance 0.073; OKLCH L 44.2% C 0.189 H 309.6°. Best body text is #FFFFFF at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#72239F
RGBrgb(114, 35, 159)
HSLhsl(278, 64%, 38%)
HSVhsv(278, 78%, 62%)
CMYKcmyk(28.3%, 78%, 0%, 37.6%)
CIE-LABlab(32.44, 53.97, -51.46)
CIE-LCHlch(32.44, 74.57, 316.37°)
OKLaboklab(44.19% 0.1206 -0.146)
OKLCHoklch(44.19% 0.189 309.6)
XYZxyz(13.7972, 7.2830, 33.4731)
Luminance0.0728 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#72239F #509F23
analogous
#34239F #72239F #9F238E
triadic
#72239F #9F7223 #239F72
tetradic
#72239F #9F3423 #509F23 #238E9F
square
#72239F #9F3423 #509F23 #238E9F
split-complementary
#72239F #8E9F23 #239F34
monochromatic
#2A0D3B #4E186D #72239F #962ED1 #AF60DC

Accessibility & contrast

On white

8.55
#72239F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#72239F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #72239F
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##72239F#FFFFFF#000000##FFFFFF
##72239F1.008.552.468.55
#FFFFFF8.551.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.551.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: #72239f;
/* rgb */ color: rgb(114, 35, 159);
/* oklch */ color: oklch(44.2% 0.189 309.6);
Tailwind
colors: {
  custom: {
    50: '#9f67bc',
    500: '#72239f',
    950: '#000000',
  },
}
SCSS
$custom: #72239f;
$custom-light: #9f67bc;
$custom-dark: #000000;
JSON
{
  "hex": "#72239f",
  "rgb": {
    "r": 114,
    "g": 35,
    "b": 159
  },
  "hsl": {
    "h": 278.226,
    "s": 63.918,
    "l": 38.039
  },
  "oklch": {
    "l": 0.44194,
    "c": 0.18939,
    "h": 309.6
  },
  "luminance": 0.07283
}

Semantic roles & 50–950 ramp

primary
#72239F
secondary
#81C15D
accent
#E7417D
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #72239F

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

Preview Lab → · Contrast checker → · Palette generator →

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