#702987#702987

#702987 is a dark, vivid purple. Relative luminance 0.068; OKLCH L 42.8% C 0.158 H 316.7°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#702987
RGBrgb(112, 41, 135)
HSLhsl(285, 53%, 35%)
HSVhsv(285, 70%, 53%)
CMYKcmyk(17%, 69.6%, 0%, 47.1%)
CIE-LABlab(31.30, 45.88, -38.59)
CIE-LCHlch(31.30, 59.95, 319.94°)
OKLaboklab(42.78% 0.1151 -0.1083)
OKLCHoklch(42.78% 0.158 316.7)
XYZxyz(11.8476, 6.7804, 23.6016)
Luminance0.0678 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702987 #408729
analogous
#412987 #702987 #87296F
triadic
#702987 #877029 #298770
tetradic
#702987 #874129 #408729 #296F87
square
#702987 #874129 #408729 #296F87
split-complementary
#702987 #6F8729 #298741
monochromatic
#220C29 #491B58 #702987 #9737B6 #B25DCE

Accessibility & contrast

On white

8.91
#702987 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#702987 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702987
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702987#FFFFFF#000000##FFFFFF
##7029871.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458A
Deuteranopia (green-blind)
#2A4C85
Tritanopia (blue-blind)
#6F3B54
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #702987;
/* rgb */ color: rgb(112, 41, 135);
/* oklch */ color: oklch(42.8% 0.158 316.7);
Tailwind
colors: {
  custom: {
    50: '#9c69aa',
    500: '#702987',
    950: '#000000',
  },
}
SCSS
$custom: #702987;
$custom-light: #9c69aa;
$custom-dark: #000000;
JSON
{
  "hex": "#702987",
  "rgb": {
    "r": 112,
    "g": 41,
    "b": 135
  },
  "hsl": {
    "h": 285.319,
    "s": 53.409,
    "l": 34.51
  },
  "oklch": {
    "l": 0.42779,
    "c": 0.15809,
    "h": 316.7
  },
  "luminance": 0.0678
}

Semantic roles & 50–950 ramp

primary
#702987
secondary
#6FB359
accent
#DD4B6F
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F0710
muted
#7E7A7F

Preview Lab

Preview with #702987

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

Preview Lab → · Contrast checker → · Palette generator →

#702987 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva