#702F8D#702F8D

#702F8D is a dark, vivid purple. Relative luminance 0.074; OKLCH L 43.9% C 0.156 H 313.7°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#702F8D
RGBrgb(112, 47, 141)
HSLhsl(281, 50%, 37%)
HSVhsv(281, 67%, 55%)
CMYKcmyk(20.6%, 66.7%, 0%, 44.7%)
CIE-LABlab(32.70, 44.38, -40.05)
CIE-LCHlch(32.70, 59.78, 317.93°)
OKLaboklab(43.91% 0.1076 -0.1127)
OKLCHoklch(43.91% 0.156 313.7)
XYZxyz(12.5055, 7.4012, 25.9640)
Luminance0.0740 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702F8D #4C8D2F
analogous
#412F8D #702F8D #8D2F7B
triadic
#702F8D #8D702F #2F8D70
tetradic
#702F8D #8D412F #4C8D2F #2F7B8D
square
#702F8D #8D412F #4C8D2F #2F7B8D
split-complementary
#702F8D #7B8D2F #2F8D41
monochromatic
#271031 #4C205F #702F8D #943EBB #AE69CD

Accessibility & contrast

On white

8.47
#702F8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#702F8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702F8D
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702F8D#FFFFFF#000000##FFFFFF
##702F8D1.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004990
Deuteranopia (green-blind)
#2A4E8B
Tritanopia (blue-blind)
#6D415A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #702f8d;
/* rgb */ color: rgb(112, 47, 141);
/* oklch */ color: oklch(43.9% 0.156 313.7);
Tailwind
colors: {
  custom: {
    50: '#9c6caf',
    500: '#702f8d',
    950: '#000000',
  },
}
SCSS
$custom: #702f8d;
$custom-light: #9c6caf;
$custom-dark: #000000;
JSON
{
  "hex": "#702f8d",
  "rgb": {
    "r": 112,
    "g": 47,
    "b": 141
  },
  "hsl": {
    "h": 281.489,
    "s": 50,
    "l": 36.863
  },
  "oklch": {
    "l": 0.43913,
    "c": 0.15582,
    "h": 313.7
  },
  "luminance": 0.07401
}

Semantic roles & 50–950 ramp

primary
#702F8D
secondary
#7CB464
accent
#DA4E79
background
#F9F6FA
surface
#F2ECF4
border
#CCC7CE
text
#0F0710
muted
#7E7A7F

Preview Lab

Preview with #702F8D

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

Preview Lab → · Contrast checker → · Palette generator →

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