#702873#702873

#702873 is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.4% C 0.140 H 326.1°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#702873
RGBrgb(112, 40, 115)
HSLhsl(298, 48%, 30%)
HSVhsv(298, 65%, 45%)
CMYKcmyk(2.6%, 65.2%, 0%, 54.9%)
CIE-LABlab(29.91, 42.28, -28.23)
CIE-LCHlch(29.91, 50.84, 326.26°)
OKLaboklab(41.38% 0.1164 -0.0781)
OKLCHoklch(41.38% 0.14 326.1)
XYZxyz(10.5352, 6.2008, 16.8583)
Luminance0.0620 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702873 #2B7328
analogous
#4A2873 #702873 #732850
triadic
#702873 #737028 #287370
tetradic
#702873 #734A28 #2B7328 #285073
square
#702873 #734A28 #2B7328 #285073
split-complementary
#702873 #507328 #28734A
monochromatic
#180818 #441846 #702873 #9C38A0 #BE52C3

Accessibility & contrast

On white

9.38
#702873 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #702873
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702873#FFFFFF#000000##FFFFFF
##7028731.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4175
Deuteranopia (green-blind)
#374A71
Tritanopia (blue-blind)
#733249
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #702873;
/* rgb */ color: rgb(112, 40, 115);
/* oklch */ color: oklch(41.4% 0.140 326.1);
Tailwind
colors: {
  custom: {
    50: '#9c689b',
    500: '#702873',
    950: '#000000',
  },
}
SCSS
$custom: #702873;
$custom-light: #9c689b;
$custom-dark: #000000;
JSON
{
  "hex": "#702873",
  "rgb": {
    "r": 112,
    "g": 40,
    "b": 115
  },
  "hsl": {
    "h": 297.6,
    "s": 48.387,
    "l": 30.392
  },
  "oklch": {
    "l": 0.41383,
    "c": 0.14018,
    "h": 326.1
  },
  "luminance": 0.062
}

Semantic roles & 50–950 ramp

primary
#702873
secondary
#55A552
accent
#D85055
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060E
muted
#7E7A7E

Preview Lab

Preview with #702873

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

Preview Lab → · Contrast checker → · Palette generator →

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