#702182#702182

#702182 is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.6% C 0.164 H 319.5°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#702182
RGBrgb(112, 33, 130)
HSLhsl(289, 60%, 32%)
HSVhsv(289, 75%, 51%)
CMYKcmyk(13.8%, 74.6%, 0%, 49%)
CIE-LABlab(29.77, 48.22, -37.92)
CIE-LCHlch(29.77, 61.34, 321.82°)
OKLaboklab(41.58% 0.1243 -0.1063)
OKLCHoklch(41.58% 0.164 319.5)
XYZxyz(11.2547, 6.1447, 21.7080)
Luminance0.0614 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702182 #338221
analogous
#402182 #702182 #822164
triadic
#702182 #827021 #218270
tetradic
#702182 #824021 #338221 #216482
square
#702182 #824021 #338221 #216482
split-complementary
#702182 #648221 #218240
monochromatic
#1C0820 #461551 #702182 #9A2DB3 #B94CD2

Accessibility & contrast

On white

9.42
#702182 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#702182 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702182
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702182#FFFFFF#000000##FFFFFF
##7021821.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004185
Deuteranopia (green-blind)
#294980
Tritanopia (blue-blind)
#70344F
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #702182;
/* rgb */ color: rgb(112, 33, 130);
/* oklch */ color: oklch(41.6% 0.164 319.5);
Tailwind
colors: {
  custom: {
    50: '#9c65a7',
    500: '#702182',
    950: '#000000',
  },
}
SCSS
$custom: #702182;
$custom-light: #9c65a7;
$custom-dark: #000000;
JSON
{
  "hex": "#702182",
  "rgb": {
    "r": 112,
    "g": 33,
    "b": 130
  },
  "hsl": {
    "h": 288.866,
    "s": 59.509,
    "l": 31.961
  },
  "oklch": {
    "l": 0.41582,
    "c": 0.16358,
    "h": 319.5
  },
  "luminance": 0.06144
}

Semantic roles & 50–950 ramp

primary
#702182
secondary
#5EB44A
accent
#E34562
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F060F
muted
#7E7A7F

Preview Lab

Preview with #702182

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

Preview Lab → · Contrast checker → · Palette generator →

#702182 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva