#702072#702072

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

Color values

HEX#702072
RGBrgb(112, 32, 114)
HSLhsl(299, 56%, 29%)
HSVhsv(299, 72%, 45%)
CMYKcmyk(1.8%, 71.9%, 0%, 55.3%)
CIE-LABlab(28.63, 45.53, -29.64)
CIE-LCHlch(28.63, 54.33, 326.94°)
OKLaboklab(40.44% 0.126 -0.0821)
OKLCHoklch(40.44% 0.15 326.9)
XYZxyz(10.2357, 5.6934, 16.4761)
Luminance0.0569 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702072 #227220
analogous
#472072 #702072 #72204B
triadic
#702072 #727020 #207270
tetradic
#702072 #724720 #227220 #204B72
square
#702072 #724720 #227220 #204B72
split-complementary
#702072 #4B7220 #207247
monochromatic
#170718 #411342 #702072 #9F2DA2 #C742CA

Accessibility & contrast

On white

9.82
#702072 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#702072 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702072
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702072#FFFFFF#000000##FFFFFF
##7020721.009.822.149.82
#FFFFFF9.821.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#113D74
Deuteranopia (green-blind)
#334770
Tritanopia (blue-blind)
#732C46
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #702072;
/* rgb */ color: rgb(112, 32, 114);
/* oklch */ color: oklch(40.4% 0.150 326.9);
Tailwind
colors: {
  custom: {
    50: '#9c649b',
    500: '#702072',
    950: '#000000',
  },
}
SCSS
$custom: #702072;
$custom-light: #9c649b;
$custom-dark: #000000;
JSON
{
  "hex": "#702072",
  "rgb": {
    "r": 112,
    "g": 32,
    "b": 114
  },
  "hsl": {
    "h": 298.537,
    "s": 56.164,
    "l": 28.627
  },
  "oklch": {
    "l": 0.40435,
    "c": 0.1504,
    "h": 326.9
  },
  "luminance": 0.05693
}

Semantic roles & 50–950 ramp

primary
#702072
secondary
#4AA648
accent
#DF484C
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0F060E
muted
#7E7A7E

Preview Lab

Preview with #702072

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

Preview Lab → · Contrast checker → · Palette generator →

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