#731568#731568

#731568 is a dark, vivid purple. Relative luminance 0.052; OKLCH L 39.4% C 0.156 H 333.6°. Best body text is #FFFFFF at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#731568
RGBrgb(115, 21, 104)
HSLhsl(307, 69%, 27%)
HSVhsv(307, 82%, 45%)
CMYKcmyk(0%, 81.7%, 9.6%, 54.9%)
CIE-LABlab(27.25, 48.35, -25.35)
CIE-LCHlch(27.25, 54.60, 332.33°)
OKLaboklab(39.36% 0.1401 -0.0696)
OKLCHoklch(39.36% 0.156 333.6)
XYZxyz(9.8372, 5.1815, 13.5761)
Luminance0.0518 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731568 #157320
analogous
#4F1573 #731568 #731539
triadic
#731568 #687315 #156873
tetradic
#731568 #734F15 #157320 #153973
square
#731568 #734F15 #157320 #153973
split-complementary
#731568 #397315 #15734F
monochromatic
#1A0517 #3F0C39 #731568 #A71E97 #D82AC4

Accessibility & contrast

On white

10.31
#731568 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#731568 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #731568
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731568#FFFFFF#000000##FFFFFF
##7315681.0010.312.0410.31
#FFFFFF10.311.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11386A
Deuteranopia (green-blind)
#374566
Tritanopia (blue-blind)
#791F3E
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #731568;
/* rgb */ color: rgb(115, 21, 104);
/* oklch */ color: oklch(39.4% 0.156 333.6);
Tailwind
colors: {
  custom: {
    50: '#9f5f93',
    500: '#731568',
    950: '#000000',
  },
}
SCSS
$custom: #731568;
$custom-light: #9f5f93;
$custom-dark: #000000;
JSON
{
  "hex": "#731568",
  "rgb": {
    "r": 115,
    "g": 21,
    "b": 104
  },
  "hsl": {
    "h": 307.021,
    "s": 69.118,
    "l": 26.667
  },
  "oklch": {
    "l": 0.39361,
    "c": 0.15644,
    "h": 333.6
  },
  "luminance": 0.05181
}

Semantic roles & 50–950 ramp

primary
#731568
secondary
#3BA948
accent
#EC503C
background
#FAF5F9
surface
#F4EAF1
border
#CEC6CB
text
#0F050D
muted
#7F797E

Preview Lab

Preview with #731568

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

Preview Lab → · Contrast checker → · Palette generator →

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