#702E7A#702E7A

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

Color values

HEX#702E7A
RGBrgb(112, 46, 122)
HSLhsl(292, 45%, 33%)
HSVhsv(292, 62%, 48%)
CMYKcmyk(8.2%, 62.3%, 0%, 52.2%)
CIE-LABlab(31.36, 40.80, -30.37)
CIE-LCHlch(31.36, 50.86, 323.33°)
OKLaboklab(42.56% 0.1089 -0.0844)
OKLCHoklch(42.56% 0.138 322.2)
XYZxyz(11.1716, 6.8044, 19.1335)
Luminance0.0680 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702E7A #387A2E
analogous
#4A2E7A #702E7A #7A2E5E
triadic
#702E7A #7A702E #2E7A70
tetradic
#702E7A #7A4A2E #387A2E #2E5E7A
square
#702E7A #7A4A2E #387A2E #2E5E7A
split-complementary
#702E7A #5E7A2E #2E7A4A
monochromatic
#1E0C21 #471D4E #702E7A #993FA6 #B660C3

Accessibility & contrast

On white

8.90
#702E7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #702E7A
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702E7A#FFFFFF#000000##FFFFFF
##702E7A1.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F457C
Deuteranopia (green-blind)
#374C78
Tritanopia (blue-blind)
#71394F
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #702e7a;
/* rgb */ color: rgb(112, 46, 122);
/* oklch */ color: oklch(42.6% 0.138 322.2);
Tailwind
colors: {
  custom: {
    50: '#9b6ba1',
    500: '#702e7a',
    950: '#000000',
  },
}
SCSS
$custom: #702e7a;
$custom-light: #9b6ba1;
$custom-dark: #000000;
JSON
{
  "hex": "#702e7a",
  "rgb": {
    "r": 112,
    "g": 46,
    "b": 122
  },
  "hsl": {
    "h": 292.105,
    "s": 45.238,
    "l": 32.941
  },
  "oklch": {
    "l": 0.42562,
    "c": 0.13774,
    "h": 322.2
  },
  "luminance": 0.06804
}

Semantic roles & 50–950 ramp

primary
#702E7A
secondary
#65AA5A
accent
#D55364
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E070F
muted
#7E7A7E

Preview Lab

Preview with #702E7A

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

Preview Lab → · Contrast checker → · Palette generator →

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