#731992#731992

#731992 is a dark, vivid purple. Relative luminance 0.064; OKLCH L 42.5% C 0.187 H 315.2°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#731992
RGBrgb(115, 25, 146)
HSLhsl(285, 71%, 34%)
HSVhsv(285, 83%, 57%)
CMYKcmyk(21.2%, 82.9%, 0%, 42.7%)
CIE-LABlab(30.44, 54.82, -46.76)
CIE-LCHlch(30.44, 72.05, 319.54°)
OKLaboklab(42.51% 0.1329 -0.1321)
OKLCHoklch(42.51% 0.187 315.2)
XYZxyz(12.6053, 6.4159, 27.7630)
Luminance0.0641 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731992 #389219
analogous
#361992 #731992 #921974
triadic
#731992 #927319 #199273
tetradic
#731992 #923619 #389219 #197492
square
#731992 #923619 #389219 #197492
split-complementary
#731992 #749219 #199236
monochromatic
#210729 #4A105E #731992 #9C22C6 #B846DF

Accessibility & contrast

On white

9.20
#731992 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#731992 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #731992
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731992#FFFFFF#000000##FFFFFF
##7319921.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #731992;
/* rgb */ color: rgb(115, 25, 146);
/* oklch */ color: oklch(42.5% 0.187 315.2);
Tailwind
colors: {
  custom: {
    50: '#a063b3',
    500: '#731992',
    950: '#000000',
  },
}
SCSS
$custom: #731992;
$custom-light: #a063b3;
$custom-dark: #000000;
JSON
{
  "hex": "#731992",
  "rgb": {
    "r": 115,
    "g": 25,
    "b": 146
  },
  "hsl": {
    "h": 284.628,
    "s": 70.76,
    "l": 33.529
  },
  "oklch": {
    "l": 0.42508,
    "c": 0.18739,
    "h": 315.2
  },
  "luminance": 0.06415
}

Semantic roles & 50–950 ramp

primary
#731992
secondary
#66C146
accent
#EE3A68
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #731992

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

Preview Lab → · Contrast checker → · Palette generator →

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