#702097#702097

#702097 is a dark, vivid purple. Relative luminance 0.067; OKLCH L 43.0% C 0.184 H 311.5°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#702097
RGBrgb(112, 32, 151)
HSLhsl(280, 65%, 36%)
HSVhsv(280, 79%, 59%)
CMYKcmyk(25.8%, 78.8%, 0%, 40.8%)
CIE-LABlab(31.14, 52.97, -48.71)
CIE-LCHlch(31.14, 71.96, 317.40°)
OKLaboklab(43.03% 0.1222 -0.138)
OKLCHoklch(43.03% 0.184 311.5)
XYZxyz(12.7835, 6.7125, 29.8944)
Luminance0.0671 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702097 #479720
analogous
#342097 #702097 #972082
triadic
#702097 #977020 #209770
tetradic
#702097 #973420 #479720 #208297
square
#702097 #973420 #479720 #208297
split-complementary
#702097 #829720 #209734
monochromatic
#250B32 #4B1564 #702097 #952BC9 #B056DB

Accessibility & contrast

On white

8.97
#702097 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#702097 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702097
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702097#FFFFFF#000000##FFFFFF
##7020971.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469A
Deuteranopia (green-blind)
#054B95
Tritanopia (blue-blind)
#6B3D5B
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #702097;
/* rgb */ color: rgb(112, 32, 151);
/* oklch */ color: oklch(43.0% 0.184 311.5);
Tailwind
colors: {
  custom: {
    50: '#9e65b6',
    500: '#702097',
    950: '#000000',
  },
}
SCSS
$custom: #702097;
$custom-light: #9e65b6;
$custom-dark: #000000;
JSON
{
  "hex": "#702097",
  "rgb": {
    "r": 112,
    "g": 32,
    "b": 151
  },
  "hsl": {
    "h": 280.336,
    "s": 65.027,
    "l": 35.882
  },
  "oklch": {
    "l": 0.43026,
    "c": 0.18429,
    "h": 311.5
  },
  "luminance": 0.06712
}

Semantic roles & 50–950 ramp

primary
#702097
secondary
#77BF54
accent
#E84077
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #702097

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

Preview Lab → · Contrast checker → · Palette generator →

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