#702A9B#702A9B

#702A9B is a dark, vivid violet. Relative luminance 0.075; OKLCH L 44.3% C 0.177 H 309.2°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#702A9B
RGBrgb(112, 42, 155)
HSLhsl(277, 57%, 39%)
HSVhsv(277, 73%, 61%)
CMYKcmyk(27.7%, 72.9%, 0%, 39.2%)
CIE-LABlab(32.85, 49.84, -48.39)
CIE-LCHlch(32.85, 69.47, 315.85°)
OKLaboklab(44.33% 0.1119 -0.1371)
OKLCHoklch(44.33% 0.177 309.2)
XYZxyz(13.4253, 7.4675, 31.7381)
Luminance0.0747 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702A9B #559B2A
analogous
#372A9B #702A9B #9B2A8D
triadic
#702A9B #9B702A #2A9B70
tetradic
#702A9B #9B372A #559B2A #2A8D9B
square
#702A9B #9B372A #559B2A #2A8D9B
split-complementary
#702A9B #8D9B2A #2A9B37
monochromatic
#2A103B #4D1D6B #702A9B #9239C9 #AD69D6

Accessibility & contrast

On white

8.42
#702A9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#702A9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702A9B
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702A9B#FFFFFF#000000##FFFFFF
##702A9B1.008.422.498.42
#FFFFFF8.421.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9E
Deuteranopia (green-blind)
#0F4E99
Tritanopia (blue-blind)
#6A4460
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #702a9b;
/* rgb */ color: rgb(112, 42, 155);
/* oklch */ color: oklch(44.3% 0.177 309.2);
Tailwind
colors: {
  custom: {
    50: '#9d6ab9',
    500: '#702a9b',
    950: '#000000',
  },
}
SCSS
$custom: #702a9b;
$custom-light: #9d6ab9;
$custom-dark: #000000;
JSON
{
  "hex": "#702a9b",
  "rgb": {
    "r": 112,
    "g": 42,
    "b": 155
  },
  "hsl": {
    "h": 277.168,
    "s": 57.36,
    "l": 38.627
  },
  "oklch": {
    "l": 0.44325,
    "c": 0.17695,
    "h": 309.2
  },
  "luminance": 0.07467
}

Semantic roles & 50–950 ramp

primary
#702A9B
secondary
#86BD64
accent
#E14782
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #702A9B

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

Preview Lab → · Contrast checker → · Palette generator →

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