#702A7E#702A7E

#702A7E is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.3% C 0.148 H 320.6°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#702A7E
RGBrgb(112, 42, 126)
HSLhsl(290, 50%, 33%)
HSVhsv(290, 67%, 49%)
CMYKcmyk(11.1%, 66.7%, 0%, 50.6%)
CIE-LABlab(30.90, 43.54, -33.62)
CIE-LCHlch(30.90, 55.01, 322.33°)
OKLaboklab(42.3% 0.1142 -0.0938)
OKLCHoklch(42.3% 0.148 320.6)
XYZxyz(11.2755, 6.6076, 20.4161)
Luminance0.0661 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702A7E #387E2A
analogous
#462A7E #702A7E #7E2A62
triadic
#702A7E #7E702A #2A7E70
tetradic
#702A7E #7E462A #387E2A #2A627E
square
#702A7E #7E462A #387E2A #2A627E
split-complementary
#702A7E #627E2A #2A7E46
monochromatic
#1E0B22 #471B50 #702A7E #9939AC #B65AC8

Accessibility & contrast

On white

9.05
#702A7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#702A7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702A7E
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702A7E#FFFFFF#000000##FFFFFF
##702A7E1.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#134481
Deuteranopia (green-blind)
#324B7C
Tritanopia (blue-blind)
#713850
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #702a7e;
/* rgb */ color: rgb(112, 42, 126);
/* oklch */ color: oklch(42.3% 0.148 320.6);
Tailwind
colors: {
  custom: {
    50: '#9c69a4',
    500: '#702a7e',
    950: '#000000',
  },
}
SCSS
$custom: #702a7e;
$custom-light: #9c69a4;
$custom-dark: #000000;
JSON
{
  "hex": "#702a7e",
  "rgb": {
    "r": 112,
    "g": 42,
    "b": 126
  },
  "hsl": {
    "h": 290,
    "s": 50,
    "l": 32.941
  },
  "oklch": {
    "l": 0.42304,
    "c": 0.14777,
    "h": 320.6
  },
  "luminance": 0.06607
}

Semantic roles & 50–950 ramp

primary
#702A7E
secondary
#65AE56
accent
#DA4E65
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E070F
muted
#7E7A7F

Preview Lab

Preview with #702A7E

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

Preview Lab → · Contrast checker → · Palette generator →

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