#702080#702080

#702080 is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.3% C 0.163 H 320.4°. Best body text is #FFFFFF at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#702080
RGBrgb(112, 32, 128)
HSLhsl(290, 60%, 31%)
HSVhsv(290, 75%, 50%)
CMYKcmyk(12.5%, 75%, 0%, 49.8%)
CIE-LABlab(29.51, 48.21, -37.09)
CIE-LCHlch(29.51, 60.83, 322.43°)
OKLaboklab(41.35% 0.1255 -0.1039)
OKLCHoklch(41.35% 0.163 320.4)
XYZxyz(11.0944, 6.0369, 20.9987)
Luminance0.0604 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702080 #308020
analogous
#402080 #702080 #802060
triadic
#702080 #807020 #208070
tetradic
#702080 #804020 #308020 #206080
square
#702080 #804020 #308020 #206080
split-complementary
#702080 #608020 #208040
monochromatic
#1A081E #45144F #702080 #9B2CB1 #BB49D1

Accessibility & contrast

On white

9.51
#702080 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#702080 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702080
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702080#FFFFFF#000000##FFFFFF
##7020801.009.512.219.51
#FFFFFF9.511.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.511.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #702080;
/* rgb */ color: rgb(112, 32, 128);
/* oklch */ color: oklch(41.3% 0.163 320.4);
Tailwind
colors: {
  custom: {
    50: '#9c64a5',
    500: '#702080',
    950: '#000000',
  },
}
SCSS
$custom: #702080;
$custom-light: #9c64a5;
$custom-dark: #000000;
JSON
{
  "hex": "#702080",
  "rgb": {
    "r": 112,
    "g": 32,
    "b": 128
  },
  "hsl": {
    "h": 290,
    "s": 60,
    "l": 31.373
  },
  "oklch": {
    "l": 0.41347,
    "c": 0.16293,
    "h": 320.4
  },
  "luminance": 0.06036
}

Semantic roles & 50–950 ramp

primary
#702080
secondary
#5BB349
accent
#E3455F
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F060F
muted
#7E7A7F

Preview Lab

Preview with #702080

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

Preview Lab → · Contrast checker → · Palette generator →

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