#702487#702487

#702487 is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.2% C 0.165 H 317.2°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#702487
RGBrgb(112, 36, 135)
HSLhsl(286, 58%, 34%)
HSVhsv(286, 73%, 53%)
CMYKcmyk(17%, 73.3%, 0%, 47.1%)
CIE-LABlab(30.54, 48.04, -39.82)
CIE-LCHlch(30.54, 62.39, 320.35°)
OKLaboklab(42.23% 0.1207 -0.1119)
OKLCHoklch(42.23% 0.165 317.2)
XYZxyz(11.6855, 6.4563, 23.5476)
Luminance0.0646 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702487 #3B8724
analogous
#3E2487 #702487 #87246C
triadic
#702487 #877024 #248770
tetradic
#702487 #873E24 #3B8724 #246C87
square
#702487 #873E24 #3B8724 #246C87
split-complementary
#702487 #6C8724 #24873E
monochromatic
#200A26 #481757 #702487 #9831B7 #B454D1

Accessibility & contrast

On white

9.17
#702487 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#702487 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702487
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702487#FFFFFF#000000##FFFFFF
##7024871.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438A
Deuteranopia (green-blind)
#264A85
Tritanopia (blue-blind)
#6F3853
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #702487;
/* rgb */ color: rgb(112, 36, 135);
/* oklch */ color: oklch(42.2% 0.165 317.2);
Tailwind
colors: {
  custom: {
    50: '#9c66aa',
    500: '#702487',
    950: '#000000',
  },
}
SCSS
$custom: #702487;
$custom-light: #9c66aa;
$custom-dark: #000000;
JSON
{
  "hex": "#702487",
  "rgb": {
    "r": 112,
    "g": 36,
    "b": 135
  },
  "hsl": {
    "h": 286.061,
    "s": 57.895,
    "l": 33.529
  },
  "oklch": {
    "l": 0.42231,
    "c": 0.16459,
    "h": 317.2
  },
  "luminance": 0.06456
}

Semantic roles & 50–950 ramp

primary
#702487
secondary
#69B551
accent
#E1476B
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F0610
muted
#7E7A7F

Preview Lab

Preview with #702487

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

Preview Lab → · Contrast checker → · Palette generator →

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