#702098#702098

#702098 is a dark, vivid purple. Relative luminance 0.067; OKLCH L 43.1% C 0.185 H 311.2°. Best body text is #FFFFFF at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#702098
RGBrgb(112, 32, 152)
HSLhsl(280, 65%, 36%)
HSVhsv(280, 79%, 60%)
CMYKcmyk(26.3%, 78.9%, 0%, 40.4%)
CIE-LABlab(31.22, 53.19, -49.20)
CIE-LCHlch(31.22, 72.45, 317.23°)
OKLaboklab(43.1% 0.122 -0.1394)
OKLCHoklch(43.1% 0.185 311.2)
XYZxyz(12.8650, 6.7451, 30.3239)
Luminance0.0674 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702098 #489820
analogous
#342098 #702098 #982084
triadic
#702098 #987020 #209870
tetradic
#702098 #983420 #489820 #208498
square
#702098 #983420 #489820 #208498
split-complementary
#702098 #849820 #209834
monochromatic
#250B33 #4B1565 #702098 #952BCB #AF57DC

Accessibility & contrast

On white

8.94
#702098 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #702098
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702098#FFFFFF#000000##FFFFFF
##7020981.008.942.358.94
#FFFFFF8.941.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469B
Deuteranopia (green-blind)
#014B96
Tritanopia (blue-blind)
#6B3D5C
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #702098;
/* rgb */ color: rgb(112, 32, 152);
/* oklch */ color: oklch(43.1% 0.185 311.2);
Tailwind
colors: {
  custom: {
    50: '#9e65b7',
    500: '#702098',
    950: '#000000',
  },
}
SCSS
$custom: #702098;
$custom-light: #9e65b7;
$custom-dark: #000000;
JSON
{
  "hex": "#702098",
  "rgb": {
    "r": 112,
    "g": 32,
    "b": 152
  },
  "hsl": {
    "h": 280,
    "s": 65.217,
    "l": 36.078
  },
  "oklch": {
    "l": 0.43103,
    "c": 0.18523,
    "h": 311.2
  },
  "luminance": 0.06745
}

Semantic roles & 50–950 ramp

primary
#702098
secondary
#78BF54
accent
#E84078
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #702098

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

Preview Lab → · Contrast checker → · Palette generator →

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