#731274#731274

#731274 is a dark, vivid purple. Relative luminance 0.053; OKLCH L 39.9% C 0.168 H 327.7°. Best body text is #FFFFFF at 10.16:1 contrast (WCAG AA passes).

Color values

HEX#731274
RGBrgb(115, 18, 116)
HSLhsl(299, 73%, 26%)
HSVhsv(299, 84%, 45%)
CMYKcmyk(0.9%, 84.5%, 0%, 54.5%)
CIE-LABlab(27.68, 51.17, -32.38)
CIE-LCHlch(27.68, 60.56, 327.67°)
OKLaboklab(39.9% 0.1424 -0.09)
OKLCHoklch(39.9% 0.168 327.7)
XYZxyz(10.4388, 5.3392, 17.0004)
Luminance0.0534 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731274 #137412
analogous
#421274 #731274 #741244
triadic
#731274 #747312 #127473
tetradic
#731274 #744212 #137412 #124474
square
#731274 #744212 #137412 #124474
split-complementary
#731274 #447412 #127442
monochromatic
#1A041A #3E0A3F #731274 #A81AA9 #DB23DD

Accessibility & contrast

On white

10.16
#731274 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#731274 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #731274
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731274#FFFFFF#000000##FFFFFF
##7312741.0010.162.0710.16
#FFFFFF10.161.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A76
Deuteranopia (green-blind)
#2F4572
Tritanopia (blue-blind)
#772444
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #731274;
/* rgb */ color: rgb(115, 18, 116);
/* oklch */ color: oklch(39.9% 0.168 327.7);
Tailwind
colors: {
  custom: {
    50: '#9f5f9c',
    500: '#731274',
    950: '#000000',
  },
}
SCSS
$custom: #731274;
$custom-light: #9f5f9c;
$custom-dark: #000000;
JSON
{
  "hex": "#731274",
  "rgb": {
    "r": 115,
    "g": 18,
    "b": 116
  },
  "hsl": {
    "h": 299.388,
    "s": 73.134,
    "l": 26.275
  },
  "oklch": {
    "l": 0.39903,
    "c": 0.16839,
    "h": 327.7
  },
  "luminance": 0.05338
}

Semantic roles & 50–950 ramp

primary
#731274
secondary
#38AB37
accent
#F0383A
background
#FAF5F9
surface
#F4EAF2
border
#CEC6CC
text
#0F050E
muted
#7F797E

Preview Lab

Preview with #731274

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

Preview Lab → · Contrast checker → · Palette generator →

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