#731666#731666

#731666 is a dark, vivid purple. Relative luminance 0.052; OKLCH L 39.3% C 0.154 H 334.7°. Best body text is #FFFFFF at 10.32:1 contrast (WCAG AA passes).

Color values

HEX#731666
RGBrgb(115, 22, 102)
HSLhsl(308, 68%, 27%)
HSVhsv(308, 81%, 45%)
CMYKcmyk(0%, 80.9%, 11.3%, 54.9%)
CIE-LABlab(27.24, 47.73, -24.07)
CIE-LCHlch(27.24, 53.46, 333.24°)
OKLaboklab(39.32% 0.1391 -0.0659)
OKLCHoklch(39.32% 0.154 334.7)
XYZxyz(9.7555, 5.1788, 13.0536)
Luminance0.0518 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731666 #167323
analogous
#521673 #731666 #731638
triadic
#731666 #667316 #166673
tetradic
#731666 #735216 #167323 #163873
square
#731666 #735216 #167323 #163873
split-complementary
#731666 #387316 #167352
monochromatic
#1A0517 #400C38 #731666 #A62094 #D72DBF

Accessibility & contrast

On white

10.32
#731666 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#731666 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #731666
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731666#FFFFFF#000000##FFFFFF
##7316661.0010.322.0410.32
#FFFFFF10.321.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#153868
Deuteranopia (green-blind)
#384564
Tritanopia (blue-blind)
#791F3D
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #731666;
/* rgb */ color: rgb(115, 22, 102);
/* oklch */ color: oklch(39.3% 0.154 334.7);
Tailwind
colors: {
  custom: {
    50: '#9f5f92',
    500: '#731666',
    950: '#000000',
  },
}
SCSS
$custom: #731666;
$custom-light: #9f5f92;
$custom-dark: #000000;
JSON
{
  "hex": "#731666",
  "rgb": {
    "r": 115,
    "g": 22,
    "b": 102
  },
  "hsl": {
    "h": 308.387,
    "s": 67.883,
    "l": 26.863
  },
  "oklch": {
    "l": 0.3932,
    "c": 0.15393,
    "h": 334.7
  },
  "luminance": 0.05178
}

Semantic roles & 50–950 ramp

primary
#731666
secondary
#3CA94B
accent
#EB553D
background
#FAF5F9
surface
#F4EAF1
border
#CEC6CB
text
#0F050D
muted
#7F797E

Preview Lab

Preview with #731666

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

Preview Lab → · Contrast checker → · Palette generator →

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