#712668#712668

#712668 is a dark, vivid purple. Relative luminance 0.059; OKLCH L 40.7% C 0.134 H 332.8°. Best body text is #FFFFFF at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#712668
RGBrgb(113, 38, 104)
HSLhsl(307, 50%, 30%)
HSVhsv(307, 66%, 44%)
CMYKcmyk(0%, 66.4%, 8%, 55.7%)
CIE-LABlab(29.15, 41.44, -22.38)
CIE-LCHlch(29.15, 47.10, 331.62°)
OKLaboklab(40.67% 0.1192 -0.0612)
OKLCHoklch(40.67% 0.134 332.8)
XYZxyz(10.0019, 5.8972, 13.7055)
Luminance0.0590 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712668 #26712F
analogous
#552671 #712668 #712643
triadic
#712668 #687126 #266871
tetradic
#712668 #715526 #26712F #264371
square
#712668 #715526 #26712F #264371
split-complementary
#712668 #437126 #267155
monochromatic
#170815 #43173E #712668 #9F3592 #C34EB5

Accessibility & contrast

On white

9.64
#712668 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#712668 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712668
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712668#FFFFFF#000000##FFFFFF
##7126681.009.642.189.64
#FFFFFF9.641.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#233E6A
Deuteranopia (green-blind)
#3C4966
Tritanopia (blue-blind)
#762C43
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #712668;
/* rgb */ color: rgb(113, 38, 104);
/* oklch */ color: oklch(40.7% 0.134 332.8);
Tailwind
colors: {
  custom: {
    50: '#9c6693',
    500: '#712668',
    950: '#000000',
  },
}
SCSS
$custom: #712668;
$custom-light: #9c6693;
$custom-dark: #000000;
JSON
{
  "hex": "#712668",
  "rgb": {
    "r": 113,
    "g": 38,
    "b": 104
  },
  "hsl": {
    "h": 307.2,
    "s": 49.669,
    "l": 29.608
  },
  "oklch": {
    "l": 0.40668,
    "c": 0.13398,
    "h": 332.8
  },
  "luminance": 0.05896
}

Semantic roles & 50–950 ramp

primary
#712668
secondary
#4FA459
accent
#D95F4F
background
#F9F6F9
surface
#F2EBF1
border
#CCC6CB
text
#0E060D
muted
#7E7A7E

Preview Lab

Preview with #712668

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

Preview Lab → · Contrast checker → · Palette generator →

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