#712178#712178

#712178 is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.1% C 0.155 H 324.5°. Best body text is #FFFFFF at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#712178
RGBrgb(113, 33, 120)
HSLhsl(295, 57%, 30%)
HSVhsv(295, 73%, 47%)
CMYKcmyk(5.8%, 72.5%, 0%, 52.9%)
CIE-LABlab(29.30, 46.50, -32.37)
CIE-LCHlch(29.30, 56.66, 325.16°)
OKLaboklab(41.07% 0.1261 -0.0901)
OKLCHoklch(41.07% 0.155 324.5)
XYZxyz(10.7438, 5.9552, 18.3492)
Luminance0.0595 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712178 #287821
analogous
#452178 #712178 #782154
triadic
#712178 #787121 #217871
tetradic
#712178 #784521 #287821 #215478
square
#712178 #784521 #287821 #215478
split-complementary
#712178 #547821 #217845
monochromatic
#170718 #441448 #712178 #9E2EA8 #C247CC

Accessibility & contrast

On white

9.59
#712178 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#712178 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712178
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712178#FFFFFF#000000##FFFFFF
##7121781.009.592.199.59
#FFFFFF9.591.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#093F7A
Deuteranopia (green-blind)
#314876
Tritanopia (blue-blind)
#732F4A
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #712178;
/* rgb */ color: rgb(113, 33, 120);
/* oklch */ color: oklch(41.1% 0.155 324.5);
Tailwind
colors: {
  custom: {
    50: '#9d649f',
    500: '#712178',
    950: '#000000',
  },
}
SCSS
$custom: #712178;
$custom-light: #9d649f;
$custom-dark: #000000;
JSON
{
  "hex": "#712178",
  "rgb": {
    "r": 113,
    "g": 33,
    "b": 120
  },
  "hsl": {
    "h": 295.172,
    "s": 56.863,
    "l": 30
  },
  "oklch": {
    "l": 0.41069,
    "c": 0.15495,
    "h": 324.5
  },
  "luminance": 0.05954
}

Semantic roles & 50–950 ramp

primary
#712178
secondary
#52AB4A
accent
#E04854
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0F060E
muted
#7E7A7E

Preview Lab

Preview with #712178

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

Preview Lab → · Contrast checker → · Palette generator →

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