#702F8E#702F8E

#702F8E is a dark, vivid purple. Relative luminance 0.074; OKLCH L 44.0% C 0.157 H 313.3°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#702F8E
RGBrgb(112, 47, 142)
HSLhsl(281, 50%, 37%)
HSVhsv(281, 67%, 56%)
CMYKcmyk(21.1%, 66.9%, 0%, 44.3%)
CIE-LABlab(32.77, 44.60, -40.56)
CIE-LCHlch(32.77, 60.29, 317.72°)
OKLaboklab(43.98% 0.1076 -0.1142)
OKLCHoklch(43.98% 0.157 313.3)
XYZxyz(12.5802, 7.4311, 26.3576)
Luminance0.0743 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702F8E #4D8E2F
analogous
#412F8E #702F8E #8E2F7D
triadic
#702F8E #8E702F #2F8E70
tetradic
#702F8E #8E412F #4D8E2F #2F7D8E
square
#702F8E #8E412F #4D8E2F #2F7D8E
split-complementary
#702F8E #7D8E2F #2F8E41
monochromatic
#271132 #4C2060 #702F8E #943EBC #AE6ACE

Accessibility & contrast

On white

8.45
#702F8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#702F8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702F8E
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702F8E#FFFFFF#000000##FFFFFF
##702F8E1.008.452.498.45
#FFFFFF8.451.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A91
Deuteranopia (green-blind)
#294F8C
Tritanopia (blue-blind)
#6D425A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #702f8e;
/* rgb */ color: rgb(112, 47, 142);
/* oklch */ color: oklch(44.0% 0.157 313.3);
Tailwind
colors: {
  custom: {
    50: '#9c6cb0',
    500: '#702f8e',
    950: '#000000',
  },
}
SCSS
$custom: #702f8e;
$custom-light: #9c6cb0;
$custom-dark: #000000;
JSON
{
  "hex": "#702f8e",
  "rgb": {
    "r": 112,
    "g": 47,
    "b": 142
  },
  "hsl": {
    "h": 281.053,
    "s": 50.265,
    "l": 37.059
  },
  "oklch": {
    "l": 0.43981,
    "c": 0.15687,
    "h": 313.3
  },
  "luminance": 0.07431
}

Semantic roles & 50–950 ramp

primary
#702F8E
secondary
#7EB564
accent
#DA4E7A
background
#F9F6FA
surface
#F2ECF5
border
#CCC7CF
text
#0F0710
muted
#7E7A7F

Preview Lab

Preview with #702F8E

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

Preview Lab → · Contrast checker → · Palette generator →

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