#712274#712274

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

Color values

HEX#712274
RGBrgb(113, 34, 116)
HSLhsl(298, 55%, 29%)
HSVhsv(298, 71%, 45%)
CMYKcmyk(2.6%, 70.7%, 0%, 54.5%)
CIE-LABlab(29.20, 45.34, -29.99)
CIE-LCHlch(29.20, 54.36, 326.52°)
OKLaboklab(40.92% 0.1249 -0.0832)
OKLCHoklch(40.92% 0.15 326.4)
XYZxyz(10.5343, 5.9164, 17.1067)
Luminance0.0592 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712274 #257422
analogous
#482274 #712274 #74224E
triadic
#712274 #747122 #227471
tetradic
#712274 #744822 #257422 #224E74
square
#712274 #744822 #257422 #224E74
split-complementary
#712274 #4E7422 #227448
monochromatic
#170718 #431445 #712274 #9F30A3 #C447C9

Accessibility & contrast

On white

9.62
#712274 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #712274
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712274#FFFFFF#000000##FFFFFF
##7122741.009.622.189.62
#FFFFFF9.621.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#123E76
Deuteranopia (green-blind)
#344872
Tritanopia (blue-blind)
#742E48
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #712274;
/* rgb */ color: rgb(113, 34, 116);
/* oklch */ color: oklch(40.9% 0.150 326.4);
Tailwind
colors: {
  custom: {
    50: '#9d659c',
    500: '#712274',
    950: '#000000',
  },
}
SCSS
$custom: #712274;
$custom-light: #9d659c;
$custom-dark: #000000;
JSON
{
  "hex": "#712274",
  "rgb": {
    "r": 113,
    "g": 34,
    "b": 116
  },
  "hsl": {
    "h": 297.805,
    "s": 54.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.4092,
    "c": 0.15009,
    "h": 326.4
  },
  "luminance": 0.05916
}

Semantic roles & 50–950 ramp

primary
#712274
secondary
#4EA74B
accent
#DE4A4F
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0F060E
muted
#7E7A7E

Preview Lab

Preview with #712274

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

Preview Lab → · Contrast checker → · Palette generator →

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