#711874#711874

#711874 is a dark, vivid purple. Relative luminance 0.054; OKLCH L 40.0% C 0.162 H 326.6°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#711874
RGBrgb(113, 24, 116)
HSLhsl(298, 66%, 27%)
HSVhsv(298, 79%, 45%)
CMYKcmyk(2.6%, 79.3%, 0%, 54.5%)
CIE-LABlab(27.91, 49.01, -32.03)
CIE-LCHlch(27.91, 58.55, 326.83°)
OKLaboklab(40% 0.1352 -0.089)
OKLCHoklch(40% 0.162 326.6)
XYZxyz(10.2889, 5.4257, 17.0249)
Luminance0.0542 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#711874 #1B7418
analogous
#431874 #711874 #741849
triadic
#711874 #747118 #187471
tetradic
#711874 #744318 #1B7418 #184974
square
#711874 #744318 #1B7418 #184974
split-complementary
#711874 #497418 #187443
monochromatic
#190519 #400E41 #711874 #A222A7 #CF32D5

Accessibility & contrast

On white

10.07
#711874 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#711874 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #711874
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##711874#FFFFFF#000000##FFFFFF
##7118741.0010.072.0910.07
#FFFFFF10.071.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B76
Deuteranopia (green-blind)
#2F4672
Tritanopia (blue-blind)
#742845
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #711874;
/* rgb */ color: rgb(113, 24, 116);
/* oklch */ color: oklch(40.0% 0.162 326.6);
Tailwind
colors: {
  custom: {
    50: '#9d609c',
    500: '#711874',
    950: '#000000',
  },
}
SCSS
$custom: #711874;
$custom-light: #9d609c;
$custom-dark: #000000;
JSON
{
  "hex": "#711874",
  "rgb": {
    "r": 113,
    "g": 24,
    "b": 116
  },
  "hsl": {
    "h": 298.043,
    "s": 65.714,
    "l": 27.451
  },
  "oklch": {
    "l": 0.4,
    "c": 0.16188,
    "h": 326.6
  },
  "luminance": 0.05425
}

Semantic roles & 50–950 ramp

primary
#711874
secondary
#42A93F
accent
#E93F45
background
#FAF6F9
surface
#F3EBF2
border
#CDC6CC
text
#0F050E
muted
#7F7A7E

Preview Lab

Preview with #711874

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

Preview Lab → · Contrast checker → · Palette generator →

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