#712278#712278

#712278 is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.2% C 0.154 H 324.4°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#712278
RGBrgb(113, 34, 120)
HSLhsl(295, 56%, 30%)
HSVhsv(295, 72%, 47%)
CMYKcmyk(5.8%, 71.7%, 0%, 52.9%)
CIE-LABlab(29.44, 46.10, -32.14)
CIE-LCHlch(29.44, 56.20, 325.11°)
OKLaboklab(41.17% 0.125 -0.0894)
OKLCHoklch(41.17% 0.154 324.4)
XYZxyz(10.7720, 6.0115, 18.3586)
Luminance0.0601 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712278 #297822
analogous
#462278 #712278 #782254
triadic
#712278 #787122 #227871
tetradic
#712278 #784622 #297822 #225478
square
#712278 #784622 #297822 #225478
split-complementary
#712278 #547822 #227846
monochromatic
#170719 #441448 #712278 #9E30A8 #C149CB

Accessibility & contrast

On white

9.54
#712278 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#712278 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712278
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712278#FFFFFF#000000##FFFFFF
##7122781.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B3F7A
Deuteranopia (green-blind)
#324976
Tritanopia (blue-blind)
#73304A
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #712278;
/* rgb */ color: rgb(113, 34, 120);
/* oklch */ color: oklch(41.2% 0.154 324.4);
Tailwind
colors: {
  custom: {
    50: '#9d659f',
    500: '#712278',
    950: '#000000',
  },
}
SCSS
$custom: #712278;
$custom-light: #9d659f;
$custom-dark: #000000;
JSON
{
  "hex": "#712278",
  "rgb": {
    "r": 113,
    "g": 34,
    "b": 120
  },
  "hsl": {
    "h": 295.116,
    "s": 55.844,
    "l": 30.196
  },
  "oklch": {
    "l": 0.41171,
    "c": 0.15366,
    "h": 324.4
  },
  "luminance": 0.06011
}

Semantic roles & 50–950 ramp

primary
#712278
secondary
#53AB4B
accent
#DF4955
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0F060E
muted
#7E7A7E

Preview Lab

Preview with #712278

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

Preview Lab → · Contrast checker → · Palette generator →

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