#72339B#72339B

#72339B is a mid, vivid violet. Relative luminance 0.083; OKLCH L 45.7% C 0.166 H 309.1°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#72339B
RGBrgb(114, 51, 155)
HSLhsl(276, 50%, 40%)
HSVhsv(276, 67%, 61%)
CMYKcmyk(26.5%, 67.1%, 0%, 39.2%)
CIE-LABlab(34.62, 46.09, -45.51)
CIE-LCHlch(34.62, 64.77, 315.37°)
OKLaboklab(45.65% 0.1046 -0.1286)
OKLCHoklch(45.65% 0.166 309.1)
XYZxyz(14.0385, 8.3119, 31.8688)
Luminance0.0831 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#72339B #5C9B33
analogous
#3E339B #72339B #9B3390
triadic
#72339B #9B7233 #339B72
tetradic
#72339B #9B3E33 #5C9B33 #33909B
square
#72339B #9B3E33 #5C9B33 #33909B
split-complementary
#72339B #909B33 #339B3E
monochromatic
#2E153F #50246D #72339B #9348C3 #AE76D2

Accessibility & contrast

On white

7.89
#72339B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#72339B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #72339B
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##72339B#FFFFFF#000000##FFFFFF
##72339B1.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9E
Deuteranopia (green-blind)
#215299
Tritanopia (blue-blind)
#6C4962
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #72339b;
/* rgb */ color: rgb(114, 51, 155);
/* oklch */ color: oklch(45.7% 0.166 309.1);
Tailwind
colors: {
  custom: {
    50: '#9e6fb9',
    500: '#72339b',
    950: '#000000',
  },
}
SCSS
$custom: #72339b;
$custom-light: #9e6fb9;
$custom-dark: #000000;
JSON
{
  "hex": "#72339b",
  "rgb": {
    "r": 114,
    "g": 51,
    "b": 155
  },
  "hsl": {
    "h": 276.346,
    "s": 50.485,
    "l": 40.392
  },
  "oklch": {
    "l": 0.45653,
    "c": 0.1658,
    "h": 309.1
  },
  "luminance": 0.08312
}

Semantic roles & 50–950 ramp

primary
#72339B
secondary
#8DBA6F
accent
#DA4E85
background
#FAF6FB
surface
#F3ECF6
border
#CDC7D0
text
#0F0811
muted
#7F7B80

Preview Lab

Preview with #72339B

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

Preview Lab → · Contrast checker → · Palette generator →

#72339B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva