#702C7F#702C7F

#702C7F is a dark, vivid purple. Relative luminance 0.068; OKLCH L 42.6% C 0.146 H 320.0°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#702C7F
RGBrgb(112, 44, 127)
HSLhsl(289, 49%, 34%)
HSVhsv(289, 65%, 50%)
CMYKcmyk(11.8%, 65.4%, 0%, 50.2%)
CIE-LABlab(31.30, 42.80, -33.60)
CIE-LCHlch(31.30, 54.42, 321.87°)
OKLaboklab(42.61% 0.1117 -0.0938)
OKLCHoklch(42.61% 0.146 320)
XYZxyz(11.4131, 6.7789, 20.7818)
Luminance0.0678 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702C7F #3B7F2C
analogous
#462C7F #702C7F #7F2C64
triadic
#702C7F #7F702C #2C7F70
tetradic
#702C7F #7F462C #3B7F2C #2C647F
square
#702C7F #7F462C #3B7F2C #2C647F
split-complementary
#702C7F #647F2C #2C7F46
monochromatic
#200D24 #481C52 #702C7F #983CAC #B45EC7

Accessibility & contrast

On white

8.91
#702C7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#702C7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702C7F
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702C7F#FFFFFF#000000##FFFFFF
##702C7F1.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154582
Deuteranopia (green-blind)
#334C7D
Tritanopia (blue-blind)
#703A51
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #702c7f;
/* rgb */ color: rgb(112, 44, 127);
/* oklch */ color: oklch(42.6% 0.146 320.0);
Tailwind
colors: {
  custom: {
    50: '#9c6aa4',
    500: '#702c7f',
    950: '#000000',
  },
}
SCSS
$custom: #702c7f;
$custom-light: #9c6aa4;
$custom-dark: #000000;
JSON
{
  "hex": "#702c7f",
  "rgb": {
    "r": 112,
    "g": 44,
    "b": 127
  },
  "hsl": {
    "h": 289.157,
    "s": 48.538,
    "l": 33.529
  },
  "oklch": {
    "l": 0.42614,
    "c": 0.14582,
    "h": 320
  },
  "luminance": 0.06778
}

Semantic roles & 50–950 ramp

primary
#702C7F
secondary
#69AD59
accent
#D85068
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E070F
muted
#7E7A7F

Preview Lab

Preview with #702C7F

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

Preview Lab → · Contrast checker → · Palette generator →

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