#702587#702587

#702587 is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.3% C 0.163 H 317.1°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#702587
RGBrgb(112, 37, 135)
HSLhsl(286, 57%, 34%)
HSVhsv(286, 73%, 53%)
CMYKcmyk(17%, 72.6%, 0%, 47.1%)
CIE-LABlab(30.68, 47.62, -39.58)
CIE-LCHlch(30.68, 61.92, 320.27°)
OKLaboklab(42.34% 0.1196 -0.1112)
OKLCHoklch(42.34% 0.163 317.1)
XYZxyz(11.7162, 6.5176, 23.5578)
Luminance0.0652 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702587 #3C8725
analogous
#3F2587 #702587 #87256D
triadic
#702587 #877025 #258770
tetradic
#702587 #873F25 #3C8725 #256D87
square
#702587 #873F25 #3C8725 #256D87
split-complementary
#702587 #6D8725 #25873F
monochromatic
#200B27 #481857 #702587 #9832B7 #B456D1

Accessibility & contrast

On white

9.12
#702587 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#702587 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702587
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702587#FFFFFF#000000##FFFFFF
##7025871.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448A
Deuteranopia (green-blind)
#274A85
Tritanopia (blue-blind)
#6F3953
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #702587;
/* rgb */ color: rgb(112, 37, 135);
/* oklch */ color: oklch(42.3% 0.163 317.1);
Tailwind
colors: {
  custom: {
    50: '#9c67aa',
    500: '#702587',
    950: '#000000',
  },
}
SCSS
$custom: #702587;
$custom-light: #9c67aa;
$custom-dark: #000000;
JSON
{
  "hex": "#702587",
  "rgb": {
    "r": 112,
    "g": 37,
    "b": 135
  },
  "hsl": {
    "h": 285.918,
    "s": 56.977,
    "l": 33.725
  },
  "oklch": {
    "l": 0.42336,
    "c": 0.16334,
    "h": 317.1
  },
  "luminance": 0.06517
}

Semantic roles & 50–950 ramp

primary
#702587
secondary
#6AB553
accent
#E0486B
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F0610
muted
#7E7A7F

Preview Lab

Preview with #702587

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

Preview Lab → · Contrast checker → · Palette generator →

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