#712168#712168

#712168 is a dark, vivid purple. Relative luminance 0.056; OKLCH L 40.1% C 0.141 H 332.7°. Best body text is #FFFFFF at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#712168
RGBrgb(113, 33, 104)
HSLhsl(307, 55%, 29%)
HSVhsv(307, 71%, 44%)
CMYKcmyk(0%, 70.8%, 8%, 55.7%)
CIE-LABlab(28.38, 43.60, -23.60)
CIE-LCHlch(28.38, 49.58, 331.57°)
OKLaboklab(40.11% 0.1255 -0.0647)
OKLCHoklch(40.11% 0.141 332.7)
XYZxyz(9.8526, 5.5987, 13.6558)
Luminance0.0560 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712168 #21712A
analogous
#522171 #712168 #712140
triadic
#712168 #687121 #216871
tetradic
#712168 #715221 #21712A #214071
square
#712168 #715221 #21712A #214071
split-complementary
#712168 #407121 #217152
monochromatic
#180716 #42133C #712168 #A02F94 #C844B9

Accessibility & contrast

On white

9.91
#712168 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #712168
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712168#FFFFFF#000000##FFFFFF
##7121681.009.912.129.91
#FFFFFF9.911.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E3C6A
Deuteranopia (green-blind)
#3A4766
Tritanopia (blue-blind)
#762841
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #712168;
/* rgb */ color: rgb(113, 33, 104);
/* oklch */ color: oklch(40.1% 0.141 332.7);
Tailwind
colors: {
  custom: {
    50: '#9d6493',
    500: '#712168',
    950: '#000000',
  },
}
SCSS
$custom: #712168;
$custom-light: #9d6493;
$custom-dark: #000000;
JSON
{
  "hex": "#712168",
  "rgb": {
    "r": 113,
    "g": 33,
    "b": 104
  },
  "hsl": {
    "h": 306.75,
    "s": 54.795,
    "l": 28.627
  },
  "oklch": {
    "l": 0.40106,
    "c": 0.14115,
    "h": 332.7
  },
  "luminance": 0.05598
}

Semantic roles & 50–950 ramp

primary
#712168
secondary
#49A554
accent
#DE5A4A
background
#F9F6F9
surface
#F2EBF1
border
#CCC6CB
text
#0F060D
muted
#7E7A7E

Preview Lab

Preview with #712168

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

Preview Lab → · Contrast checker → · Palette generator →

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