#731773#731773

#731773 is a dark, vivid purple. Relative luminance 0.055; OKLCH L 40.2% C 0.163 H 328.1°. Best body text is #FFFFFF at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#731773
RGBrgb(115, 23, 115)
HSLhsl(300, 67%, 27%)
HSVhsv(300, 80%, 45%)
CMYKcmyk(0%, 80%, 0%, 54.9%)
CIE-LABlab(28.10, 49.59, -31.07)
CIE-LCHlch(28.10, 58.52, 327.93°)
OKLaboklab(40.18% 0.1384 -0.0862)
OKLCHoklch(40.18% 0.163 328.1)
XYZxyz(10.4710, 5.4962, 16.7257)
Luminance0.0549 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731773 #177317
analogous
#451773 #731773 #731745
triadic
#731773 #737317 #177373
tetradic
#731773 #734517 #177317 #174573
square
#731773 #734517 #177317 #174573
split-complementary
#731773 #457317 #177345
monochromatic
#1A051A #400D40 #731773 #A621A6 #D52FD5

Accessibility & contrast

On white

10.00
#731773 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#731773 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #731773
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731773#FFFFFF#000000##FFFFFF
##7317731.0010.002.1010.00
#FFFFFF10.001.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B75
Deuteranopia (green-blind)
#314671
Tritanopia (blue-blind)
#772745
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #731773;
/* rgb */ color: rgb(115, 23, 115);
/* oklch */ color: oklch(40.2% 0.163 328.1);
Tailwind
colors: {
  custom: {
    50: '#9f609c',
    500: '#731773',
    950: '#000000',
  },
}
SCSS
$custom: #731773;
$custom-light: #9f609c;
$custom-dark: #000000;
JSON
{
  "hex": "#731773",
  "rgb": {
    "r": 115,
    "g": 23,
    "b": 115
  },
  "hsl": {
    "h": 300,
    "s": 66.667,
    "l": 27.059
  },
  "oklch": {
    "l": 0.40184,
    "c": 0.16305,
    "h": 328.1
  },
  "luminance": 0.05495
}

Semantic roles & 50–950 ramp

primary
#731773
secondary
#3DA93D
accent
#EA3E3E
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F050E
muted
#7F7A7E

Preview Lab

Preview with #731773

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

Preview Lab → · Contrast checker → · Palette generator →

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