#731875#731875

#731875 is a dark, vivid purple. Relative luminance 0.056; OKLCH L 40.4% C 0.164 H 327.1°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#731875
RGBrgb(115, 24, 117)
HSLhsl(299, 66%, 28%)
HSVhsv(299, 79%, 46%)
CMYKcmyk(1.7%, 79.5%, 0%, 54.1%)
CIE-LABlab(28.34, 49.63, -31.98)
CIE-LCHlch(28.34, 59.04, 327.20°)
OKLaboklab(40.39% 0.1375 -0.0888)
OKLCHoklch(40.39% 0.164 327.1)
XYZxyz(10.6076, 5.5832, 17.3451)
Luminance0.0558 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731875 #1A7518
analogous
#451875 #731875 #751848
triadic
#731875 #757318 #187573
tetradic
#731875 #754518 #1A7518 #184875
square
#731875 #754518 #1A7518 #184875
split-complementary
#731875 #487518 #187545
monochromatic
#190519 #410E42 #731875 #A522A8 #D232D5

Accessibility & contrast

On white

9.92
#731875 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#731875 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #731875
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731875#FFFFFF#000000##FFFFFF
##7318751.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C77
Deuteranopia (green-blind)
#314773
Tritanopia (blue-blind)
#762846
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #731875;
/* rgb */ color: rgb(115, 24, 117);
/* oklch */ color: oklch(40.4% 0.164 327.1);
Tailwind
colors: {
  custom: {
    50: '#9f619d',
    500: '#731875',
    950: '#000000',
  },
}
SCSS
$custom: #731875;
$custom-light: #9f619d;
$custom-dark: #000000;
JSON
{
  "hex": "#731875",
  "rgb": {
    "r": 115,
    "g": 24,
    "b": 117
  },
  "hsl": {
    "h": 298.71,
    "s": 65.957,
    "l": 27.647
  },
  "oklch": {
    "l": 0.40389,
    "c": 0.16367,
    "h": 327.1
  },
  "luminance": 0.05582
}

Semantic roles & 50–950 ramp

primary
#731875
secondary
#41AA3F
accent
#E93F43
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F050E
muted
#7F7A7E

Preview Lab

Preview with #731875

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

Preview Lab → · Contrast checker → · Palette generator →

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