#702F8F#702F8F

#702F8F is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.0% C 0.158 H 312.9°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#702F8F
RGBrgb(112, 47, 143)
HSLhsl(281, 51%, 37%)
HSVhsv(281, 67%, 56%)
CMYKcmyk(21.7%, 67.1%, 0%, 43.9%)
CIE-LABlab(32.83, 44.83, -41.07)
CIE-LCHlch(32.83, 60.80, 317.50°)
OKLaboklab(44.05% 0.1075 -0.1157)
OKLCHoklch(44.05% 0.158 312.9)
XYZxyz(12.6557, 7.4613, 26.7548)
Luminance0.0746 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702F8F #4E8F2F
analogous
#402F8F #702F8F #8F2F7E
triadic
#702F8F #8F702F #2F8F70
tetradic
#702F8F #8F402F #4E8F2F #2F7E8F
square
#702F8F #8F402F #4E8F2F #2F7E8F
split-complementary
#702F8F #7E8F2F #2F8F40
monochromatic
#281133 #4C2061 #702F8F #943EBD #AE6ACE

Accessibility & contrast

On white

8.43
#702F8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #702F8F
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702F8F#FFFFFF#000000##FFFFFF
##702F8F1.008.432.498.43
#FFFFFF8.431.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A92
Deuteranopia (green-blind)
#284F8D
Tritanopia (blue-blind)
#6D425B
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #702f8f;
/* rgb */ color: rgb(112, 47, 143);
/* oklch */ color: oklch(44.0% 0.158 312.9);
Tailwind
colors: {
  custom: {
    50: '#9c6cb0',
    500: '#702f8f',
    950: '#000000',
  },
}
SCSS
$custom: #702f8f;
$custom-light: #9c6cb0;
$custom-dark: #000000;
JSON
{
  "hex": "#702f8f",
  "rgb": {
    "r": 112,
    "g": 47,
    "b": 143
  },
  "hsl": {
    "h": 280.625,
    "s": 50.526,
    "l": 37.255
  },
  "oklch": {
    "l": 0.44049,
    "c": 0.15792,
    "h": 312.9
  },
  "luminance": 0.07461
}

Semantic roles & 50–950 ramp

primary
#702F8F
secondary
#7FB565
accent
#DA4E7B
background
#F9F6FA
surface
#F2ECF5
border
#CCC7CF
text
#0F0710
muted
#7E7A7F

Preview Lab

Preview with #702F8F

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

Preview Lab → · Contrast checker → · Palette generator →

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