#702188#702188

#702188 is a dark, vivid purple. Relative luminance 0.063; OKLCH L 42.0% C 0.169 H 317.0°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#702188
RGBrgb(112, 33, 136)
HSLhsl(286, 61%, 33%)
HSVhsv(286, 76%, 53%)
CMYKcmyk(17.6%, 75.7%, 0%, 46.7%)
CIE-LABlab(30.18, 49.44, -41.00)
CIE-LCHlch(30.18, 64.23, 320.33°)
OKLaboklab(42% 0.1237 -0.1154)
OKLCHoklch(42% 0.169 317)
XYZxyz(11.6692, 6.3105, 23.8912)
Luminance0.0631 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702188 #398821
analogous
#3C2188 #702188 #88216C
triadic
#702188 #887021 #218870
tetradic
#702188 #883C21 #398821 #216C88
square
#702188 #883C21 #398821 #216C88
split-complementary
#702188 #6C8821 #21883C
monochromatic
#1F0925 #471557 #702188 #992DB9 #B54FD4

Accessibility & contrast

On white

9.28
#702188 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#702188 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702188
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702188#FFFFFF#000000##FFFFFF
##7021881.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428B
Deuteranopia (green-blind)
#234986
Tritanopia (blue-blind)
#6F3753
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #702188;
/* rgb */ color: rgb(112, 33, 136);
/* oklch */ color: oklch(42.0% 0.169 317.0);
Tailwind
colors: {
  custom: {
    50: '#9d65ab',
    500: '#702188',
    950: '#000000',
  },
}
SCSS
$custom: #702188;
$custom-light: #9d65ab;
$custom-dark: #000000;
JSON
{
  "hex": "#702188",
  "rgb": {
    "r": 112,
    "g": 33,
    "b": 136
  },
  "hsl": {
    "h": 286.019,
    "s": 60.947,
    "l": 33.137
  },
  "oklch": {
    "l": 0.42002,
    "c": 0.16914,
    "h": 317
  },
  "luminance": 0.0631
}

Semantic roles & 50–950 ramp

primary
#702188
secondary
#66B84D
accent
#E44469
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F0610
muted
#7E7A7F

Preview Lab

Preview with #702188

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

Preview Lab → · Contrast checker → · Palette generator →

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