#702C97#702C97

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

Color values

HEX#702C97
RGBrgb(112, 44, 151)
HSLhsl(278, 55%, 38%)
HSVhsv(278, 71%, 59%)
CMYKcmyk(25.8%, 70.9%, 0%, 40.8%)
CIE-LABlab(32.88, 48.04, -45.90)
CIE-LCHlch(32.88, 66.44, 316.30°)
OKLaboklab(44.25% 0.1103 -0.1298)
OKLCHoklch(44.25% 0.17 310.3)
XYZxyz(13.1676, 7.4808, 30.0224)
Luminance0.0748 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702C97 #53972C
analogous
#3A2C97 #702C97 #972C88
triadic
#702C97 #97702C #2C9770
tetradic
#702C97 #973A2C #53972C #2C8897
square
#702C97 #973A2C #53972C #2C8897
split-complementary
#702C97 #88972C #2C973A
monochromatic
#2A1038 #4D1E68 #702C97 #933AC6 #AD6AD4

Accessibility & contrast

On white

8.41
#702C97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #702C97
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702C97#FFFFFF#000000##FFFFFF
##702C971.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9A
Deuteranopia (green-blind)
#1B4E95
Tritanopia (blue-blind)
#6B435E
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #702c97;
/* rgb */ color: rgb(112, 44, 151);
/* oklch */ color: oklch(44.3% 0.170 310.3);
Tailwind
colors: {
  custom: {
    50: '#9d6bb6',
    500: '#702c97',
    950: '#000000',
  },
}
SCSS
$custom: #702c97;
$custom-light: #9d6bb6;
$custom-dark: #000000;
JSON
{
  "hex": "#702c97",
  "rgb": {
    "r": 112,
    "g": 44,
    "b": 151
  },
  "hsl": {
    "h": 278.131,
    "s": 54.872,
    "l": 38.235
  },
  "oklch": {
    "l": 0.44254,
    "c": 0.17034,
    "h": 310.3
  },
  "luminance": 0.0748
}

Semantic roles & 50–950 ramp

primary
#702C97
secondary
#84BA65
accent
#DE4A80
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #702C97

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

Preview Lab → · Contrast checker → · Palette generator →

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