#702B7F#702B7F

#702B7F is a dark, vivid purple. Relative luminance 0.067; OKLCH L 42.5% C 0.147 H 320.0°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#702B7F
RGBrgb(112, 43, 127)
HSLhsl(289, 49%, 33%)
HSVhsv(289, 66%, 50%)
CMYKcmyk(11.8%, 66.1%, 0%, 50.2%)
CIE-LABlab(31.13, 43.28, -33.88)
CIE-LCHlch(31.13, 54.96, 321.95°)
OKLaboklab(42.49% 0.1129 -0.0946)
OKLCHoklch(42.49% 0.147 320)
XYZxyz(11.3763, 6.7053, 20.7696)
Luminance0.0670 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702B7F #3A7F2B
analogous
#462B7F #702B7F #7F2B64
triadic
#702B7F #7F702B #2B7F70
tetradic
#702B7F #7F462B #3A7F2B #2B647F
square
#702B7F #7F462B #3A7F2B #2B647F
split-complementary
#702B7F #647F2B #2B7F46
monochromatic
#1F0C24 #481C51 #702B7F #983AAD #B55CC8

Accessibility & contrast

On white

8.97
#702B7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#702B7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702B7F
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702B7F#FFFFFF#000000##FFFFFF
##702B7F1.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#134482
Deuteranopia (green-blind)
#324C7D
Tritanopia (blue-blind)
#713951
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #702b7f;
/* rgb */ color: rgb(112, 43, 127);
/* oklch */ color: oklch(42.5% 0.147 320.0);
Tailwind
colors: {
  custom: {
    50: '#9c6aa4',
    500: '#702b7f',
    950: '#000000',
  },
}
SCSS
$custom: #702b7f;
$custom-light: #9c6aa4;
$custom-dark: #000000;
JSON
{
  "hex": "#702b7f",
  "rgb": {
    "r": 112,
    "g": 43,
    "b": 127
  },
  "hsl": {
    "h": 289.286,
    "s": 49.412,
    "l": 33.333
  },
  "oklch": {
    "l": 0.4249,
    "c": 0.1473,
    "h": 320
  },
  "luminance": 0.06705
}

Semantic roles & 50–950 ramp

primary
#702B7F
secondary
#67AE58
accent
#D94F68
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E070F
muted
#7E7A7F

Preview Lab

Preview with #702B7F

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

Preview Lab → · Contrast checker → · Palette generator →

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