#702E82#702E82

#702E82 is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.1% C 0.146 H 318.4°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#702E82
RGBrgb(112, 46, 130)
HSLhsl(287, 48%, 35%)
HSVhsv(287, 65%, 51%)
CMYKcmyk(13.8%, 64.6%, 0%, 49%)
CIE-LABlab(31.83, 42.47, -34.63)
CIE-LCHlch(31.83, 54.80, 320.81°)
OKLaboklab(43.06% 0.1091 -0.0968)
OKLCHoklch(43.06% 0.146 318.4)
XYZxyz(11.6878, 7.0109, 21.8524)
Luminance0.0701 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702E82 #40822E
analogous
#462E82 #702E82 #822E6A
triadic
#702E82 #82702E #2E8270
tetradic
#702E82 #82462E #40822E #2E6A82
square
#702E82 #82462E #40822E #2E6A82
split-complementary
#702E82 #6A822E #2E8246
monochromatic
#220E28 #491E55 #702E82 #973EAF #B263C8

Accessibility & contrast

On white

8.74
#702E82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#702E82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702E82
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702E82#FFFFFF#000000##FFFFFF
##702E821.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154785
Deuteranopia (green-blind)
#324D80
Tritanopia (blue-blind)
#703C53
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #702e82;
/* rgb */ color: rgb(112, 46, 130);
/* oklch */ color: oklch(43.1% 0.146 318.4);
Tailwind
colors: {
  custom: {
    50: '#9c6ba7',
    500: '#702e82',
    950: '#000000',
  },
}
SCSS
$custom: #702e82;
$custom-light: #9c6ba7;
$custom-dark: #000000;
JSON
{
  "hex": "#702e82",
  "rgb": {
    "r": 112,
    "g": 46,
    "b": 130
  },
  "hsl": {
    "h": 287.143,
    "s": 47.727,
    "l": 34.51
  },
  "oklch": {
    "l": 0.4306,
    "c": 0.14586,
    "h": 318.4
  },
  "luminance": 0.0701
}

Semantic roles & 50–950 ramp

primary
#702E82
secondary
#6FAE5D
accent
#D7506D
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E070F
muted
#7E7A7F

Preview Lab

Preview with #702E82

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

Preview Lab → · Contrast checker → · Palette generator →

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