#702180#702180

#702180 is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.4% C 0.162 H 320.3°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#702180
RGBrgb(112, 33, 128)
HSLhsl(290, 59%, 32%)
HSVhsv(290, 74%, 50%)
CMYKcmyk(12.5%, 74.2%, 0%, 49.8%)
CIE-LABlab(29.64, 47.82, -36.87)
CIE-LCHlch(29.64, 60.39, 322.37°)
OKLaboklab(41.45% 0.1245 -0.1033)
OKLCHoklch(41.45% 0.162 320.3)
XYZxyz(11.1218, 6.0915, 21.0079)
Luminance0.0609 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702180 #318021
analogous
#412180 #702180 #802161
triadic
#702180 #807021 #218070
tetradic
#702180 #804121 #318021 #216180
square
#702180 #804121 #318021 #216180
split-complementary
#702180 #618021 #218041
monochromatic
#1B081F #45144F #702180 #9B2EB1 #BA4BD1

Accessibility & contrast

On white

9.47
#702180 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#702180 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702180
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702180#FFFFFF#000000##FFFFFF
##7021801.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004083
Deuteranopia (green-blind)
#2A497E
Tritanopia (blue-blind)
#71334E
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #702180;
/* rgb */ color: rgb(112, 33, 128);
/* oklch */ color: oklch(41.4% 0.162 320.3);
Tailwind
colors: {
  custom: {
    50: '#9c65a5',
    500: '#702180',
    950: '#000000',
  },
}
SCSS
$custom: #702180;
$custom-light: #9c65a5;
$custom-dark: #000000;
JSON
{
  "hex": "#702180",
  "rgb": {
    "r": 112,
    "g": 33,
    "b": 128
  },
  "hsl": {
    "h": 289.895,
    "s": 59.006,
    "l": 31.569
  },
  "oklch": {
    "l": 0.41445,
    "c": 0.16173,
    "h": 320.3
  },
  "luminance": 0.06091
}

Semantic roles & 50–950 ramp

primary
#702180
secondary
#5CB34A
accent
#E24660
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F060F
muted
#7E7A7F

Preview Lab

Preview with #702180

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

Preview Lab → · Contrast checker → · Palette generator →

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