#731767#731767

#731767 is a dark, vivid purple. Relative luminance 0.052; OKLCH L 39.5% C 0.154 H 334.1°. Best body text is #FFFFFF at 10.26:1 contrast (WCAG AA passes).

Color values

HEX#731767
RGBrgb(115, 23, 103)
HSLhsl(308, 67%, 27%)
HSVhsv(308, 80%, 45%)
CMYKcmyk(0%, 80%, 10.4%, 54.9%)
CIE-LABlab(27.40, 47.58, -24.46)
CIE-LCHlch(27.40, 53.50, 332.79°)
OKLaboklab(39.46% 0.1383 -0.067)
OKLCHoklch(39.46% 0.154 334.1)
XYZxyz(9.8249, 5.2378, 13.3229)
Luminance0.0524 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731767 #177323
analogous
#511773 #731767 #731739
triadic
#731767 #677317 #176773
tetradic
#731767 #735117 #177323 #173973
square
#731767 #735117 #177323 #173973
split-complementary
#731767 #397317 #177351
monochromatic
#1A0517 #400D39 #731767 #A62195 #D52FC0

Accessibility & contrast

On white

10.26
#731767 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#731767 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #731767
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731767#FFFFFF#000000##FFFFFF
##7317671.0010.262.0510.26
#FFFFFF10.261.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#153869
Deuteranopia (green-blind)
#384565
Tritanopia (blue-blind)
#79203E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #731767;
/* rgb */ color: rgb(115, 23, 103);
/* oklch */ color: oklch(39.5% 0.154 334.1);
Tailwind
colors: {
  custom: {
    50: '#9f6092',
    500: '#731767',
    950: '#000000',
  },
}
SCSS
$custom: #731767;
$custom-light: #9f6092;
$custom-dark: #000000;
JSON
{
  "hex": "#731767",
  "rgb": {
    "r": 115,
    "g": 23,
    "b": 103
  },
  "hsl": {
    "h": 307.826,
    "s": 66.667,
    "l": 27.059
  },
  "oklch": {
    "l": 0.39455,
    "c": 0.15364,
    "h": 334.1
  },
  "luminance": 0.05237
}

Semantic roles & 50–950 ramp

primary
#731767
secondary
#3DA94B
accent
#EA553E
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#0F050D
muted
#7F7A7E

Preview Lab

Preview with #731767

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

Preview Lab → · Contrast checker → · Palette generator →

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