#702C98#702C98

#702C98 is a dark, vivid violet. Relative luminance 0.075; OKLCH L 44.3% C 0.171 H 310.0°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#702C98
RGBrgb(112, 44, 152)
HSLhsl(278, 55%, 38%)
HSVhsv(278, 71%, 60%)
CMYKcmyk(26.3%, 71.1%, 0%, 40.4%)
CIE-LABlab(32.95, 48.27, -46.40)
CIE-LCHlch(32.95, 66.95, 316.13°)
OKLaboklab(44.33% 0.1102 -0.1313)
OKLCHoklch(44.33% 0.171 310)
XYZxyz(13.2492, 7.5134, 30.4519)
Luminance0.0751 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702C98 #54982C
analogous
#3A2C98 #702C98 #982C8A
triadic
#702C98 #98702C #2C9870
tetradic
#702C98 #983A2C #54982C #2C8A98
square
#702C98 #983A2C #54982C #2C8A98
split-complementary
#702C98 #8A982C #2C983A
monochromatic
#2A1139 #4D1E69 #702C98 #933BC6 #AD6AD4

Accessibility & contrast

On white

8.39
#702C98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#702C98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702C98
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702C98#FFFFFF#000000##FFFFFF
##702C981.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9B
Deuteranopia (green-blind)
#194F96
Tritanopia (blue-blind)
#6A445F
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #702c98;
/* rgb */ color: rgb(112, 44, 152);
/* oklch */ color: oklch(44.3% 0.171 310.0);
Tailwind
colors: {
  custom: {
    50: '#9d6bb7',
    500: '#702c98',
    950: '#000000',
  },
}
SCSS
$custom: #702c98;
$custom-light: #9d6bb7;
$custom-dark: #000000;
JSON
{
  "hex": "#702c98",
  "rgb": {
    "r": 112,
    "g": 44,
    "b": 152
  },
  "hsl": {
    "h": 277.778,
    "s": 55.102,
    "l": 38.431
  },
  "oklch": {
    "l": 0.44328,
    "c": 0.17137,
    "h": 310
  },
  "luminance": 0.07513
}

Semantic roles & 50–950 ramp

primary
#702C98
secondary
#85BB65
accent
#DE4981
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #702C98

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

Preview Lab → · Contrast checker → · Palette generator →

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