#731674#731674

#731674 is a dark, vivid purple. Relative luminance 0.055; OKLCH L 40.2% C 0.165 H 327.6°. Best body text is #FFFFFF at 10.02:1 contrast (WCAG AA passes).

Color values

HEX#731674
RGBrgb(115, 22, 116)
HSLhsl(299, 68%, 27%)
HSVhsv(299, 81%, 45%)
CMYKcmyk(0.9%, 81%, 0%, 54.5%)
CIE-LABlab(28.06, 50.06, -31.78)
CIE-LCHlch(28.06, 59.30, 327.60°)
OKLaboklab(40.17% 0.1392 -0.0882)
OKLCHoklch(40.17% 0.165 327.6)
XYZxyz(10.5094, 5.4804, 17.0239)
Luminance0.0548 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731674 #177416
analogous
#441674 #731674 #741646
triadic
#731674 #747316 #167473
tetradic
#731674 #744416 #177416 #164674
square
#731674 #744416 #177416 #164674
split-complementary
#731674 #467416 #167444
monochromatic
#1A051A #400C41 #731674 #A620A7 #D52DD7

Accessibility & contrast

On white

10.02
#731674 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#731674 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #731674
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731674#FFFFFF#000000##FFFFFF
##7316741.0010.022.1010.02
#FFFFFF10.021.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B76
Deuteranopia (green-blind)
#304672
Tritanopia (blue-blind)
#772645
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #731674;
/* rgb */ color: rgb(115, 22, 116);
/* oklch */ color: oklch(40.2% 0.165 327.6);
Tailwind
colors: {
  custom: {
    50: '#9f609c',
    500: '#731674',
    950: '#000000',
  },
}
SCSS
$custom: #731674;
$custom-light: #9f609c;
$custom-dark: #000000;
JSON
{
  "hex": "#731674",
  "rgb": {
    "r": 115,
    "g": 22,
    "b": 116
  },
  "hsl": {
    "h": 299.362,
    "s": 68.116,
    "l": 27.059
  },
  "oklch": {
    "l": 0.40174,
    "c": 0.16483,
    "h": 327.6
  },
  "luminance": 0.0548
}

Semantic roles & 50–950 ramp

primary
#731674
secondary
#3DAA3C
accent
#EB3D3F
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F050E
muted
#7F7A7E

Preview Lab

Preview with #731674

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

Preview Lab → · Contrast checker → · Palette generator →

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