#731966#731966

#731966 is a dark, vivid purple. Relative luminance 0.053; OKLCH L 39.6% C 0.151 H 334.7°. Best body text is #FFFFFF at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#731966
RGBrgb(115, 25, 102)
HSLhsl(309, 64%, 27%)
HSVhsv(309, 78%, 45%)
CMYKcmyk(0%, 78.3%, 11.3%, 54.9%)
CIE-LABlab(27.57, 46.77, -23.54)
CIE-LCHlch(27.57, 52.36, 333.28°)
OKLaboklab(39.56% 0.1363 -0.0644)
OKLCHoklch(39.56% 0.151 334.7)
XYZxyz(9.8162, 5.3003, 13.0739)
Luminance0.0530 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731966 #197326
analogous
#531973 #731966 #731939
triadic
#731966 #667319 #196673
tetradic
#731966 #735319 #197326 #193973
square
#731966 #735319 #197326 #193973
split-complementary
#731966 #397319 #197353
monochromatic
#190516 #410E39 #731966 #A52493 #D334BC

Accessibility & contrast

On white

10.20
#731966 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#731966 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #731966
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731966#FFFFFF#000000##FFFFFF
##7319661.0010.202.0610.20
#FFFFFF10.201.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#183968
Deuteranopia (green-blind)
#394664
Tritanopia (blue-blind)
#79213E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #731966;
/* rgb */ color: rgb(115, 25, 102);
/* oklch */ color: oklch(39.6% 0.151 334.7);
Tailwind
colors: {
  custom: {
    50: '#9e6092',
    500: '#731966',
    950: '#000000',
  },
}
SCSS
$custom: #731966;
$custom-light: #9e6092;
$custom-dark: #000000;
JSON
{
  "hex": "#731966",
  "rgb": {
    "r": 115,
    "g": 25,
    "b": 102
  },
  "hsl": {
    "h": 308.667,
    "s": 64.286,
    "l": 27.451
  },
  "oklch": {
    "l": 0.39561,
    "c": 0.15073,
    "h": 334.7
  },
  "luminance": 0.05299
}

Semantic roles & 50–950 ramp

primary
#731966
secondary
#40A84F
accent
#E75941
background
#FAF6F9
surface
#F3EBF1
border
#CDC6CB
text
#0F050D
muted
#7F7A7E

Preview Lab

Preview with #731966

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

Preview Lab → · Contrast checker → · Palette generator →

#731966 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva