#702C87#702C87

#702C87 is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.1% C 0.154 H 316.5°. Best body text is #FFFFFF at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#702C87
RGBrgb(112, 44, 135)
HSLhsl(285, 51%, 35%)
HSVhsv(285, 67%, 53%)
CMYKcmyk(17%, 67.4%, 0%, 47.1%)
CIE-LABlab(31.80, 44.50, -37.79)
CIE-LCHlch(31.80, 58.38, 319.66°)
OKLaboklab(43.14% 0.1116 -0.106)
OKLCHoklch(43.14% 0.154 316.5)
XYZxyz(11.9553, 6.9958, 23.6375)
Luminance0.0699 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702C87 #43872C
analogous
#422C87 #702C87 #872C71
triadic
#702C87 #87702C #2C8770
tetradic
#702C87 #87422C #43872C #2C7187
square
#702C87 #87422C #43872C #2C7187
split-complementary
#702C87 #71872C #2C8742
monochromatic
#230E2B #4A1D59 #702C87 #963BB5 #B162CC

Accessibility & contrast

On white

8.75
#702C87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#702C87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702C87
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702C87#FFFFFF#000000##FFFFFF
##702C871.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#05478A
Deuteranopia (green-blind)
#2D4D85
Tritanopia (blue-blind)
#6F3D55
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #702c87;
/* rgb */ color: rgb(112, 44, 135);
/* oklch */ color: oklch(43.1% 0.154 316.5);
Tailwind
colors: {
  custom: {
    50: '#9c6aaa',
    500: '#702c87',
    950: '#000000',
  },
}
SCSS
$custom: #702c87;
$custom-light: #9c6aaa;
$custom-dark: #000000;
JSON
{
  "hex": "#702c87",
  "rgb": {
    "r": 112,
    "g": 44,
    "b": 135
  },
  "hsl": {
    "h": 284.835,
    "s": 50.838,
    "l": 35.098
  },
  "oklch": {
    "l": 0.43135,
    "c": 0.1539,
    "h": 316.5
  },
  "luminance": 0.06995
}

Semantic roles & 50–950 ramp

primary
#702C87
secondary
#72B25D
accent
#DA4D71
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0710
muted
#7E7A7F

Preview Lab

Preview with #702C87

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

Preview Lab → · Contrast checker → · Palette generator →

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