#702A8D#702A8D

#702A8D is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.3% C 0.163 H 314.2°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#702A8D
RGBrgb(112, 42, 141)
HSLhsl(282, 54%, 36%)
HSVhsv(282, 70%, 55%)
CMYKcmyk(20.6%, 70.2%, 0%, 44.7%)
CIE-LABlab(31.86, 46.72, -41.40)
CIE-LCHlch(31.86, 62.43, 318.45°)
OKLaboklab(43.31% 0.1136 -0.1166)
OKLCHoklch(43.31% 0.163 314.2)
XYZxyz(12.3170, 7.0242, 25.9011)
Luminance0.0702 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702A8D #478D2A
analogous
#3E2A8D #702A8D #8D2A78
triadic
#702A8D #8D702A #2A8D70
tetradic
#702A8D #8D3E2A #478D2A #2A788D
square
#702A8D #8D3E2A #478D2A #2A788D
split-complementary
#702A8D #788D2A #2A8D3E
monochromatic
#250E2F #4B1C5E #702A8D #9538BC #B061D0

Accessibility & contrast

On white

8.73
#702A8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#702A8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702A8D
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702A8D#FFFFFF#000000##FFFFFF
##702A8D1.008.732.408.73
#FFFFFF8.731.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004790
Deuteranopia (green-blind)
#254D8B
Tritanopia (blue-blind)
#6D3E58
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #702a8d;
/* rgb */ color: rgb(112, 42, 141);
/* oklch */ color: oklch(43.3% 0.163 314.2);
Tailwind
colors: {
  custom: {
    50: '#9c6aaf',
    500: '#702a8d',
    950: '#000000',
  },
}
SCSS
$custom: #702a8d;
$custom-light: #9c6aaf;
$custom-dark: #000000;
JSON
{
  "hex": "#702a8d",
  "rgb": {
    "r": 112,
    "g": 42,
    "b": 141
  },
  "hsl": {
    "h": 282.424,
    "s": 54.098,
    "l": 35.882
  },
  "oklch": {
    "l": 0.43308,
    "c": 0.16275,
    "h": 314.2
  },
  "luminance": 0.07024
}

Semantic roles & 50–950 ramp

primary
#702A8D
secondary
#77B65D
accent
#DD4A75
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F0710
muted
#7E7A7F

Preview Lab

Preview with #702A8D

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

Preview Lab → · Contrast checker → · Palette generator →

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