#702D99#702D99

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

Color values

HEX#702D99
RGBrgb(112, 45, 153)
HSLhsl(277, 55%, 39%)
HSVhsv(277, 71%, 60%)
CMYKcmyk(26.8%, 70.6%, 0%, 40%)
CIE-LABlab(33.18, 48.04, -46.63)
CIE-LCHlch(33.18, 66.95, 315.85°)
OKLaboklab(44.52% 0.1089 -0.132)
OKLCHoklch(44.52% 0.171 309.5)
XYZxyz(13.3691, 7.6217, 30.8977)
Luminance0.0762 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702D99 #56992D
analogous
#3A2D99 #702D99 #992D8C
triadic
#702D99 #99702D #2D9970
tetradic
#702D99 #993A2D #56992D #2D8C99
square
#702D99 #993A2D #56992D #2D8C99
split-complementary
#702D99 #8C992D #2D993A
monochromatic
#2B113A #4D1F6A #702D99 #923DC6 #AD6CD4

Accessibility & contrast

On white

8.32
#702D99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#702D99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702D99
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702D99#FFFFFF#000000##FFFFFF
##702D991.008.322.528.32
#FFFFFF8.321.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9C
Deuteranopia (green-blind)
#194F97
Tritanopia (blue-blind)
#6A4560
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #702d99;
/* rgb */ color: rgb(112, 45, 153);
/* oklch */ color: oklch(44.5% 0.171 309.5);
Tailwind
colors: {
  custom: {
    50: '#9d6cb8',
    500: '#702d99',
    950: '#000000',
  },
}
SCSS
$custom: #702d99;
$custom-light: #9d6cb8;
$custom-dark: #000000;
JSON
{
  "hex": "#702d99",
  "rgb": {
    "r": 112,
    "g": 45,
    "b": 153
  },
  "hsl": {
    "h": 277.222,
    "s": 54.545,
    "l": 38.824
  },
  "oklch": {
    "l": 0.44517,
    "c": 0.17112,
    "h": 309.5
  },
  "luminance": 0.07621
}

Semantic roles & 50–950 ramp

primary
#702D99
secondary
#87BB67
accent
#DE4A82
background
#FAF6FB
surface
#F3ECF6
border
#CDC7D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #702D99

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

Preview Lab → · Contrast checker → · Palette generator →

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