#702F7D#702F7D

#702F7D is a dark, vivid purple. Relative luminance 0.070; OKLCH L 42.9% C 0.139 H 320.7°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#702F7D
RGBrgb(112, 47, 125)
HSLhsl(290, 45%, 34%)
HSVhsv(290, 62%, 49%)
CMYKcmyk(10.4%, 62.4%, 0%, 51%)
CIE-LABlab(31.71, 40.92, -31.69)
CIE-LCHlch(31.71, 51.76, 322.24°)
OKLaboklab(42.88% 0.1077 -0.0882)
OKLCHoklch(42.88% 0.139 320.7)
XYZxyz(11.3998, 6.9590, 20.1408)
Luminance0.0696 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702F7D #3C7D2F
analogous
#492F7D #702F7D #7D2F63
triadic
#702F7D #7D702F #2F7D70
tetradic
#702F7D #7D492F #3C7D2F #2F637D
square
#702F7D #7D492F #3C7D2F #2F637D
split-complementary
#702F7D #637D2F #2F7D49
monochromatic
#200E24 #481E51 #702F7D #9840A9 #B462C4

Accessibility & contrast

On white

8.78
#702F7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#702F7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702F7D
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702F7D#FFFFFF#000000##FFFFFF
##702F7D1.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D467F
Deuteranopia (green-blind)
#364D7B
Tritanopia (blue-blind)
#713B51
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #702f7d;
/* rgb */ color: rgb(112, 47, 125);
/* oklch */ color: oklch(42.9% 0.139 320.7);
Tailwind
colors: {
  custom: {
    50: '#9b6ca3',
    500: '#702f7d',
    950: '#000000',
  },
}
SCSS
$custom: #702f7d;
$custom-light: #9b6ca3;
$custom-dark: #000000;
JSON
{
  "hex": "#702f7d",
  "rgb": {
    "r": 112,
    "g": 47,
    "b": 125
  },
  "hsl": {
    "h": 290,
    "s": 45.349,
    "l": 33.725
  },
  "oklch": {
    "l": 0.42877,
    "c": 0.13921,
    "h": 320.7
  },
  "luminance": 0.06958
}

Semantic roles & 50–950 ramp

primary
#702F7D
secondary
#6AAB5D
accent
#D55368
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E070F
muted
#7E7A7F

Preview Lab

Preview with #702F7D

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

Preview Lab → · Contrast checker → · Palette generator →

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