#702A98#702A98

#702A98 is a dark, vivid violet. Relative luminance 0.074; OKLCH L 44.1% C 0.174 H 310.2°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#702A98
RGBrgb(112, 42, 152)
HSLhsl(278, 57%, 38%)
HSVhsv(278, 72%, 60%)
CMYKcmyk(26.3%, 72.4%, 0%, 40.4%)
CIE-LABlab(32.63, 49.16, -46.91)
CIE-LCHlch(32.63, 67.95, 316.34°)
OKLaboklab(44.1% 0.1123 -0.1328)
OKLCHoklch(44.1% 0.174 310.2)
XYZxyz(13.1764, 7.3680, 30.4277)
Luminance0.0737 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702A98 #52982A
analogous
#392A98 #702A98 #982A89
triadic
#702A98 #98702A #2A9870
tetradic
#702A98 #98392A #52982A #2A8998
square
#702A98 #98392A #52982A #2A8998
split-complementary
#702A98 #89982A #2A9839
monochromatic
#291038 #4D1D68 #702A98 #9337C8 #AD67D5

Accessibility & contrast

On white

8.49
#702A98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#702A98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702A98
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702A98#FFFFFF#000000##FFFFFF
##702A981.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9B
Deuteranopia (green-blind)
#164E96
Tritanopia (blue-blind)
#6A425E
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #702a98;
/* rgb */ color: rgb(112, 42, 152);
/* oklch */ color: oklch(44.1% 0.174 310.2);
Tailwind
colors: {
  custom: {
    50: '#9d6ab7',
    500: '#702a98',
    950: '#000000',
  },
}
SCSS
$custom: #702a98;
$custom-light: #9d6ab7;
$custom-dark: #000000;
JSON
{
  "hex": "#702a98",
  "rgb": {
    "r": 112,
    "g": 42,
    "b": 152
  },
  "hsl": {
    "h": 278.182,
    "s": 56.701,
    "l": 38.039
  },
  "oklch": {
    "l": 0.44101,
    "c": 0.1739,
    "h": 310.2
  },
  "luminance": 0.07368
}

Semantic roles & 50–950 ramp

primary
#702A98
secondary
#83BB62
accent
#E0487F
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #702A98

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

Preview Lab → · Contrast checker → · Palette generator →

#702A98 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva