#702E7F#702E7F

#702E7F is a dark, vivid purple. Relative luminance 0.069; OKLCH L 42.9% C 0.143 H 319.8°. Best body text is #FFFFFF at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#702E7F
RGBrgb(112, 46, 127)
HSLhsl(289, 47%, 34%)
HSVhsv(289, 64%, 50%)
CMYKcmyk(11.8%, 63.8%, 0%, 50.2%)
CIE-LABlab(31.65, 41.83, -33.04)
CIE-LCHlch(31.65, 53.31, 321.70°)
OKLaboklab(42.87% 0.1091 -0.0922)
OKLCHoklch(42.87% 0.143 319.8)
XYZxyz(11.4894, 6.9316, 20.8073)
Luminance0.0693 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702E7F #3D7F2E
analogous
#482E7F #702E7F #7F2E66
triadic
#702E7F #7F702E #2E7F70
tetradic
#702E7F #7F482E #3D7F2E #2E667F
square
#702E7F #7F482E #3D7F2E #2E667F
split-complementary
#702E7F #667F2E #2E7F48
monochromatic
#210D25 #481E52 #702E7F #983EAC #B361C6

Accessibility & contrast

On white

8.80
#702E7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#702E7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702E7F
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702E7F#FFFFFF#000000##FFFFFF
##702E7F1.008.802.398.80
#FFFFFF8.801.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#194681
Deuteranopia (green-blind)
#344D7D
Tritanopia (blue-blind)
#703B52
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #702e7f;
/* rgb */ color: rgb(112, 46, 127);
/* oklch */ color: oklch(42.9% 0.143 319.8);
Tailwind
colors: {
  custom: {
    50: '#9c6ba4',
    500: '#702e7f',
    950: '#000000',
  },
}
SCSS
$custom: #702e7f;
$custom-light: #9c6ba4;
$custom-dark: #000000;
JSON
{
  "hex": "#702e7f",
  "rgb": {
    "r": 112,
    "g": 46,
    "b": 127
  },
  "hsl": {
    "h": 288.889,
    "s": 46.821,
    "l": 33.922
  },
  "oklch": {
    "l": 0.4287,
    "c": 0.1428,
    "h": 319.8
  },
  "luminance": 0.06931
}

Semantic roles & 50–950 ramp

primary
#702E7F
secondary
#6BAD5C
accent
#D6516A
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E070F
muted
#7E7A7F

Preview Lab

Preview with #702E7F

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

Preview Lab → · Contrast checker → · Palette generator →

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