#702D8E#702D8E

#702D8E is a dark, vivid purple. Relative luminance 0.073; OKLCH L 43.7% C 0.160 H 313.5°. Best body text is #FFFFFF at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#702D8E
RGBrgb(112, 45, 142)
HSLhsl(281, 52%, 37%)
HSVhsv(281, 68%, 56%)
CMYKcmyk(21.1%, 68.3%, 0%, 44.3%)
CIE-LABlab(32.42, 45.56, -41.11)
CIE-LCHlch(32.42, 61.37, 317.93°)
OKLaboklab(43.73% 0.11 -0.1158)
OKLCHoklch(43.73% 0.16 313.5)
XYZxyz(12.5021, 7.2749, 26.3316)
Luminance0.0727 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702D8E #4B8E2D
analogous
#3F2D8E #702D8E #8E2D7C
triadic
#702D8E #8E702D #2D8E70
tetradic
#702D8E #8E3F2D #4B8E2D #2D7C8E
square
#702D8E #8E3F2D #4B8E2D #2D7C8E
split-complementary
#702D8E #7C8E2D #2D8E3F
monochromatic
#271031 #4B1E60 #702D8E #953CBC #AF67CF

Accessibility & contrast

On white

8.55
#702D8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #702D8E
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702D8E#FFFFFF#000000##FFFFFF
##702D8E1.008.552.458.55
#FFFFFF8.551.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004991
Deuteranopia (green-blind)
#274E8C
Tritanopia (blue-blind)
#6D405A
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #702d8e;
/* rgb */ color: rgb(112, 45, 142);
/* oklch */ color: oklch(43.7% 0.160 313.5);
Tailwind
colors: {
  custom: {
    50: '#9c6bb0',
    500: '#702d8e',
    950: '#000000',
  },
}
SCSS
$custom: #702d8e;
$custom-light: #9c6bb0;
$custom-dark: #000000;
JSON
{
  "hex": "#702d8e",
  "rgb": {
    "r": 112,
    "g": 45,
    "b": 142
  },
  "hsl": {
    "h": 281.443,
    "s": 51.872,
    "l": 36.667
  },
  "oklch": {
    "l": 0.43733,
    "c": 0.15969,
    "h": 313.5
  },
  "luminance": 0.07275
}

Semantic roles & 50–950 ramp

primary
#702D8E
secondary
#7BB561
accent
#DB4C79
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0F0710
muted
#7E7A7F

Preview Lab

Preview with #702D8E

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

Preview Lab → · Contrast checker → · Palette generator →

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