#702E8E#702E8E

#702E8E is a dark, vivid purple. Relative luminance 0.074; OKLCH L 43.9% C 0.158 H 313.4°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#702E8E
RGBrgb(112, 46, 142)
HSLhsl(281, 51%, 37%)
HSVhsv(281, 68%, 56%)
CMYKcmyk(21.1%, 67.6%, 0%, 44.3%)
CIE-LABlab(32.60, 45.08, -40.84)
CIE-LCHlch(32.60, 60.83, 317.83°)
OKLaboklab(43.86% 0.1088 -0.115)
OKLCHoklch(43.86% 0.158 313.4)
XYZxyz(12.5407, 7.3521, 26.3444)
Luminance0.0735 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702E8E #4C8E2E
analogous
#402E8E #702E8E #8E2E7C
triadic
#702E8E #8E702E #2E8E70
tetradic
#702E8E #8E402E #4C8E2E #2E7C8E
square
#702E8E #8E402E #4C8E2E #2E7C8E
split-complementary
#702E8E #7C8E2E #2E8E40
monochromatic
#271032 #4C1F60 #702E8E #943DBC #AE68CE

Accessibility & contrast

On white

8.50
#702E8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#702E8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702E8E
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702E8E#FFFFFF#000000##FFFFFF
##702E8E1.008.502.478.50
#FFFFFF8.501.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004991
Deuteranopia (green-blind)
#284E8C
Tritanopia (blue-blind)
#6D415A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #702e8e;
/* rgb */ color: rgb(112, 46, 142);
/* oklch */ color: oklch(43.9% 0.158 313.4);
Tailwind
colors: {
  custom: {
    50: '#9c6cb0',
    500: '#702e8e',
    950: '#000000',
  },
}
SCSS
$custom: #702e8e;
$custom-light: #9c6cb0;
$custom-dark: #000000;
JSON
{
  "hex": "#702e8e",
  "rgb": {
    "r": 112,
    "g": 46,
    "b": 142
  },
  "hsl": {
    "h": 281.25,
    "s": 51.064,
    "l": 36.863
  },
  "oklch": {
    "l": 0.43856,
    "c": 0.15828,
    "h": 313.4
  },
  "luminance": 0.07352
}

Semantic roles & 50–950 ramp

primary
#702E8E
secondary
#7CB563
accent
#DB4D79
background
#F9F6FA
surface
#F2ECF5
border
#CCC7CF
text
#0F0710
muted
#7E7A7F

Preview Lab

Preview with #702E8E

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

Preview Lab → · Contrast checker → · Palette generator →

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