#731894#731894

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

Color values

HEX#731894
RGBrgb(115, 24, 148)
HSLhsl(284, 72%, 34%)
HSVhsv(284, 84%, 58%)
CMYKcmyk(22.3%, 83.8%, 0%, 42%)
CIE-LABlab(30.49, 55.51, -47.91)
CIE-LCHlch(30.49, 73.33, 319.21°)
OKLaboklab(42.59% 0.1332 -0.1355)
OKLCHoklch(42.59% 0.19 314.5)
XYZxyz(12.7413, 6.4367, 28.5825)
Luminance0.0644 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731894 #399418
analogous
#351894 #731894 #941877
triadic
#731894 #947318 #189473
tetradic
#731894 #943518 #399418 #187794
square
#731894 #943518 #399418 #187794
split-complementary
#731894 #779418 #189435
monochromatic
#21072B #4A0F5F #731894 #9C21C9 #B845E1

Accessibility & contrast

On white

9.18
#731894 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #731894
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731894#FFFFFF#000000##FFFFFF
##7318941.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004397
Deuteranopia (green-blind)
#0B4A91
Tritanopia (blue-blind)
#703758
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #731894;
/* rgb */ color: rgb(115, 24, 148);
/* oklch */ color: oklch(42.6% 0.190 314.5);
Tailwind
colors: {
  custom: {
    50: '#a062b4',
    500: '#731894',
    950: '#000000',
  },
}
SCSS
$custom: #731894;
$custom-light: #a062b4;
$custom-dark: #000000;
JSON
{
  "hex": "#731894",
  "rgb": {
    "r": 115,
    "g": 24,
    "b": 148
  },
  "hsl": {
    "h": 284.032,
    "s": 72.093,
    "l": 33.725
  },
  "oklch": {
    "l": 0.42591,
    "c": 0.18999,
    "h": 314.5
  },
  "luminance": 0.06436
}

Semantic roles & 50–950 ramp

primary
#731894
secondary
#67C246
accent
#EF3969
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #731894

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

Preview Lab → · Contrast checker → · Palette generator →

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