#702E81#702E81

#702E81 is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.0% C 0.145 H 318.9°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#702E81
RGBrgb(112, 46, 129)
HSLhsl(288, 47%, 34%)
HSVhsv(288, 64%, 51%)
CMYKcmyk(13.2%, 64.3%, 0%, 49.4%)
CIE-LABlab(31.77, 42.25, -34.10)
CIE-LCHlch(31.77, 54.30, 321.10°)
OKLaboklab(43% 0.1091 -0.0953)
OKLCHoklch(43% 0.145 318.9)
XYZxyz(11.6210, 6.9842, 21.5006)
Luminance0.0698 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702E81 #3F812E
analogous
#472E81 #702E81 #812E69
triadic
#702E81 #81702E #2E8170
tetradic
#702E81 #81472E #3F812E #2E6981
square
#702E81 #81472E #3F812E #2E6981
split-complementary
#702E81 #69812E #2E8147
monochromatic
#220E27 #491E54 #702E81 #973EAE #B262C7

Accessibility & contrast

On white

8.76
#702E81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #702E81
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702E81#FFFFFF#000000##FFFFFF
##702E811.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#174684
Deuteranopia (green-blind)
#334D7F
Tritanopia (blue-blind)
#703C53
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #702e81;
/* rgb */ color: rgb(112, 46, 129);
/* oklch */ color: oklch(43.0% 0.145 318.9);
Tailwind
colors: {
  custom: {
    50: '#9c6ba6',
    500: '#702e81',
    950: '#000000',
  },
}
SCSS
$custom: #702e81;
$custom-light: #9c6ba6;
$custom-dark: #000000;
JSON
{
  "hex": "#702e81",
  "rgb": {
    "r": 112,
    "g": 46,
    "b": 129
  },
  "hsl": {
    "h": 287.711,
    "s": 47.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.42996,
    "c": 0.14484,
    "h": 318.9
  },
  "luminance": 0.06984
}

Semantic roles & 50–950 ramp

primary
#702E81
secondary
#6EAE5D
accent
#D7516C
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E070F
muted
#7E7A7F

Preview Lab

Preview with #702E81

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

Preview Lab → · Contrast checker → · Palette generator →

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