#712778#712778

#712778 is a dark, vivid purple. Relative luminance 0.063; OKLCH L 41.7% C 0.147 H 324.2°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#712778
RGBrgb(113, 39, 120)
HSLhsl(295, 51%, 31%)
HSVhsv(295, 68%, 47%)
CMYKcmyk(5.8%, 67.5%, 0%, 52.9%)
CIE-LABlab(30.20, 43.96, -30.93)
CIE-LCHlch(30.20, 53.76, 324.87°)
OKLaboklab(41.72% 0.1191 -0.0859)
OKLCHoklch(41.72% 0.147 324.2)
XYZxyz(10.9254, 6.3185, 18.4098)
Luminance0.0632 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712778 #2E7827
analogous
#482778 #712778 #782756
triadic
#712778 #787127 #277871
tetradic
#712778 #784827 #2E7827 #275678
square
#712778 #784827 #2E7827 #275678
split-complementary
#712778 #567827 #277848
monochromatic
#1A091C #46184A #712778 #9C36A6 #BD52C7

Accessibility & contrast

On white

9.28
#712778 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#712778 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712778
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712778#FFFFFF#000000##FFFFFF
##7127781.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16417A
Deuteranopia (green-blind)
#354A76
Tritanopia (blue-blind)
#73334C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #712778;
/* rgb */ color: rgb(113, 39, 120);
/* oklch */ color: oklch(41.7% 0.147 324.2);
Tailwind
colors: {
  custom: {
    50: '#9c679f',
    500: '#712778',
    950: '#000000',
  },
}
SCSS
$custom: #712778;
$custom-light: #9c679f;
$custom-dark: #000000;
JSON
{
  "hex": "#712778",
  "rgb": {
    "r": 113,
    "g": 39,
    "b": 120
  },
  "hsl": {
    "h": 294.815,
    "s": 50.943,
    "l": 31.176
  },
  "oklch": {
    "l": 0.41719,
    "c": 0.14685,
    "h": 324.2
  },
  "luminance": 0.06318
}

Semantic roles & 50–950 ramp

primary
#712778
secondary
#58AA51
accent
#DA4D5A
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0F060E
muted
#7E7A7E

Preview Lab

Preview with #712778

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

Preview Lab → · Contrast checker → · Palette generator →

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