#731968#731968

#731968 is a dark, vivid purple. Relative luminance 0.053; OKLCH L 39.7% C 0.152 H 333.6°. Best body text is #FFFFFF at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#731968
RGBrgb(115, 25, 104)
HSLhsl(307, 64%, 27%)
HSVhsv(307, 78%, 45%)
CMYKcmyk(0%, 78.3%, 9.6%, 54.9%)
CIE-LABlab(27.68, 47.09, -24.66)
CIE-LCHlch(27.68, 53.16, 332.36°)
OKLaboklab(39.67% 0.1364 -0.0676)
OKLCHoklch(39.67% 0.152 333.6)
XYZxyz(9.9166, 5.3404, 13.6025)
Luminance0.0534 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731968 #197324
analogous
#511973 #731968 #73193B
triadic
#731968 #687319 #196873
tetradic
#731968 #735119 #197324 #193B73
square
#731968 #735119 #197324 #193B73
split-complementary
#731968 #3B7319 #197351
monochromatic
#190517 #410E3B #731968 #A52495 #D334BF

Accessibility & contrast

On white

10.15
#731968 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #731968
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731968#FFFFFF#000000##FFFFFF
##7319681.0010.152.0710.15
#FFFFFF10.151.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16396A
Deuteranopia (green-blind)
#384666
Tritanopia (blue-blind)
#79223F
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #731968;
/* rgb */ color: rgb(115, 25, 104);
/* oklch */ color: oklch(39.7% 0.152 333.6);
Tailwind
colors: {
  custom: {
    50: '#9e6193',
    500: '#731968',
    950: '#000000',
  },
}
SCSS
$custom: #731968;
$custom-light: #9e6193;
$custom-dark: #000000;
JSON
{
  "hex": "#731968",
  "rgb": {
    "r": 115,
    "g": 25,
    "b": 104
  },
  "hsl": {
    "h": 307.333,
    "s": 64.286,
    "l": 27.451
  },
  "oklch": {
    "l": 0.39675,
    "c": 0.15226,
    "h": 333.6
  },
  "luminance": 0.0534
}

Semantic roles & 50–950 ramp

primary
#731968
secondary
#40A84C
accent
#E75541
background
#FAF6F9
surface
#F3EBF1
border
#CDC6CB
text
#0F050D
muted
#7F7A7E

Preview Lab

Preview with #731968

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

Preview Lab → · Contrast checker → · Palette generator →

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