#731865#731865

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

Color values

HEX#731865
RGBrgb(115, 24, 101)
HSLhsl(309, 65%, 27%)
HSVhsv(309, 79%, 45%)
CMYKcmyk(0%, 79.1%, 12.2%, 54.9%)
CIE-LABlab(27.40, 46.94, -23.16)
CIE-LCHlch(27.40, 52.34, 333.74°)
OKLaboklab(39.42% 0.1372 -0.0633)
OKLCHoklch(39.42% 0.151 335.2)
XYZxyz(9.7460, 5.2386, 12.8073)
Luminance0.0524 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731865 #187326
analogous
#541873 #731865 #731837
triadic
#731865 #657318 #186573
tetradic
#731865 #735418 #187326 #183773
square
#731865 #735418 #187326 #183773
split-complementary
#731865 #377318 #187354
monochromatic
#190516 #400D39 #731865 #A62391 #D431BB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##731865#FFFFFF#000000##FFFFFF
##7318651.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)
#183867
Deuteranopia (green-blind)
#394563
Tritanopia (blue-blind)
#79203D
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #731865;
/* rgb */ color: rgb(115, 24, 101);
/* oklch */ color: oklch(39.4% 0.151 335.2);
Tailwind
colors: {
  custom: {
    50: '#9f6091',
    500: '#731865',
    950: '#000000',
  },
}
SCSS
$custom: #731865;
$custom-light: #9f6091;
$custom-dark: #000000;
JSON
{
  "hex": "#731865",
  "rgb": {
    "r": 115,
    "g": 24,
    "b": 101
  },
  "hsl": {
    "h": 309.231,
    "s": 65.468,
    "l": 27.255
  },
  "oklch": {
    "l": 0.39421,
    "c": 0.15107,
    "h": 335.2
  },
  "luminance": 0.05238
}

Semantic roles & 50–950 ramp

primary
#731865
secondary
#3FA84F
accent
#E8593F
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#0F050C
muted
#7F7A7D

Preview Lab

Preview with #731865

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

Preview Lab → · Contrast checker → · Palette generator →

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