#702A9D#702A9D

#702A9D is a dark, vivid violet. Relative luminance 0.075; OKLCH L 44.5% C 0.179 H 308.6°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#702A9D
RGBrgb(112, 42, 157)
HSLhsl(277, 58%, 39%)
HSVhsv(277, 73%, 62%)
CMYKcmyk(28.7%, 73.2%, 0%, 38.4%)
CIE-LABlab(33.00, 50.30, -49.36)
CIE-LCHlch(33.00, 70.47, 315.54°)
OKLaboklab(44.48% 0.1116 -0.14)
OKLCHoklch(44.48% 0.179 308.6)
XYZxyz(13.5946, 7.5352, 32.6300)
Luminance0.0754 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702A9D #579D2A
analogous
#372A9D #702A9D #9D2A91
triadic
#702A9D #9D702A #2A9D70
tetradic
#702A9D #9D372A #579D2A #2A919D
square
#702A9D #9D372A #579D2A #2A919D
split-complementary
#702A9D #919D2A #2A9D37
monochromatic
#2B103C #4E1D6D #702A9D #923ACA #AD6AD7

Accessibility & contrast

On white

8.38
#702A9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #702A9D
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702A9D#FFFFFF#000000##FFFFFF
##702A9D1.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA0
Deuteranopia (green-blind)
#094E9B
Tritanopia (blue-blind)
#694461
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #702a9d;
/* rgb */ color: rgb(112, 42, 157);
/* oklch */ color: oklch(44.5% 0.179 308.6);
Tailwind
colors: {
  custom: {
    50: '#9d6abb',
    500: '#702a9d',
    950: '#000000',
  },
}
SCSS
$custom: #702a9d;
$custom-light: #9d6abb;
$custom-dark: #000000;
JSON
{
  "hex": "#702a9d",
  "rgb": {
    "r": 112,
    "g": 42,
    "b": 157
  },
  "hsl": {
    "h": 276.522,
    "s": 57.789,
    "l": 39.02
  },
  "oklch": {
    "l": 0.44476,
    "c": 0.17899,
    "h": 308.6
  },
  "luminance": 0.07535
}

Semantic roles & 50–950 ramp

primary
#702A9D
secondary
#88BE65
accent
#E14783
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #702A9D

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

Preview Lab → · Contrast checker → · Palette generator →

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