#731775#731775

#731775 is a dark, vivid purple. Relative luminance 0.055; OKLCH L 40.3% C 0.165 H 327.2°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#731775
RGBrgb(115, 23, 117)
HSLhsl(299, 67%, 27%)
HSVhsv(299, 80%, 46%)
CMYKcmyk(1.7%, 80.3%, 0%, 54.1%)
CIE-LABlab(28.23, 49.94, -32.15)
CIE-LCHlch(28.23, 59.39, 327.23°)
OKLaboklab(40.31% 0.1383 -0.0893)
OKLCHoklch(40.31% 0.165 327.2)
XYZxyz(10.5873, 5.5427, 17.3384)
Luminance0.0554 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731775 #197517
analogous
#441775 #731775 #751748
triadic
#731775 #757317 #177573
tetradic
#731775 #754417 #197517 #174875
square
#731775 #754417 #197517 #174875
split-complementary
#731775 #487517 #177544
monochromatic
#19051A #410D42 #731775 #A521A8 #D330D6

Accessibility & contrast

On white

9.96
#731775 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#731775 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #731775
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731775#FFFFFF#000000##FFFFFF
##7317751.009.962.119.96
#FFFFFF9.961.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B77
Deuteranopia (green-blind)
#304773
Tritanopia (blue-blind)
#762846
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #731775;
/* rgb */ color: rgb(115, 23, 117);
/* oklch */ color: oklch(40.3% 0.165 327.2);
Tailwind
colors: {
  custom: {
    50: '#9f609d',
    500: '#731775',
    950: '#000000',
  },
}
SCSS
$custom: #731775;
$custom-light: #9f609d;
$custom-dark: #000000;
JSON
{
  "hex": "#731775",
  "rgb": {
    "r": 115,
    "g": 23,
    "b": 117
  },
  "hsl": {
    "h": 298.723,
    "s": 67.143,
    "l": 27.451
  },
  "oklch": {
    "l": 0.40312,
    "c": 0.16466,
    "h": 327.2
  },
  "luminance": 0.05542
}

Semantic roles & 50–950 ramp

primary
#731775
secondary
#40AA3D
accent
#EA3E41
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F050E
muted
#7F7A7E

Preview Lab

Preview with #731775

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

Preview Lab → · Contrast checker → · Palette generator →

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