#712688#712688

#712688 is a dark, vivid purple. Relative luminance 0.067; OKLCH L 42.7% C 0.163 H 317.1°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#712688
RGBrgb(113, 38, 136)
HSLhsl(286, 56%, 34%)
HSVhsv(286, 72%, 53%)
CMYKcmyk(16.9%, 72.1%, 0%, 46.7%)
CIE-LABlab(31.06, 47.63, -39.59)
CIE-LCHlch(31.06, 61.94, 320.27°)
OKLaboklab(42.66% 0.1198 -0.1112)
OKLCHoklch(42.66% 0.163 317.1)
XYZxyz(11.9464, 6.6750, 23.9469)
Luminance0.0668 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712688 #3D8826
analogous
#402688 #712688 #88266E
triadic
#712688 #887126 #268871
tetradic
#712688 #884026 #3D8826 #266E88
square
#712688 #884026 #3D8826 #266E88
split-complementary
#712688 #6E8826 #268840
monochromatic
#220B28 #491958 #712688 #9933B8 #B458D0

Accessibility & contrast

On white

8.99
#712688 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#712688 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712688
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712688#FFFFFF#000000##FFFFFF
##7126881.008.992.348.99
#FFFFFF8.991.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448B
Deuteranopia (green-blind)
#284B86
Tritanopia (blue-blind)
#703954
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #712688;
/* rgb */ color: rgb(113, 38, 136);
/* oklch */ color: oklch(42.7% 0.163 317.1);
Tailwind
colors: {
  custom: {
    50: '#9d67ab',
    500: '#712688',
    950: '#000000',
  },
}
SCSS
$custom: #712688;
$custom-light: #9d67ab;
$custom-dark: #000000;
JSON
{
  "hex": "#712688",
  "rgb": {
    "r": 113,
    "g": 38,
    "b": 136
  },
  "hsl": {
    "h": 285.918,
    "s": 56.322,
    "l": 34.118
  },
  "oklch": {
    "l": 0.42655,
    "c": 0.16345,
    "h": 317.1
  },
  "luminance": 0.06675
}

Semantic roles & 50–950 ramp

primary
#712688
secondary
#6BB555
accent
#E0486C
background
#FAF6FA
surface
#F3EBF4
border
#CDC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #712688

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

Preview Lab → · Contrast checker → · Palette generator →

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