#702D87#702D87

#702D87 is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.3% C 0.152 H 316.4°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#702D87
RGBrgb(112, 45, 135)
HSLhsl(285, 50%, 35%)
HSVhsv(285, 67%, 53%)
CMYKcmyk(17%, 66.7%, 0%, 47.1%)
CIE-LABlab(31.97, 44.02, -37.52)
CIE-LCHlch(31.97, 57.84, 319.56°)
OKLaboklab(43.26% 0.1103 -0.1052)
OKLCHoklch(43.26% 0.152 316.4)
XYZxyz(11.9930, 7.0712, 23.6501)
Luminance0.0707 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702D87 #44872D
analogous
#432D87 #702D87 #872D71
triadic
#702D87 #87702D #2D8770
tetradic
#702D87 #87432D #44872D #2D7187
square
#702D87 #87432D #44872D #2D7187
split-complementary
#702D87 #71872D #2D8743
monochromatic
#240E2B #4A1E59 #702D87 #963CB5 #B163CB

Accessibility & contrast

On white

8.70
#702D87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#702D87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702D87
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702D87#FFFFFF#000000##FFFFFF
##702D871.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#09478A
Deuteranopia (green-blind)
#2E4D85
Tritanopia (blue-blind)
#6F3E56
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #702d87;
/* rgb */ color: rgb(112, 45, 135);
/* oklch */ color: oklch(43.3% 0.152 316.4);
Tailwind
colors: {
  custom: {
    50: '#9c6baa',
    500: '#702d87',
    950: '#000000',
  },
}
SCSS
$custom: #702d87;
$custom-light: #9c6baa;
$custom-dark: #000000;
JSON
{
  "hex": "#702d87",
  "rgb": {
    "r": 112,
    "g": 45,
    "b": 135
  },
  "hsl": {
    "h": 284.667,
    "s": 50,
    "l": 35.294
  },
  "oklch": {
    "l": 0.43259,
    "c": 0.15247,
    "h": 316.4
  },
  "luminance": 0.07071
}

Semantic roles & 50–950 ramp

primary
#702D87
secondary
#74B25E
accent
#DA4E72
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0710
muted
#7E7A7F

Preview Lab

Preview with #702D87

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

Preview Lab → · Contrast checker → · Palette generator →

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