#731B95#731B95

#731B95 is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.9% C 0.188 H 314.0°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#731B95
RGBrgb(115, 27, 149)
HSLhsl(283, 69%, 35%)
HSVhsv(283, 82%, 58%)
CMYKcmyk(22.8%, 81.9%, 0%, 41.6%)
CIE-LABlab(30.88, 54.81, -47.89)
CIE-LCHlch(30.88, 72.78, 318.85°)
OKLaboklab(42.89% 0.1308 -0.1354)
OKLCHoklch(42.89% 0.188 314)
XYZxyz(12.8860, 6.5991, 29.0229)
Luminance0.0660 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731B95 #3D951B
analogous
#361B95 #731B95 #951B7A
triadic
#731B95 #95731B #1B9573
tetradic
#731B95 #95361B #3D951B #1B7A95
square
#731B95 #95361B #3D951B #1B7A95
split-complementary
#731B95 #7A951B #1B9536
monochromatic
#23082D #4B1261 #731B95 #9B24C9 #B64CDF

Accessibility & contrast

On white

9.05
#731B95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#731B95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #731B95
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731B95#FFFFFF#000000##FFFFFF
##731B951.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004498
Deuteranopia (green-blind)
#0D4B93
Tritanopia (blue-blind)
#703959
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #731b95;
/* rgb */ color: rgb(115, 27, 149);
/* oklch */ color: oklch(42.9% 0.188 314.0);
Tailwind
colors: {
  custom: {
    50: '#a064b5',
    500: '#731b95',
    950: '#000000',
  },
}
SCSS
$custom: #731b95;
$custom-light: #a064b5;
$custom-dark: #000000;
JSON
{
  "hex": "#731b95",
  "rgb": {
    "r": 115,
    "g": 27,
    "b": 149
  },
  "hsl": {
    "h": 283.279,
    "s": 69.318,
    "l": 34.51
  },
  "oklch": {
    "l": 0.42886,
    "c": 0.18826,
    "h": 314
  },
  "luminance": 0.06599
}

Semantic roles & 50–950 ramp

primary
#731B95
secondary
#6CC14B
accent
#EC3C6D
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #731B95

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

Preview Lab → · Contrast checker → · Palette generator →

#731B95 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva