#702F82#702F82

#702F82 is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.2% C 0.144 H 318.3°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#702F82
RGBrgb(112, 47, 130)
HSLhsl(287, 47%, 35%)
HSVhsv(287, 64%, 51%)
CMYKcmyk(13.8%, 63.8%, 0%, 49%)
CIE-LABlab(32.01, 41.97, -34.34)
CIE-LCHlch(32.01, 54.23, 320.71°)
OKLaboklab(43.19% 0.1078 -0.096)
OKLCHoklch(43.19% 0.144 318.3)
XYZxyz(11.7273, 7.0900, 21.8655)
Luminance0.0709 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702F82 #41822F
analogous
#472F82 #702F82 #822F6B
triadic
#702F82 #82702F #2F8270
tetradic
#702F82 #82472F #41822F #2F6B82
square
#702F82 #82472F #41822F #2F6B82
split-complementary
#702F82 #6B822F #2F8247
monochromatic
#230E28 #491F55 #702F82 #973FAF #B264C7

Accessibility & contrast

On white

8.69
#702F82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#702F82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702F82
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702F82#FFFFFF#000000##FFFFFF
##702F821.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#184785
Deuteranopia (green-blind)
#334D80
Tritanopia (blue-blind)
#703D54
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #702f82;
/* rgb */ color: rgb(112, 47, 130);
/* oklch */ color: oklch(43.2% 0.144 318.3);
Tailwind
colors: {
  custom: {
    50: '#9c6ca7',
    500: '#702f82',
    950: '#000000',
  },
}
SCSS
$custom: #702f82;
$custom-light: #9c6ca7;
$custom-dark: #000000;
JSON
{
  "hex": "#702f82",
  "rgb": {
    "r": 112,
    "g": 47,
    "b": 130
  },
  "hsl": {
    "h": 286.988,
    "s": 46.893,
    "l": 34.706
  },
  "oklch": {
    "l": 0.43189,
    "c": 0.14434,
    "h": 318.3
  },
  "luminance": 0.07089
}

Semantic roles & 50–950 ramp

primary
#702F82
secondary
#70AE5F
accent
#D7516E
background
#F9F6FA
surface
#F2ECF4
border
#CCC7CE
text
#0E070F
muted
#7E7A7F

Preview Lab

Preview with #702F82

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

Preview Lab → · Contrast checker → · Palette generator →

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