#702D84#702D84

#702D84 is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.1% C 0.149 H 317.6°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#702D84
RGBrgb(112, 45, 132)
HSLhsl(286, 49%, 35%)
HSVhsv(286, 66%, 52%)
CMYKcmyk(15.2%, 65.9%, 0%, 48.2%)
CIE-LABlab(31.78, 43.38, -35.96)
CIE-LCHlch(31.78, 56.34, 320.34°)
OKLaboklab(43.06% 0.1104 -0.1007)
OKLCHoklch(43.06% 0.149 317.6)
XYZxyz(11.7847, 6.9879, 22.5534)
Luminance0.0699 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702D84 #41842D
analogous
#452D84 #702D84 #842D6D
triadic
#702D84 #84702D #2D8470
tetradic
#702D84 #84452D #41842D #2D6D84
square
#702D84 #84452D #41842D #2D6D84
split-complementary
#702D84 #6D842D #2D8445
monochromatic
#230E29 #491D56 #702D84 #973DB2 #B262C9

Accessibility & contrast

On white

8.76
#702D84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#702D84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702D84
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702D84#FFFFFF#000000##FFFFFF
##702D841.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#104687
Deuteranopia (green-blind)
#304D82
Tritanopia (blue-blind)
#6F3C54
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #702d84;
/* rgb */ color: rgb(112, 45, 132);
/* oklch */ color: oklch(43.1% 0.149 317.6);
Tailwind
colors: {
  custom: {
    50: '#9c6ba8',
    500: '#702d84',
    950: '#000000',
  },
}
SCSS
$custom: #702d84;
$custom-light: #9c6ba8;
$custom-dark: #000000;
JSON
{
  "hex": "#702d84",
  "rgb": {
    "r": 112,
    "g": 45,
    "b": 132
  },
  "hsl": {
    "h": 286.207,
    "s": 49.153,
    "l": 34.706
  },
  "oklch": {
    "l": 0.43061,
    "c": 0.14939,
    "h": 317.6
  },
  "luminance": 0.06987
}

Semantic roles & 50–950 ramp

primary
#702D84
secondary
#70B05D
accent
#D94F6F
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0710
muted
#7E7A7F

Preview Lab

Preview with #702D84

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

Preview Lab → · Contrast checker → · Palette generator →

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