#702D82#702D82

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

Color values

HEX#702D82
RGBrgb(112, 45, 130)
HSLhsl(287, 49%, 34%)
HSVhsv(287, 65%, 51%)
CMYKcmyk(13.8%, 65.4%, 0%, 49%)
CIE-LABlab(31.66, 42.95, -34.91)
CIE-LCHlch(31.66, 55.35, 320.90°)
OKLaboklab(42.93% 0.1104 -0.0976)
OKLCHoklch(42.93% 0.147 318.5)
XYZxyz(11.6492, 6.9337, 21.8395)
Luminance0.0693 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702D82 #3F822D
analogous
#462D82 #702D82 #822D6A
triadic
#702D82 #82702D #2D8270
tetradic
#702D82 #82462D #3F822D #2D6A82
square
#702D82 #82462D #3F822D #2D6A82
split-complementary
#702D82 #6A822D #2D8246
monochromatic
#220E27 #491D55 #702D82 #973DAF #B261C8

Accessibility & contrast

On white

8.80
#702D82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#702D82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702D82
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702D82#FFFFFF#000000##FFFFFF
##702D821.008.802.398.80
#FFFFFF8.801.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#134685
Deuteranopia (green-blind)
#314D80
Tritanopia (blue-blind)
#703C53
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #702d82;
/* rgb */ color: rgb(112, 45, 130);
/* oklch */ color: oklch(42.9% 0.147 318.5);
Tailwind
colors: {
  custom: {
    50: '#9c6ba7',
    500: '#702d82',
    950: '#000000',
  },
}
SCSS
$custom: #702d82;
$custom-light: #9c6ba7;
$custom-dark: #000000;
JSON
{
  "hex": "#702d82",
  "rgb": {
    "r": 112,
    "g": 45,
    "b": 130
  },
  "hsl": {
    "h": 287.294,
    "s": 48.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.42932,
    "c": 0.14736,
    "h": 318.5
  },
  "luminance": 0.06933
}

Semantic roles & 50–950 ramp

primary
#702D82
secondary
#6EAF5C
accent
#D8506D
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E070F
muted
#7E7A7F

Preview Lab

Preview with #702D82

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

Preview Lab → · Contrast checker → · Palette generator →

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