#702E97#702E97

#702E97 is a dark, vivid violet. Relative luminance 0.076; OKLCH L 44.5% C 0.168 H 310.1°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#702E97
RGBrgb(112, 46, 151)
HSLhsl(278, 53%, 39%)
HSVhsv(278, 70%, 59%)
CMYKcmyk(25.8%, 69.5%, 0%, 40.8%)
CIE-LABlab(33.21, 47.12, -45.37)
CIE-LCHlch(33.21, 65.41, 316.08°)
OKLaboklab(44.49% 0.1081 -0.1283)
OKLCHoklch(44.49% 0.168 310.1)
XYZxyz(13.2439, 7.6334, 30.0479)
Luminance0.0763 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702E97 #55972E
analogous
#3B2E97 #702E97 #972E89
triadic
#702E97 #97702E #2E9770
tetradic
#702E97 #973B2E #55972E #2E8997
square
#702E97 #973B2E #55972E #2E8997
split-complementary
#702E97 #89972E #2E973B
monochromatic
#2A1139 #4D2068 #702E97 #923EC4 #AD6DD2

Accessibility & contrast

On white

8.31
#702E97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#702E97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702E97
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702E97#FFFFFF#000000##FFFFFF
##702E971.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9A
Deuteranopia (green-blind)
#1D4F95
Tritanopia (blue-blind)
#6B445F
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #702e97;
/* rgb */ color: rgb(112, 46, 151);
/* oklch */ color: oklch(44.5% 0.168 310.1);
Tailwind
colors: {
  custom: {
    50: '#9d6cb6',
    500: '#702e97',
    950: '#000000',
  },
}
SCSS
$custom: #702e97;
$custom-light: #9d6cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#702e97",
  "rgb": {
    "r": 112,
    "g": 46,
    "b": 151
  },
  "hsl": {
    "h": 277.714,
    "s": 53.299,
    "l": 38.627
  },
  "oklch": {
    "l": 0.4449,
    "c": 0.16771,
    "h": 310.1
  },
  "luminance": 0.07633
}

Semantic roles & 50–950 ramp

primary
#702E97
secondary
#86BA67
accent
#DD4B81
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0F0711
muted
#7E7A80

Preview Lab

Preview with #702E97

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

Preview Lab → · Contrast checker → · Palette generator →

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