#731995#731995

#731995 is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.7% C 0.190 H 314.1°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#731995
RGBrgb(115, 25, 149)
HSLhsl(284, 71%, 34%)
HSVhsv(284, 83%, 58%)
CMYKcmyk(22.8%, 83.2%, 0%, 41.6%)
CIE-LABlab(30.67, 55.42, -48.23)
CIE-LCHlch(30.67, 73.47, 318.97°)
OKLaboklab(42.74% 0.1323 -0.1364)
OKLCHoklch(42.74% 0.19 314.1)
XYZxyz(12.8417, 6.5105, 29.0081)
Luminance0.0651 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731995 #3B9519
analogous
#351995 #731995 #951979
triadic
#731995 #957319 #199573
tetradic
#731995 #953519 #3B9519 #197995
square
#731995 #953519 #3B9519 #197995
split-complementary
#731995 #799519 #199535
monochromatic
#22072C #4B1061 #731995 #9B22C9 #B748E0

Accessibility & contrast

On white

9.12
#731995 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#731995 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #731995
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731995#FFFFFF#000000##FFFFFF
##7319951.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004498
Deuteranopia (green-blind)
#094A92
Tritanopia (blue-blind)
#703859
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #731995;
/* rgb */ color: rgb(115, 25, 149);
/* oklch */ color: oklch(42.7% 0.190 314.1);
Tailwind
colors: {
  custom: {
    50: '#a063b5',
    500: '#731995',
    950: '#000000',
  },
}
SCSS
$custom: #731995;
$custom-light: #a063b5;
$custom-dark: #000000;
JSON
{
  "hex": "#731995",
  "rgb": {
    "r": 115,
    "g": 25,
    "b": 149
  },
  "hsl": {
    "h": 283.548,
    "s": 71.264,
    "l": 34.118
  },
  "oklch": {
    "l": 0.42739,
    "c": 0.19002,
    "h": 314.1
  },
  "luminance": 0.0651
}

Semantic roles & 50–950 ramp

primary
#731995
secondary
#69C248
accent
#EE3A6B
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #731995

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

Preview Lab → · Contrast checker → · Palette generator →

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