#731B92#731B92

#731B92 is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.7% C 0.186 H 315.1°. Best body text is #FFFFFF at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#731B92
RGBrgb(115, 27, 146)
HSLhsl(284, 69%, 34%)
HSVhsv(284, 82%, 57%)
CMYKcmyk(21.2%, 81.5%, 0%, 42.7%)
CIE-LABlab(30.65, 54.20, -46.41)
CIE-LCHlch(30.65, 71.35, 319.42°)
OKLaboklab(42.66% 0.1314 -0.1311)
OKLCHoklch(42.66% 0.186 315.1)
XYZxyz(12.6496, 6.5045, 27.7777)
Luminance0.0650 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731B92 #3A921B
analogous
#381B92 #731B92 #921B76
triadic
#731B92 #92731B #1B9273
tetradic
#731B92 #92381B #3A921B #1B7692
square
#731B92 #92381B #3A921B #1B7692
split-complementary
#731B92 #76921B #1B9238
monochromatic
#22082B #4A115E #731B92 #9C25C6 #B74ADE

Accessibility & contrast

On white

9.13
#731B92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#731B92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #731B92
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731B92#FFFFFF#000000##FFFFFF
##731B921.009.132.309.13
#FFFFFF9.131.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004395
Deuteranopia (green-blind)
#144A90
Tritanopia (blue-blind)
#703857
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #731b92;
/* rgb */ color: rgb(115, 27, 146);
/* oklch */ color: oklch(42.7% 0.186 315.1);
Tailwind
colors: {
  custom: {
    50: '#a063b3',
    500: '#731b92',
    950: '#000000',
  },
}
SCSS
$custom: #731b92;
$custom-light: #a063b3;
$custom-dark: #000000;
JSON
{
  "hex": "#731b92",
  "rgb": {
    "r": 115,
    "g": 27,
    "b": 146
  },
  "hsl": {
    "h": 284.37,
    "s": 68.786,
    "l": 33.922
  },
  "oklch": {
    "l": 0.42657,
    "c": 0.18559,
    "h": 315.1
  },
  "luminance": 0.06504
}

Semantic roles & 50–950 ramp

primary
#731B92
secondary
#68BF49
accent
#EC3C6A
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #731B92

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

Preview Lab → · Contrast checker → · Palette generator →

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