#702A8A#702A8A

#702A8A is a dark, vivid purple. Relative luminance 0.069; OKLCH L 43.1% C 0.160 H 315.4°. Best body text is #FFFFFF at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#702A8A
RGBrgb(112, 42, 138)
HSLhsl(284, 53%, 35%)
HSVhsv(284, 70%, 54%)
CMYKcmyk(18.8%, 69.6%, 0%, 45.9%)
CIE-LABlab(31.66, 46.07, -39.87)
CIE-LCHlch(31.66, 60.93, 319.13°)
OKLaboklab(43.1% 0.1138 -0.1121)
OKLCHoklch(43.1% 0.16 315.4)
XYZxyz(12.0968, 6.9361, 24.7414)
Luminance0.0694 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702A8A #448A2A
analogous
#402A8A #702A8A #8A2A74
triadic
#702A8A #8A702A #2A8A70
tetradic
#702A8A #8A402A #448A2A #2A748A
square
#702A8A #8A402A #448A2A #2A748A
split-complementary
#702A8A #748A2A #2A8A40
monochromatic
#240D2C #4A1C5B #702A8A #9638B9 #B160CF

Accessibility & contrast

On white

8.80
#702A8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#702A8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702A8A
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702A8A#FFFFFF#000000##FFFFFF
##702A8A1.008.802.398.80
#FFFFFF8.801.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468D
Deuteranopia (green-blind)
#284C88
Tritanopia (blue-blind)
#6E3D56
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #702a8a;
/* rgb */ color: rgb(112, 42, 138);
/* oklch */ color: oklch(43.1% 0.160 315.4);
Tailwind
colors: {
  custom: {
    50: '#9c69ad',
    500: '#702a8a',
    950: '#000000',
  },
}
SCSS
$custom: #702a8a;
$custom-light: #9c69ad;
$custom-dark: #000000;
JSON
{
  "hex": "#702a8a",
  "rgb": {
    "r": 112,
    "g": 42,
    "b": 138
  },
  "hsl": {
    "h": 283.75,
    "s": 53.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.431,
    "c": 0.15973,
    "h": 315.4
  },
  "luminance": 0.06936
}

Semantic roles & 50–950 ramp

primary
#702A8A
secondary
#74B45B
accent
#DD4B73
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F0710
muted
#7E7A7F

Preview Lab

Preview with #702A8A

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

Preview Lab → · Contrast checker → · Palette generator →

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