#702D8A#702D8A

#702D8A is a dark, vivid purple. Relative luminance 0.072; OKLCH L 43.5% C 0.156 H 315.1°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#702D8A
RGBrgb(112, 45, 138)
HSLhsl(283, 51%, 36%)
HSVhsv(283, 67%, 54%)
CMYKcmyk(18.8%, 67.4%, 0%, 45.9%)
CIE-LABlab(32.16, 44.68, -39.07)
CIE-LCHlch(32.16, 59.35, 318.83°)
OKLaboklab(43.46% 0.1102 -0.1098)
OKLCHoklch(43.46% 0.156 315.1)
XYZxyz(12.2072, 7.1569, 24.7782)
Luminance0.0716 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702D8A #478A2D
analogous
#412D8A #702D8A #8A2D75
triadic
#702D8A #8A702D #2D8A70
tetradic
#702D8A #8A412D #478A2D #2D758A
square
#702D8A #8A412D #478A2D #2D758A
split-complementary
#702D8A #758A2D #2D8A41
monochromatic
#250F2E #4B1E5C #702D8A #953CB8 #B065CD

Accessibility & contrast

On white

8.64
#702D8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#702D8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702D8A
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702D8A#FFFFFF#000000##FFFFFF
##702D8A1.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#01488D
Deuteranopia (green-blind)
#2B4D88
Tritanopia (blue-blind)
#6E3F57
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #702d8a;
/* rgb */ color: rgb(112, 45, 138);
/* oklch */ color: oklch(43.5% 0.156 315.1);
Tailwind
colors: {
  custom: {
    50: '#9c6bad',
    500: '#702d8a',
    950: '#000000',
  },
}
SCSS
$custom: #702d8a;
$custom-light: #9c6bad;
$custom-dark: #000000;
JSON
{
  "hex": "#702d8a",
  "rgb": {
    "r": 112,
    "g": 45,
    "b": 138
  },
  "hsl": {
    "h": 283.226,
    "s": 50.82,
    "l": 35.882
  },
  "oklch": {
    "l": 0.4346,
    "c": 0.15556,
    "h": 315.1
  },
  "luminance": 0.07156
}

Semantic roles & 50–950 ramp

primary
#702D8A
secondary
#77B360
accent
#DA4D75
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F0710
muted
#7E7A7F

Preview Lab

Preview with #702D8A

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

Preview Lab → · Contrast checker → · Palette generator →

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