#702E79#702E79

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

Color values

HEX#702E79
RGBrgb(112, 46, 121)
HSLhsl(293, 45%, 33%)
HSVhsv(293, 62%, 47%)
CMYKcmyk(7.4%, 62%, 0%, 52.5%)
CIE-LABlab(31.30, 40.59, -29.83)
CIE-LCHlch(31.30, 50.38, 323.68°)
OKLaboklab(42.5% 0.1088 -0.0828)
OKLCHoklch(42.5% 0.137 322.7)
XYZxyz(11.1099, 6.7798, 18.8089)
Luminance0.0678 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702E79 #37792E
analogous
#4A2E79 #702E79 #792E5C
triadic
#702E79 #79702E #2E7970
tetradic
#702E79 #794A2E #37792E #2E5C79
square
#702E79 #794A2E #37792E #2E5C79
split-complementary
#702E79 #5C792E #2E794A
monochromatic
#1E0C20 #471D4D #702E79 #993FA5 #B65FC2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##702E79#FFFFFF#000000##FFFFFF
##702E791.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)
#20457B
Deuteranopia (green-blind)
#384C77
Tritanopia (blue-blind)
#72394F
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #702e79;
/* rgb */ color: rgb(112, 46, 121);
/* oklch */ color: oklch(42.5% 0.137 322.7);
Tailwind
colors: {
  custom: {
    50: '#9b6ba0',
    500: '#702e79',
    950: '#000000',
  },
}
SCSS
$custom: #702e79;
$custom-light: #9b6ba0;
$custom-dark: #000000;
JSON
{
  "hex": "#702e79",
  "rgb": {
    "r": 112,
    "g": 46,
    "b": 121
  },
  "hsl": {
    "h": 292.8,
    "s": 44.91,
    "l": 32.745
  },
  "oklch": {
    "l": 0.42502,
    "c": 0.13674,
    "h": 322.7
  },
  "luminance": 0.06779
}

Semantic roles & 50–950 ramp

primary
#702E79
secondary
#63A95A
accent
#D55363
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E070E
muted
#7E7A7E

Preview Lab

Preview with #702E79

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

Preview Lab → · Contrast checker → · Palette generator →

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