#702F87#702F87

#702F87 is a dark, vivid purple. Relative luminance 0.072; OKLCH L 43.5% C 0.150 H 316.1°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#702F87
RGBrgb(112, 47, 135)
HSLhsl(284, 48%, 36%)
HSVhsv(284, 65%, 53%)
CMYKcmyk(17%, 65.2%, 0%, 47.1%)
CIE-LABlab(32.32, 43.05, -36.96)
CIE-LCHlch(32.32, 56.74, 319.36°)
OKLaboklab(43.51% 0.1078 -0.1036)
OKLCHoklch(43.51% 0.15 316.1)
XYZxyz(12.0711, 7.2275, 23.6762)
Luminance0.0723 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702F87 #46872F
analogous
#442F87 #702F87 #872F72
triadic
#702F87 #87702F #2F8770
tetradic
#702F87 #87442F #46872F #2F7287
square
#702F87 #87442F #46872F #2F7287
split-complementary
#702F87 #72872F #2F8744
monochromatic
#250F2C #4A1F5A #702F87 #963FB4 #B066CA

Accessibility & contrast

On white

8.59
#702F87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#702F87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702F87
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702F87#FFFFFF#000000##FFFFFF
##702F871.008.592.458.59
#FFFFFF8.591.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F488A
Deuteranopia (green-blind)
#2F4E85
Tritanopia (blue-blind)
#6F3F56
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #702f87;
/* rgb */ color: rgb(112, 47, 135);
/* oklch */ color: oklch(43.5% 0.150 316.1);
Tailwind
colors: {
  custom: {
    50: '#9c6caa',
    500: '#702f87',
    950: '#000000',
  },
}
SCSS
$custom: #702f87;
$custom-light: #9c6caa;
$custom-dark: #000000;
JSON
{
  "hex": "#702f87",
  "rgb": {
    "r": 112,
    "g": 47,
    "b": 135
  },
  "hsl": {
    "h": 284.318,
    "s": 48.352,
    "l": 35.686
  },
  "oklch": {
    "l": 0.43512,
    "c": 0.14953,
    "h": 316.1
  },
  "luminance": 0.07227
}

Semantic roles & 50–950 ramp

primary
#702F87
secondary
#76B161
accent
#D85073
background
#F9F6FA
surface
#F2ECF4
border
#CCC7CE
text
#0E0710
muted
#7E7A7F

Preview Lab

Preview with #702F87

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

Preview Lab → · Contrast checker → · Palette generator →

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