#702E8A#702E8A

#702E8A is a dark, vivid purple. Relative luminance 0.072; OKLCH L 43.6% C 0.154 H 315.0°. Best body text is #FFFFFF at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#702E8A
RGBrgb(112, 46, 138)
HSLhsl(283, 50%, 36%)
HSVhsv(283, 67%, 54%)
CMYKcmyk(18.8%, 66.7%, 0%, 45.9%)
CIE-LABlab(32.33, 44.20, -38.79)
CIE-LCHlch(32.33, 58.81, 318.73°)
OKLaboklab(43.58% 0.109 -0.109)
OKLCHoklch(43.58% 0.154 315)
XYZxyz(12.2458, 7.2341, 24.7911)
Luminance0.0723 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702E8A #488A2E
analogous
#422E8A #702E8A #8A2E76
triadic
#702E8A #8A702E #2E8A70
tetradic
#702E8A #8A422E #488A2E #2E768A
square
#702E8A #8A422E #488A2E #2E768A
split-complementary
#702E8A #768A2E #2E8A42
monochromatic
#250F2E #4B1F5C #702E8A #953DB8 #AF66CC

Accessibility & contrast

On white

8.58
#702E8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#702E8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702E8A
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702E8A#FFFFFF#000000##FFFFFF
##702E8A1.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#04488D
Deuteranopia (green-blind)
#2C4E88
Tritanopia (blue-blind)
#6E3F58
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #702e8a;
/* rgb */ color: rgb(112, 46, 138);
/* oklch */ color: oklch(43.6% 0.154 315.0);
Tailwind
colors: {
  custom: {
    50: '#9c6cad',
    500: '#702e8a',
    950: '#000000',
  },
}
SCSS
$custom: #702e8a;
$custom-light: #9c6cad;
$custom-dark: #000000;
JSON
{
  "hex": "#702e8a",
  "rgb": {
    "r": 112,
    "g": 46,
    "b": 138
  },
  "hsl": {
    "h": 283.043,
    "s": 50,
    "l": 36.078
  },
  "oklch": {
    "l": 0.43584,
    "c": 0.15412,
    "h": 315
  },
  "luminance": 0.07234
}

Semantic roles & 50–950 ramp

primary
#702E8A
secondary
#78B361
accent
#DA4E76
background
#F9F6FA
surface
#F2ECF4
border
#CCC7CE
text
#0E0710
muted
#7E7A7F

Preview Lab

Preview with #702E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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