#702A9A#702A9A

#702A9A is a dark, vivid violet. Relative luminance 0.074; OKLCH L 44.3% C 0.176 H 309.5°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#702A9A
RGBrgb(112, 42, 154)
HSLhsl(278, 57%, 38%)
HSVhsv(278, 73%, 60%)
CMYKcmyk(27.3%, 72.7%, 0%, 39.6%)
CIE-LABlab(32.78, 49.61, -47.90)
CIE-LCHlch(32.78, 68.96, 316.01°)
OKLaboklab(44.25% 0.112 -0.1357)
OKLCHoklch(44.25% 0.176 309.5)
XYZxyz(13.3416, 7.4340, 31.2977)
Luminance0.0743 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702A9A #549A2A
analogous
#382A9A #702A9A #9A2A8C
triadic
#702A9A #9A702A #2A9A70
tetradic
#702A9A #9A382A #549A2A #2A8C9A
square
#702A9A #9A382A #549A2A #2A8C9A
split-complementary
#702A9A #8C9A2A #2A9A38
monochromatic
#2A103A #4D1D6A #702A9A #9338C9 #AD68D6

Accessibility & contrast

On white

8.44
#702A9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #702A9A
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702A9A#FFFFFF#000000##FFFFFF
##702A9A1.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9D
Deuteranopia (green-blind)
#114E98
Tritanopia (blue-blind)
#6A435F
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #702a9a;
/* rgb */ color: rgb(112, 42, 154);
/* oklch */ color: oklch(44.3% 0.176 309.5);
Tailwind
colors: {
  custom: {
    50: '#9d6ab8',
    500: '#702a9a',
    950: '#000000',
  },
}
SCSS
$custom: #702a9a;
$custom-light: #9d6ab8;
$custom-dark: #000000;
JSON
{
  "hex": "#702a9a",
  "rgb": {
    "r": 112,
    "g": 42,
    "b": 154
  },
  "hsl": {
    "h": 277.5,
    "s": 57.143,
    "l": 38.431
  },
  "oklch": {
    "l": 0.4425,
    "c": 0.17593,
    "h": 309.5
  },
  "luminance": 0.07434
}

Semantic roles & 50–950 ramp

primary
#702A9A
secondary
#85BC63
accent
#E04781
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #702A9A

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

Preview Lab → · Contrast checker → · Palette generator →

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