#702A9E#702A9E

#702A9E is a dark, vivid violet. Relative luminance 0.076; OKLCH L 44.6% C 0.180 H 308.2°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#702A9E
RGBrgb(112, 42, 158)
HSLhsl(276, 58%, 39%)
HSVhsv(276, 73%, 62%)
CMYKcmyk(29.1%, 73.4%, 0%, 38%)
CIE-LABlab(33.07, 50.53, -49.85)
CIE-LCHlch(33.07, 70.98, 315.39°)
OKLaboklab(44.55% 0.1114 -0.1414)
OKLCHoklch(44.55% 0.18 308.2)
XYZxyz(13.6803, 7.5695, 33.0815)
Luminance0.0757 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702A9E #589E2A
analogous
#362A9E #702A9E #9E2A92
triadic
#702A9E #9E702A #2A9E70
tetradic
#702A9E #9E362A #589E2A #2A929E
square
#702A9E #9E362A #589E2A #2A929E
split-complementary
#702A9E #929E2A #2A9E36
monochromatic
#2B103D #4E1D6E #702A9E #923ACB #AC6BD8

Accessibility & contrast

On white

8.35
#702A9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#702A9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702A9E
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702A9E#FFFFFF#000000##FFFFFF
##702A9E1.008.352.518.35
#FFFFFF8.351.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA1
Deuteranopia (green-blind)
#054E9C
Tritanopia (blue-blind)
#694561
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #702a9e;
/* rgb */ color: rgb(112, 42, 158);
/* oklch */ color: oklch(44.6% 0.180 308.2);
Tailwind
colors: {
  custom: {
    50: '#9d6abb',
    500: '#702a9e',
    950: '#000000',
  },
}
SCSS
$custom: #702a9e;
$custom-light: #9d6abb;
$custom-dark: #000000;
JSON
{
  "hex": "#702a9e",
  "rgb": {
    "r": 112,
    "g": 42,
    "b": 158
  },
  "hsl": {
    "h": 276.207,
    "s": 58,
    "l": 39.216
  },
  "oklch": {
    "l": 0.44552,
    "c": 0.18,
    "h": 308.2
  },
  "luminance": 0.07569
}

Semantic roles & 50–950 ramp

primary
#702A9E
secondary
#89BE66
accent
#E14784
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #702A9E

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

Preview Lab → · Contrast checker → · Palette generator →

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