#731795#731795

#731795 is a dark, vivid purple. Relative luminance 0.064; OKLCH L 42.6% C 0.192 H 314.2°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#731795
RGBrgb(115, 23, 149)
HSLhsl(284, 73%, 34%)
HSVhsv(284, 85%, 58%)
CMYKcmyk(22.8%, 84.6%, 0%, 41.6%)
CIE-LABlab(30.47, 56.00, -48.55)
CIE-LCHlch(30.47, 74.12, 319.07°)
OKLaboklab(42.6% 0.1337 -0.1374)
OKLCHoklch(42.6% 0.192 314.2)
XYZxyz(12.8005, 6.4280, 28.9944)
Luminance0.0643 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731795 #399517
analogous
#341795 #731795 #951778
triadic
#731795 #957317 #179573
tetradic
#731795 #953417 #399517 #177895
square
#731795 #953417 #399517 #177895
split-complementary
#731795 #789517 #179534
monochromatic
#21072B #4A0F60 #731795 #9C1FCA #B844E2

Accessibility & contrast

On white

9.19
#731795 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#731795 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #731795
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731795#FFFFFF#000000##FFFFFF
##7317951.009.192.299.19
#FFFFFF9.191.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004398
Deuteranopia (green-blind)
#064A92
Tritanopia (blue-blind)
#703858
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #731795;
/* rgb */ color: rgb(115, 23, 149);
/* oklch */ color: oklch(42.6% 0.192 314.2);
Tailwind
colors: {
  custom: {
    50: '#a062b5',
    500: '#731795',
    950: '#000000',
  },
}
SCSS
$custom: #731795;
$custom-light: #a062b5;
$custom-dark: #000000;
JSON
{
  "hex": "#731795",
  "rgb": {
    "r": 115,
    "g": 23,
    "b": 149
  },
  "hsl": {
    "h": 283.81,
    "s": 73.256,
    "l": 33.725
  },
  "oklch": {
    "l": 0.426,
    "c": 0.19168,
    "h": 314.2
  },
  "luminance": 0.06428
}

Semantic roles & 50–950 ramp

primary
#731795
secondary
#67C345
accent
#F0386A
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #731795

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

Preview Lab → · Contrast checker → · Palette generator →

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