#702F71#702F71

#702F71 is a dark, vivid purple. Relative luminance 0.067; OKLCH L 42.2% C 0.127 H 327.0°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#702F71
RGBrgb(112, 47, 113)
HSLhsl(299, 41%, 31%)
HSVhsv(299, 58%, 44%)
CMYKcmyk(0.9%, 58.4%, 0%, 55.7%)
CIE-LABlab(31.05, 38.49, -25.18)
CIE-LCHlch(31.05, 45.99, 326.81°)
OKLaboklab(42.17% 0.1067 -0.0694)
OKLCHoklch(42.17% 0.127 327)
XYZxyz(10.6791, 6.6707, 16.3447)
Luminance0.0667 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702F71 #30712F
analogous
#4F2F71 #702F71 #712F51
triadic
#702F71 #71702F #2F7170
tetradic
#702F71 #714F2F #30712F #2F5171
square
#702F71 #714F2F #30712F #2F5171
split-complementary
#702F71 #51712F #2F714F
monochromatic
#1A0B1B #451D46 #702F71 #9B419C #BB5EBC

Accessibility & contrast

On white

9.00
#702F71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#702F71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702F71
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702F71#FFFFFF#000000##FFFFFF
##702F711.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284473
Deuteranopia (green-blind)
#3D4C6F
Tritanopia (blue-blind)
#73374B
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #702f71;
/* rgb */ color: rgb(112, 47, 113);
/* oklch */ color: oklch(42.2% 0.127 327.0);
Tailwind
colors: {
  custom: {
    50: '#9b6b9a',
    500: '#702f71',
    950: '#000000',
  },
}
SCSS
$custom: #702f71;
$custom-light: #9b6b9a;
$custom-dark: #000000;
JSON
{
  "hex": "#702f71",
  "rgb": {
    "r": 112,
    "g": 47,
    "b": 113
  },
  "hsl": {
    "h": 299.091,
    "s": 41.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.42172,
    "c": 0.12724,
    "h": 327
  },
  "luminance": 0.0667
}

Semantic roles & 50–950 ramp

primary
#702F71
secondary
#5BA25A
accent
#D15759
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E070E
muted
#7E7A7E

Preview Lab

Preview with #702F71

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

Preview Lab → · Contrast checker → · Palette generator →

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