#702F97#702F97

#702F97 is a dark, vivid violet. Relative luminance 0.077; OKLCH L 44.6% C 0.166 H 310.0°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#702F97
RGBrgb(112, 47, 151)
HSLhsl(278, 53%, 39%)
HSVhsv(278, 69%, 59%)
CMYKcmyk(25.8%, 68.9%, 0%, 40.8%)
CIE-LABlab(33.38, 46.64, -45.10)
CIE-LCHlch(33.38, 64.88, 315.97°)
OKLaboklab(44.61% 0.1069 -0.1275)
OKLCHoklch(44.61% 0.166 310)
XYZxyz(13.2834, 7.7124, 30.0610)
Luminance0.0771 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702F97 #56972F
analogous
#3C2F97 #702F97 #972F8A
triadic
#702F97 #97702F #2F9770
tetradic
#702F97 #973C2F #56972F #2F8A97
square
#702F97 #973C2F #56972F #2F8A97
split-complementary
#702F97 #8A972F #2F973C
monochromatic
#2B123A #4D2068 #702F97 #9240C3 #AD6ED2

Accessibility & contrast

On white

8.26
#702F97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#702F97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702F97
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702F97#FFFFFF#000000##FFFFFF
##702F971.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9A
Deuteranopia (green-blind)
#1F4F95
Tritanopia (blue-blind)
#6B455F
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #702f97;
/* rgb */ color: rgb(112, 47, 151);
/* oklch */ color: oklch(44.6% 0.166 310.0);
Tailwind
colors: {
  custom: {
    50: '#9d6db6',
    500: '#702f97',
    950: '#000000',
  },
}
SCSS
$custom: #702f97;
$custom-light: #9d6db6;
$custom-dark: #000000;
JSON
{
  "hex": "#702f97",
  "rgb": {
    "r": 112,
    "g": 47,
    "b": 151
  },
  "hsl": {
    "h": 277.5,
    "s": 52.525,
    "l": 38.824
  },
  "oklch": {
    "l": 0.44612,
    "c": 0.16637,
    "h": 310
  },
  "luminance": 0.07712
}

Semantic roles & 50–950 ramp

primary
#702F97
secondary
#87B968
accent
#DC4C82
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0F0711
muted
#7E7A80

Preview Lab

Preview with #702F97

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

Preview Lab → · Contrast checker → · Palette generator →

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