#731893#731893

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

Color values

HEX#731893
RGBrgb(115, 24, 147)
HSLhsl(284, 72%, 34%)
HSVhsv(284, 84%, 58%)
CMYKcmyk(21.8%, 83.7%, 0%, 42.4%)
CIE-LABlab(30.41, 55.31, -47.41)
CIE-LCHlch(30.41, 72.85, 319.40°)
OKLaboklab(42.51% 0.1334 -0.134)
OKLCHoklch(42.51% 0.189 314.9)
XYZxyz(12.6624, 6.4052, 28.1674)
Luminance0.0640 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731893 #389318
analogous
#351893 #731893 #931875
triadic
#731893 #937318 #189373
tetradic
#731893 #933518 #389318 #187593
square
#731893 #933518 #389318 #187593
split-complementary
#731893 #759318 #189335
monochromatic
#21072A #4A0F5E #731893 #9C21C8 #B845E1

Accessibility & contrast

On white

9.21
#731893 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #731893
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731893#FFFFFF#000000##FFFFFF
##7318931.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004396
Deuteranopia (green-blind)
#0E4A91
Tritanopia (blue-blind)
#703757
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #731893;
/* rgb */ color: rgb(115, 24, 147);
/* oklch */ color: oklch(42.5% 0.189 314.9);
Tailwind
colors: {
  custom: {
    50: '#a062b3',
    500: '#731893',
    950: '#000000',
  },
}
SCSS
$custom: #731893;
$custom-light: #a062b3;
$custom-dark: #000000;
JSON
{
  "hex": "#731893",
  "rgb": {
    "r": 115,
    "g": 24,
    "b": 147
  },
  "hsl": {
    "h": 284.39,
    "s": 71.93,
    "l": 33.529
  },
  "oklch": {
    "l": 0.42514,
    "c": 0.18912,
    "h": 314.9
  },
  "luminance": 0.06405
}

Semantic roles & 50–950 ramp

primary
#731893
secondary
#66C245
accent
#EF3968
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #731893

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

Preview Lab → · Contrast checker → · Palette generator →

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