#702F81#702F81

#702F81 is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.1% C 0.143 H 318.8°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#702F81
RGBrgb(112, 47, 129)
HSLhsl(288, 47%, 35%)
HSVhsv(288, 64%, 51%)
CMYKcmyk(13.2%, 63.6%, 0%, 49.4%)
CIE-LABlab(31.95, 41.76, -33.81)
CIE-LCHlch(31.95, 53.73, 321.00°)
OKLaboklab(43.13% 0.1078 -0.0944)
OKLCHoklch(43.13% 0.143 318.8)
XYZxyz(11.6605, 7.0633, 21.5137)
Luminance0.0706 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702F81 #40812F
analogous
#472F81 #702F81 #812F69
triadic
#702F81 #81702F #2F8170
tetradic
#702F81 #81472F #40812F #2F6981
square
#702F81 #81472F #40812F #2F6981
split-complementary
#702F81 #69812F #2F8147
monochromatic
#220E27 #491F54 #702F81 #973FAE #B264C6

Accessibility & contrast

On white

8.70
#702F81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#702F81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702F81
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702F81#FFFFFF#000000##FFFFFF
##702F811.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#194784
Deuteranopia (green-blind)
#344D7F
Tritanopia (blue-blind)
#703D53
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #702f81;
/* rgb */ color: rgb(112, 47, 129);
/* oklch */ color: oklch(43.1% 0.143 318.8);
Tailwind
colors: {
  custom: {
    50: '#9c6ca6',
    500: '#702f81',
    950: '#000000',
  },
}
SCSS
$custom: #702f81;
$custom-light: #9c6ca6;
$custom-dark: #000000;
JSON
{
  "hex": "#702f81",
  "rgb": {
    "r": 112,
    "g": 47,
    "b": 129
  },
  "hsl": {
    "h": 287.561,
    "s": 46.591,
    "l": 34.51
  },
  "oklch": {
    "l": 0.43126,
    "c": 0.1433,
    "h": 318.8
  },
  "luminance": 0.07063
}

Semantic roles & 50–950 ramp

primary
#702F81
secondary
#6FAD5E
accent
#D6526D
background
#F9F6FA
surface
#F2ECF4
border
#CCC7CE
text
#0E070F
muted
#7E7A7F

Preview Lab

Preview with #702F81

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

Preview Lab → · Contrast checker → · Palette generator →

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