#712273#712273

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

Color values

HEX#712273
RGBrgb(113, 34, 115)
HSLhsl(299, 54%, 29%)
HSVhsv(299, 70%, 45%)
CMYKcmyk(1.7%, 70.4%, 0%, 54.9%)
CIE-LABlab(29.14, 45.16, -29.44)
CIE-LCHlch(29.14, 53.91, 326.89°)
OKLaboklab(40.86% 0.1249 -0.0816)
OKLCHoklch(40.86% 0.149 326.8)
XYZxyz(10.4764, 5.8933, 16.8020)
Luminance0.0589 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712273 #247322
analogous
#492273 #712273 #73224D
triadic
#712273 #737122 #227371
tetradic
#712273 #734922 #247322 #224D73
square
#712273 #734922 #247322 #224D73
split-complementary
#712273 #4D7322 #227349
monochromatic
#170718 #431444 #712273 #9F30A2 #C547C9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##712273#FFFFFF#000000##FFFFFF
##7122731.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)
#143E75
Deuteranopia (green-blind)
#354871
Tritanopia (blue-blind)
#742E48
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #712273;
/* rgb */ color: rgb(113, 34, 115);
/* oklch */ color: oklch(40.9% 0.149 326.8);
Tailwind
colors: {
  custom: {
    50: '#9d659b',
    500: '#712273',
    950: '#000000',
  },
}
SCSS
$custom: #712273;
$custom-light: #9d659b;
$custom-dark: #000000;
JSON
{
  "hex": "#712273",
  "rgb": {
    "r": 113,
    "g": 34,
    "b": 115
  },
  "hsl": {
    "h": 298.519,
    "s": 54.362,
    "l": 29.216
  },
  "oklch": {
    "l": 0.40859,
    "c": 0.1492,
    "h": 326.8
  },
  "luminance": 0.05893
}

Semantic roles & 50–950 ramp

primary
#712273
secondary
#4DA64B
accent
#DE4A4E
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0F060E
muted
#7E7A7E

Preview Lab

Preview with #712273

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

Preview Lab → · Contrast checker → · Palette generator →

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