#702172#702172

#702172 is a dark, vivid purple. Relative luminance 0.057; OKLCH L 40.5% C 0.149 H 326.9°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#702172
RGBrgb(112, 33, 114)
HSLhsl(299, 55%, 29%)
HSVhsv(299, 71%, 45%)
CMYKcmyk(1.8%, 71.1%, 0%, 55.3%)
CIE-LABlab(28.77, 45.13, -29.41)
CIE-LCHlch(28.77, 53.87, 326.91°)
OKLaboklab(40.54% 0.1249 -0.0815)
OKLCHoklch(40.54% 0.149 326.9)
XYZxyz(10.2630, 5.7481, 16.4852)
Luminance0.0575 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702172 #237221
analogous
#482172 #702172 #72214C
triadic
#702172 #727021 #217270
tetradic
#702172 #724821 #237221 #214C72
square
#702172 #724821 #237221 #214C72
split-complementary
#702172 #4C7221 #217248
monochromatic
#170718 #411343 #702172 #9F2FA1 #C644C9

Accessibility & contrast

On white

9.77
#702172 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#702172 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702172
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702172#FFFFFF#000000##FFFFFF
##7021721.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#123D74
Deuteranopia (green-blind)
#344770
Tritanopia (blue-blind)
#732D47
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #702172;
/* rgb */ color: rgb(112, 33, 114);
/* oklch */ color: oklch(40.5% 0.149 326.9);
Tailwind
colors: {
  custom: {
    50: '#9c649b',
    500: '#702172',
    950: '#000000',
  },
}
SCSS
$custom: #702172;
$custom-light: #9c649b;
$custom-dark: #000000;
JSON
{
  "hex": "#702172",
  "rgb": {
    "r": 112,
    "g": 33,
    "b": 114
  },
  "hsl": {
    "h": 298.519,
    "s": 55.102,
    "l": 28.824
  },
  "oklch": {
    "l": 0.40537,
    "c": 0.1491,
    "h": 326.9
  },
  "luminance": 0.05747
}

Semantic roles & 50–950 ramp

primary
#702172
secondary
#4CA549
accent
#DE494D
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0F060E
muted
#7E7A7E

Preview Lab

Preview with #702172

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

Preview Lab → · Contrast checker → · Palette generator →

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