#702B7E#702B7E

#702B7E is a dark, vivid purple. Relative luminance 0.067; OKLCH L 42.4% C 0.146 H 320.5°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#702B7E
RGBrgb(112, 43, 126)
HSLhsl(290, 49%, 33%)
HSVhsv(290, 66%, 49%)
CMYKcmyk(11.1%, 65.9%, 0%, 50.6%)
CIE-LABlab(31.07, 43.07, -33.35)
CIE-LCHlch(31.07, 54.47, 322.25°)
OKLaboklab(42.43% 0.1129 -0.093)
OKLCHoklch(42.43% 0.146 320.5)
XYZxyz(11.3114, 6.6794, 20.4281)
Luminance0.0668 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702B7E #397E2B
analogous
#472B7E #702B7E #7E2B62
triadic
#702B7E #7E702B #2B7E70
tetradic
#702B7E #7E472B #397E2B #2B627E
square
#702B7E #7E472B #397E2B #2B627E
split-complementary
#702B7E #627E2B #2B7E47
monochromatic
#1F0C23 #471B50 #702B7E #993BAC #B55CC7

Accessibility & contrast

On white

8.99
#702B7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #702B7E
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702B7E#FFFFFF#000000##FFFFFF
##702B7E1.008.992.348.99
#FFFFFF8.991.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154481
Deuteranopia (green-blind)
#334C7C
Tritanopia (blue-blind)
#713950
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #702b7e;
/* rgb */ color: rgb(112, 43, 126);
/* oklch */ color: oklch(42.4% 0.146 320.5);
Tailwind
colors: {
  custom: {
    50: '#9c6aa4',
    500: '#702b7e',
    950: '#000000',
  },
}
SCSS
$custom: #702b7e;
$custom-light: #9c6aa4;
$custom-dark: #000000;
JSON
{
  "hex": "#702b7e",
  "rgb": {
    "r": 112,
    "g": 43,
    "b": 126
  },
  "hsl": {
    "h": 289.88,
    "s": 49.112,
    "l": 33.137
  },
  "oklch": {
    "l": 0.42427,
    "c": 0.1463,
    "h": 320.5
  },
  "luminance": 0.06679
}

Semantic roles & 50–950 ramp

primary
#702B7E
secondary
#66AD58
accent
#D94F66
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E070F
muted
#7E7A7F

Preview Lab

Preview with #702B7E

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

Preview Lab → · Contrast checker → · Palette generator →

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