#711168#711168

#711168 is a dark, vivid purple. Relative luminance 0.049; OKLCH L 38.7% C 0.159 H 332.6°. Best body text is #FFFFFF at 10.59:1 contrast (WCAG AA passes).

Color values

HEX#711168
RGBrgb(113, 17, 104)
HSLhsl(306, 74%, 25%)
HSVhsv(306, 85%, 44%)
CMYKcmyk(0%, 85%, 8%, 55.7%)
CIE-LABlab(26.48, 49.00, -26.59)
CIE-LCHlch(26.48, 55.75, 331.52°)
OKLaboklab(38.75% 0.1412 -0.0732)
OKLCHoklch(38.75% 0.159 332.6)
XYZxyz(9.5092, 4.9119, 13.5413)
Luminance0.0491 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#711168 #11711A
analogous
#4A1171 #711168 #711138
triadic
#711168 #687111 #116871
tetradic
#711168 #714A11 #11711A #113871
square
#711168 #714A11 #11711A #113871
split-complementary
#711168 #387111 #11714A
monochromatic
#1B0418 #3C0937 #711168 #A61999 #DB21CA

Accessibility & contrast

On white

10.59
#711168 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#711168 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #711168
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##711168#FFFFFF#000000##FFFFFF
##7111681.0010.591.9810.59
#FFFFFF10.591.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#09366A
Deuteranopia (green-blind)
#344366
Tritanopia (blue-blind)
#761E3D
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #711168;
/* rgb */ color: rgb(113, 17, 104);
/* oklch */ color: oklch(38.7% 0.159 332.6);
Tailwind
colors: {
  custom: {
    50: '#9d5d93',
    500: '#711168',
    950: '#000000',
  },
}
SCSS
$custom: #711168;
$custom-light: #9d5d93;
$custom-dark: #000000;
JSON
{
  "hex": "#711168",
  "rgb": {
    "r": 113,
    "g": 17,
    "b": 104
  },
  "hsl": {
    "h": 305.625,
    "s": 73.846,
    "l": 25.49
  },
  "oklch": {
    "l": 0.38745,
    "c": 0.15905,
    "h": 332.6
  },
  "luminance": 0.04911
}

Semantic roles & 50–950 ramp

primary
#711168
secondary
#36A840
accent
#F14937
background
#FAF5F9
surface
#F3EAF1
border
#CDC6CB
text
#0F050D
muted
#7F797E

Preview Lab

Preview with #711168

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

Preview Lab → · Contrast checker → · Palette generator →

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