#702A97#702A97

#702A97 is a dark, vivid violet. Relative luminance 0.073; OKLCH L 44.0% C 0.173 H 310.6°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#702A97
RGBrgb(112, 42, 151)
HSLhsl(279, 56%, 38%)
HSVhsv(279, 72%, 59%)
CMYKcmyk(25.8%, 72.2%, 0%, 40.8%)
CIE-LABlab(32.56, 48.94, -46.42)
CIE-LCHlch(32.56, 67.45, 316.51°)
OKLaboklab(44.03% 0.1125 -0.1313)
OKLCHoklch(44.03% 0.173 310.6)
XYZxyz(13.0949, 7.3353, 29.9982)
Luminance0.0733 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702A97 #51972A
analogous
#392A97 #702A97 #972A87
triadic
#702A97 #97702A #2A9770
tetradic
#702A97 #97392A #51972A #2A8797
square
#702A97 #97392A #51972A #2A8797
split-complementary
#702A97 #87972A #2A9739
monochromatic
#290F37 #4C1D67 #702A97 #9437C7 #AD67D5

Accessibility & contrast

On white

8.51
#702A97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#702A97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702A97
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702A97#FFFFFF#000000##FFFFFF
##702A971.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499A
Deuteranopia (green-blind)
#184E95
Tritanopia (blue-blind)
#6B425E
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #702a97;
/* rgb */ color: rgb(112, 42, 151);
/* oklch */ color: oklch(44.0% 0.173 310.6);
Tailwind
colors: {
  custom: {
    50: '#9d6ab6',
    500: '#702a97',
    950: '#000000',
  },
}
SCSS
$custom: #702a97;
$custom-light: #9d6ab6;
$custom-dark: #000000;
JSON
{
  "hex": "#702a97",
  "rgb": {
    "r": 112,
    "g": 42,
    "b": 151
  },
  "hsl": {
    "h": 278.532,
    "s": 56.477,
    "l": 37.843
  },
  "oklch": {
    "l": 0.44027,
    "c": 0.17289,
    "h": 310.6
  },
  "luminance": 0.07335
}

Semantic roles & 50–950 ramp

primary
#702A97
secondary
#82BB62
accent
#E0487E
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #702A97

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

Preview Lab → · Contrast checker → · Palette generator →

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