#731681#731681

#731681 is a dark, vivid purple. Relative luminance 0.058; OKLCH L 41.0% C 0.175 H 321.9°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#731681
RGBrgb(115, 22, 129)
HSLhsl(292, 71%, 30%)
HSVhsv(292, 83%, 51%)
CMYKcmyk(10.9%, 82.9%, 0%, 49.4%)
CIE-LABlab(28.91, 52.41, -38.64)
CIE-LCHlch(28.91, 65.11, 323.59°)
OKLaboklab(41.05% 0.1381 -0.1083)
OKLCHoklch(41.05% 0.175 321.9)
XYZxyz(11.3192, 5.8043, 21.2888)
Luminance0.0580 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731681 #248116
analogous
#3E1681 #731681 #811659
triadic
#731681 #817316 #168173
tetradic
#731681 #813E16 #248116 #165981
square
#731681 #813E16 #248116 #165981
split-complementary
#731681 #598116 #16813E
monochromatic
#17041A #440D4D #731681 #A21FB5 #C735DD

Accessibility & contrast

On white

9.72
#731681 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#731681 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #731681
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731681#FFFFFF#000000##FFFFFF
##7316811.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E84
Deuteranopia (green-blind)
#27477F
Tritanopia (blue-blind)
#742D4C
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #731681;
/* rgb */ color: rgb(115, 22, 129);
/* oklch */ color: oklch(41.0% 0.175 321.9);
Tailwind
colors: {
  custom: {
    50: '#9f61a6',
    500: '#731681',
    950: '#000000',
  },
}
SCSS
$custom: #731681;
$custom-light: #9f61a6;
$custom-dark: #000000;
JSON
{
  "hex": "#731681",
  "rgb": {
    "r": 115,
    "g": 22,
    "b": 129
  },
  "hsl": {
    "h": 292.15,
    "s": 70.861,
    "l": 29.608
  },
  "oklch": {
    "l": 0.41049,
    "c": 0.17549,
    "h": 321.9
  },
  "luminance": 0.05804
}

Semantic roles & 50–950 ramp

primary
#731681
secondary
#4DB63D
accent
#EE3A52
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F050F
muted
#7F7A7F

Preview Lab

Preview with #731681

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

Preview Lab → · Contrast checker → · Palette generator →

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