#702872#702872

#702872 is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.3% C 0.139 H 326.6°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#702872
RGBrgb(112, 40, 114)
HSLhsl(298, 48%, 30%)
HSVhsv(298, 65%, 45%)
CMYKcmyk(1.8%, 64.9%, 0%, 55.3%)
CIE-LABlab(29.86, 42.09, -27.69)
CIE-LCHlch(29.86, 50.38, 326.66°)
OKLaboklab(41.32% 0.1163 -0.0766)
OKLCHoklch(41.32% 0.139 326.6)
XYZxyz(10.4780, 6.1779, 16.5569)
Luminance0.0618 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702872 #2A7228
analogous
#4B2872 #702872 #72284F
triadic
#702872 #727028 #287270
tetradic
#702872 #724B28 #2A7228 #284F72
square
#702872 #724B28 #2A7228 #284F72
split-complementary
#702872 #4F7228 #28724B
monochromatic
#170817 #431845 #702872 #9D389F #BF52C2

Accessibility & contrast

On white

9.39
#702872 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#702872 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702872
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702872#FFFFFF#000000##FFFFFF
##7028721.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4074
Deuteranopia (green-blind)
#384A70
Tritanopia (blue-blind)
#733249
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #702872;
/* rgb */ color: rgb(112, 40, 114);
/* oklch */ color: oklch(41.3% 0.139 326.6);
Tailwind
colors: {
  custom: {
    50: '#9c689b',
    500: '#702872',
    950: '#000000',
  },
}
SCSS
$custom: #702872;
$custom-light: #9c689b;
$custom-dark: #000000;
JSON
{
  "hex": "#702872",
  "rgb": {
    "r": 112,
    "g": 40,
    "b": 114
  },
  "hsl": {
    "h": 298.378,
    "s": 48.052,
    "l": 30.196
  },
  "oklch": {
    "l": 0.41324,
    "c": 0.13925,
    "h": 326.6
  },
  "luminance": 0.06177
}

Semantic roles & 50–950 ramp

primary
#702872
secondary
#54A452
accent
#D85054
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060E
muted
#7E7A7E

Preview Lab

Preview with #702872

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

Preview Lab → · Contrast checker → · Palette generator →

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