#702F83#702F83

#702F83 is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.3% C 0.145 H 317.9°. Best body text is #FFFFFF at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#702F83
RGBrgb(112, 47, 131)
HSLhsl(286, 47%, 35%)
HSVhsv(286, 64%, 51%)
CMYKcmyk(14.5%, 64.1%, 0%, 48.6%)
CIE-LABlab(32.07, 42.19, -34.87)
CIE-LCHlch(32.07, 54.73, 320.43°)
OKLaboklab(43.25% 0.1078 -0.0975)
OKLCHoklch(43.25% 0.145 317.9)
XYZxyz(11.7948, 7.1169, 22.2207)
Luminance0.0712 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702F83 #42832F
analogous
#462F83 #702F83 #832F6C
triadic
#702F83 #83702F #2F8370
tetradic
#702F83 #83462F #42832F #2F6C83
square
#702F83 #83462F #42832F #2F6C83
split-complementary
#702F83 #6C832F #2F8346
monochromatic
#230F29 #491F56 #702F83 #973FB0 #B165C8

Accessibility & contrast

On white

8.67
#702F83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #702F83
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702F83#FFFFFF#000000##FFFFFF
##702F831.008.672.428.67
#FFFFFF8.671.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#164786
Deuteranopia (green-blind)
#324E81
Tritanopia (blue-blind)
#703D54
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #702f83;
/* rgb */ color: rgb(112, 47, 131);
/* oklch */ color: oklch(43.3% 0.145 317.9);
Tailwind
colors: {
  custom: {
    50: '#9c6ca7',
    500: '#702f83',
    950: '#000000',
  },
}
SCSS
$custom: #702f83;
$custom-light: #9c6ca7;
$custom-dark: #000000;
JSON
{
  "hex": "#702f83",
  "rgb": {
    "r": 112,
    "g": 47,
    "b": 131
  },
  "hsl": {
    "h": 286.429,
    "s": 47.191,
    "l": 34.902
  },
  "oklch": {
    "l": 0.43253,
    "c": 0.14537,
    "h": 317.9
  },
  "luminance": 0.07116
}

Semantic roles & 50–950 ramp

primary
#702F83
secondary
#71AF5F
accent
#D7516F
background
#F9F6FA
surface
#F2ECF4
border
#CCC7CE
text
#0E070F
muted
#7E7A7F

Preview Lab

Preview with #702F83

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

Preview Lab → · Contrast checker → · Palette generator →

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