#702AA1#702AA1

#702AA1 is a dark, vivid violet. Relative luminance 0.077; OKLCH L 44.8% C 0.183 H 307.3°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#702AA1
RGBrgb(112, 42, 161)
HSLhsl(275, 59%, 40%)
HSVhsv(275, 74%, 63%)
CMYKcmyk(30.4%, 73.9%, 0%, 36.9%)
CIE-LABlab(33.29, 51.21, -51.30)
CIE-LCHlch(33.29, 72.49, 314.95°)
OKLaboklab(44.78% 0.1109 -0.1457)
OKLCHoklch(44.78% 0.183 307.3)
XYZxyz(13.9417, 7.6741, 34.4581)
Luminance0.0767 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702AA1 #5BA12A
analogous
#342AA1 #702AA1 #A12A97
triadic
#702AA1 #A1702A #2AA170
tetradic
#702AA1 #A1342A #5BA12A #2A97A1
square
#702AA1 #A1342A #5BA12A #2A97A1
split-complementary
#702AA1 #97A12A #2AA134
monochromatic
#2C1140 #4E1D70 #702AA1 #913CCC #AC6DD9

Accessibility & contrast

On white

8.28
#702AA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#702AA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702AA1
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702AA1#FFFFFF#000000##FFFFFF
##702AA11.008.282.538.28
#FFFFFF8.281.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA4
Deuteranopia (green-blind)
#004F9F
Tritanopia (blue-blind)
#684663
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #702aa1;
/* rgb */ color: rgb(112, 42, 161);
/* oklch */ color: oklch(44.8% 0.183 307.3);
Tailwind
colors: {
  custom: {
    50: '#9e6abe',
    500: '#702aa1',
    950: '#000000',
  },
}
SCSS
$custom: #702aa1;
$custom-light: #9e6abe;
$custom-dark: #000000;
JSON
{
  "hex": "#702aa1",
  "rgb": {
    "r": 112,
    "g": 42,
    "b": 161
  },
  "hsl": {
    "h": 275.294,
    "s": 58.621,
    "l": 39.804
  },
  "oklch": {
    "l": 0.44782,
    "c": 0.18306,
    "h": 307.3
  },
  "luminance": 0.07674
}

Semantic roles & 50–950 ramp

primary
#702AA1
secondary
#8CC067
accent
#E24686
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #702AA1

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

Preview Lab → · Contrast checker → · Palette generator →

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