#702197#702197

#702197 is a dark, vivid purple. Relative luminance 0.068; OKLCH L 43.1% C 0.183 H 311.4°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#702197
RGBrgb(112, 33, 151)
HSLhsl(280, 64%, 36%)
HSVhsv(280, 78%, 59%)
CMYKcmyk(25.8%, 78.1%, 0%, 40.8%)
CIE-LABlab(31.27, 52.61, -48.50)
CIE-LCHlch(31.27, 71.55, 317.32°)
OKLaboklab(43.12% 0.1213 -0.1374)
OKLCHoklch(43.12% 0.183 311.4)
XYZxyz(12.8108, 6.7672, 29.9035)
Luminance0.0677 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702197 #489721
analogous
#352197 #702197 #972183
triadic
#702197 #977021 #219770
tetradic
#702197 #973521 #489721 #218397
square
#702197 #973521 #489721 #218397
split-complementary
#702197 #839721 #219735
monochromatic
#250B33 #4B1665 #702197 #952CC9 #AF58DA

Accessibility & contrast

On white

8.92
#702197 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#702197 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702197
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702197#FFFFFF#000000##FFFFFF
##7021971.008.922.358.92
#FFFFFF8.921.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469A
Deuteranopia (green-blind)
#074B95
Tritanopia (blue-blind)
#6B3D5B
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #702197;
/* rgb */ color: rgb(112, 33, 151);
/* oklch */ color: oklch(43.1% 0.183 311.4);
Tailwind
colors: {
  custom: {
    50: '#9d66b6',
    500: '#702197',
    950: '#000000',
  },
}
SCSS
$custom: #702197;
$custom-light: #9d66b6;
$custom-dark: #000000;
JSON
{
  "hex": "#702197",
  "rgb": {
    "r": 112,
    "g": 33,
    "b": 151
  },
  "hsl": {
    "h": 280.169,
    "s": 64.13,
    "l": 36.078
  },
  "oklch": {
    "l": 0.43116,
    "c": 0.18325,
    "h": 311.4
  },
  "luminance": 0.06767
}

Semantic roles & 50–950 ramp

primary
#702197
secondary
#78BE55
accent
#E74178
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #702197

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

Preview Lab → · Contrast checker → · Palette generator →

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