#731B98#731B98

#731B98 is a dark, vivid purple. Relative luminance 0.067; OKLCH L 43.1% C 0.191 H 313.0°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#731B98
RGBrgb(115, 27, 152)
HSLhsl(282, 70%, 35%)
HSVhsv(282, 82%, 60%)
CMYKcmyk(24.3%, 82.2%, 0%, 40.4%)
CIE-LABlab(31.10, 55.42, -49.36)
CIE-LCHlch(31.10, 74.22, 318.31°)
OKLaboklab(43.12% 0.1301 -0.1398)
OKLCHoklch(43.12% 0.191 313)
XYZxyz(13.1286, 6.6961, 30.3006)
Luminance0.0670 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731B98 #40981B
analogous
#351B98 #731B98 #981B7E
triadic
#731B98 #98731B #1B9873
tetradic
#731B98 #98351B #40981B #1B7E98
square
#731B98 #98351B #40981B #1B7E98
split-complementary
#731B98 #7E981B #1B9835
monochromatic
#240930 #4C1264 #731B98 #9A24CC #B44EE0

Accessibility & contrast

On white

8.98
#731B98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#731B98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #731B98
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731B98#FFFFFF#000000##FFFFFF
##731B981.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459B
Deuteranopia (green-blind)
#034B95
Tritanopia (blue-blind)
#6F3B5B
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #731b98;
/* rgb */ color: rgb(115, 27, 152);
/* oklch */ color: oklch(43.1% 0.191 313.0);
Tailwind
colors: {
  custom: {
    50: '#a064b7',
    500: '#731b98',
    950: '#000000',
  },
}
SCSS
$custom: #731b98;
$custom-light: #a064b7;
$custom-dark: #000000;
JSON
{
  "hex": "#731b98",
  "rgb": {
    "r": 115,
    "g": 27,
    "b": 152
  },
  "hsl": {
    "h": 282.24,
    "s": 69.832,
    "l": 35.098
  },
  "oklch": {
    "l": 0.43118,
    "c": 0.19093,
    "h": 313
  },
  "luminance": 0.06696
}

Semantic roles & 50–950 ramp

primary
#731B98
secondary
#70C24D
accent
#ED3B70
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #731B98

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

Preview Lab → · Contrast checker → · Palette generator →

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