#702E87#702E87

#702E87 is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.4% C 0.151 H 316.2°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#702E87
RGBrgb(112, 46, 135)
HSLhsl(284, 49%, 35%)
HSVhsv(284, 66%, 53%)
CMYKcmyk(17%, 65.9%, 0%, 47.1%)
CIE-LABlab(32.14, 43.54, -37.24)
CIE-LCHlch(32.14, 57.30, 319.46°)
OKLaboklab(43.38% 0.1091 -0.1044)
OKLCHoklch(43.38% 0.151 316.2)
XYZxyz(12.0316, 7.1484, 23.6630)
Luminance0.0715 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702E87 #45872E
analogous
#432E87 #702E87 #872E71
triadic
#702E87 #87702E #2E8770
tetradic
#702E87 #87432E #45872E #2E7187
square
#702E87 #87432E #45872E #2E7187
split-complementary
#702E87 #71872E #2E8743
monochromatic
#240F2C #4A1E59 #702E87 #963EB5 #B065CA

Accessibility & contrast

On white

8.64
#702E87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#702E87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702E87
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702E87#FFFFFF#000000##FFFFFF
##702E871.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C488A
Deuteranopia (green-blind)
#2E4E85
Tritanopia (blue-blind)
#6F3E56
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #702e87;
/* rgb */ color: rgb(112, 46, 135);
/* oklch */ color: oklch(43.4% 0.151 316.2);
Tailwind
colors: {
  custom: {
    50: '#9c6caa',
    500: '#702e87',
    950: '#000000',
  },
}
SCSS
$custom: #702e87;
$custom-light: #9c6caa;
$custom-dark: #000000;
JSON
{
  "hex": "#702e87",
  "rgb": {
    "r": 112,
    "g": 46,
    "b": 135
  },
  "hsl": {
    "h": 284.494,
    "s": 49.171,
    "l": 35.49
  },
  "oklch": {
    "l": 0.43384,
    "c": 0.15101,
    "h": 316.2
  },
  "luminance": 0.07148
}

Semantic roles & 50–950 ramp

primary
#702E87
secondary
#75B160
accent
#D94F73
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0710
muted
#7E7A7F

Preview Lab

Preview with #702E87

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

Preview Lab → · Contrast checker → · Palette generator →

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