#731975#731975

#731975 is a dark, vivid purple. Relative luminance 0.056; OKLCH L 40.5% C 0.163 H 327.1°. Best body text is #FFFFFF at 9.88:1 contrast (WCAG AA passes).

Color values

HEX#731975
RGBrgb(115, 25, 117)
HSLhsl(299, 65%, 28%)
HSVhsv(299, 79%, 46%)
CMYKcmyk(1.7%, 78.6%, 0%, 54.1%)
CIE-LABlab(28.45, 49.31, -31.80)
CIE-LCHlch(28.45, 58.67, 327.18°)
OKLaboklab(40.47% 0.1366 -0.0883)
OKLCHoklch(40.47% 0.163 327.1)
XYZxyz(10.6286, 5.6252, 17.3521)
Luminance0.0562 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731975 #1B7519
analogous
#451975 #731975 #751949
triadic
#731975 #757319 #197573
tetradic
#731975 #754519 #1B7519 #194975
square
#731975 #754519 #1B7519 #194975
split-complementary
#731975 #497519 #197545
monochromatic
#190519 #410E43 #731975 #A524A7 #D035D4

Accessibility & contrast

On white

9.88
#731975 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#731975 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #731975
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731975#FFFFFF#000000##FFFFFF
##7319751.009.882.129.88
#FFFFFF9.881.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C77
Deuteranopia (green-blind)
#314773
Tritanopia (blue-blind)
#762946
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #731975;
/* rgb */ color: rgb(115, 25, 117);
/* oklch */ color: oklch(40.5% 0.163 327.1);
Tailwind
colors: {
  custom: {
    50: '#9f619d',
    500: '#731975',
    950: '#000000',
  },
}
SCSS
$custom: #731975;
$custom-light: #9f619d;
$custom-dark: #000000;
JSON
{
  "hex": "#731975",
  "rgb": {
    "r": 115,
    "g": 25,
    "b": 117
  },
  "hsl": {
    "h": 298.696,
    "s": 64.789,
    "l": 27.843
  },
  "oklch": {
    "l": 0.40468,
    "c": 0.16263,
    "h": 327.1
  },
  "luminance": 0.05624
}

Semantic roles & 50–950 ramp

primary
#731975
secondary
#42AA40
accent
#E84044
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F050E
muted
#7F7A7E

Preview Lab

Preview with #731975

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

Preview Lab → · Contrast checker → · Palette generator →

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