#731867#731867

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

Color values

HEX#731867
RGBrgb(115, 24, 103)
HSLhsl(308, 65%, 27%)
HSVhsv(308, 79%, 45%)
CMYKcmyk(0%, 79.1%, 10.4%, 54.9%)
CIE-LABlab(27.51, 47.26, -24.29)
CIE-LCHlch(27.51, 53.14, 332.80°)
OKLaboklab(39.53% 0.1373 -0.0665)
OKLCHoklch(39.53% 0.153 334.1)
XYZxyz(9.8451, 5.2782, 13.3296)
Luminance0.0528 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731867 #187324
analogous
#521873 #731867 #73183A
triadic
#731867 #677318 #186773
tetradic
#731867 #735218 #187324 #183A73
square
#731867 #735218 #187324 #183A73
split-complementary
#731867 #3A7318 #187352
monochromatic
#190517 #400D3A #731867 #A62394 #D431BF

Accessibility & contrast

On white

10.22
#731867 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#731867 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #731867
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731867#FFFFFF#000000##FFFFFF
##7318671.0010.222.0610.22
#FFFFFF10.221.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#163969
Deuteranopia (green-blind)
#384665
Tritanopia (blue-blind)
#79213E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #731867;
/* rgb */ color: rgb(115, 24, 103);
/* oklch */ color: oklch(39.5% 0.153 334.1);
Tailwind
colors: {
  custom: {
    50: '#9f6092',
    500: '#731867',
    950: '#000000',
  },
}
SCSS
$custom: #731867;
$custom-light: #9f6092;
$custom-dark: #000000;
JSON
{
  "hex": "#731867",
  "rgb": {
    "r": 115,
    "g": 24,
    "b": 103
  },
  "hsl": {
    "h": 307.912,
    "s": 65.468,
    "l": 27.255
  },
  "oklch": {
    "l": 0.39535,
    "c": 0.15258,
    "h": 334.1
  },
  "luminance": 0.05277
}

Semantic roles & 50–950 ramp

primary
#731867
secondary
#3FA84C
accent
#E8563F
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#0F050D
muted
#7F7A7E

Preview Lab

Preview with #731867

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

Preview Lab → · Contrast checker → · Palette generator →

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