#702C84#702C84

#702C84 is a dark, vivid purple. Relative luminance 0.069; OKLCH L 42.9% C 0.151 H 317.7°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#702C84
RGBrgb(112, 44, 132)
HSLhsl(286, 50%, 35%)
HSVhsv(286, 67%, 52%)
CMYKcmyk(15.2%, 66.7%, 0%, 48.2%)
CIE-LABlab(31.61, 43.86, -36.23)
CIE-LCHlch(31.61, 56.89, 320.44°)
OKLaboklab(42.94% 0.1116 -0.1015)
OKLCHoklch(42.94% 0.151 317.7)
XYZxyz(11.7470, 6.9125, 22.5408)
Luminance0.0691 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702C84 #40842C
analogous
#442C84 #702C84 #842C6C
triadic
#702C84 #84702C #2C8470
tetradic
#702C84 #84442C #40842C #2C6C84
square
#702C84 #84442C #40842C #2C6C84
split-complementary
#702C84 #6C842C #2C8444
monochromatic
#220D28 #491D56 #702C84 #973BB2 #B260CA

Accessibility & contrast

On white

8.81
#702C84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#702C84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702C84
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702C84#FFFFFF#000000##FFFFFF
##702C841.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D4687
Deuteranopia (green-blind)
#2F4D82
Tritanopia (blue-blind)
#6F3C54
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #702c84;
/* rgb */ color: rgb(112, 44, 132);
/* oklch */ color: oklch(42.9% 0.151 317.7);
Tailwind
colors: {
  custom: {
    50: '#9c6aa8',
    500: '#702c84',
    950: '#000000',
  },
}
SCSS
$custom: #702c84;
$custom-light: #9c6aa8;
$custom-dark: #000000;
JSON
{
  "hex": "#702c84",
  "rgb": {
    "r": 112,
    "g": 44,
    "b": 132
  },
  "hsl": {
    "h": 286.364,
    "s": 50,
    "l": 34.51
  },
  "oklch": {
    "l": 0.42937,
    "c": 0.15086,
    "h": 317.7
  },
  "luminance": 0.06912
}

Semantic roles & 50–950 ramp

primary
#702C84
secondary
#6FB05C
accent
#DA4E6E
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0710
muted
#7E7A7F

Preview Lab

Preview with #702C84

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

Preview Lab → · Contrast checker → · Palette generator →

#702C84 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva