#702A8E#702A8E

#702A8E is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.4% C 0.164 H 313.9°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#702A8E
RGBrgb(112, 42, 142)
HSLhsl(282, 54%, 36%)
HSVhsv(282, 70%, 56%)
CMYKcmyk(21.1%, 70.4%, 0%, 44.3%)
CIE-LABlab(31.93, 46.94, -41.91)
CIE-LCHlch(31.93, 62.93, 318.24°)
OKLaboklab(43.38% 0.1135 -0.1181)
OKLCHoklch(43.38% 0.164 313.9)
XYZxyz(12.3917, 7.0541, 26.2948)
Luminance0.0705 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702A8E #488E2A
analogous
#3E2A8E #702A8E #8E2A7A
triadic
#702A8E #8E702A #2A8E70
tetradic
#702A8E #8E3E2A #488E2A #2A7A8E
square
#702A8E #8E3E2A #488E2A #2A7A8E
split-complementary
#702A8E #7A8E2A #2A8E3E
monochromatic
#250E30 #4B1C5F #702A8E #9538BD #AF62D1

Accessibility & contrast

On white

8.71
#702A8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#702A8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702A8E
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702A8E#FFFFFF#000000##FFFFFF
##702A8E1.008.712.418.71
#FFFFFF8.711.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004791
Deuteranopia (green-blind)
#244D8C
Tritanopia (blue-blind)
#6D3E59
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #702a8e;
/* rgb */ color: rgb(112, 42, 142);
/* oklch */ color: oklch(43.4% 0.164 313.9);
Tailwind
colors: {
  custom: {
    50: '#9c6ab0',
    500: '#702a8e',
    950: '#000000',
  },
}
SCSS
$custom: #702a8e;
$custom-light: #9c6ab0;
$custom-dark: #000000;
JSON
{
  "hex": "#702a8e",
  "rgb": {
    "r": 112,
    "g": 42,
    "b": 142
  },
  "hsl": {
    "h": 282,
    "s": 54.348,
    "l": 36.078
  },
  "oklch": {
    "l": 0.43378,
    "c": 0.16376,
    "h": 313.9
  },
  "luminance": 0.07054
}

Semantic roles & 50–950 ramp

primary
#702A8E
secondary
#78B65D
accent
#DE4A76
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0F0710
muted
#7E7A7F

Preview Lab

Preview with #702A8E

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

Preview Lab → · Contrast checker → · Palette generator →

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