#702B99#702B99

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

Color values

HEX#702B99
RGBrgb(112, 43, 153)
HSLhsl(278, 56%, 38%)
HSVhsv(278, 72%, 60%)
CMYKcmyk(26.8%, 71.9%, 0%, 40%)
CIE-LABlab(32.86, 48.94, -47.15)
CIE-LCHlch(32.86, 67.96, 316.07°)
OKLaboklab(44.29% 0.1111 -0.1335)
OKLCHoklch(44.29% 0.174 309.8)
XYZxyz(13.2946, 7.4727, 30.8728)
Luminance0.0747 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702B99 #54992B
analogous
#392B99 #702B99 #992B8B
triadic
#702B99 #99702B #2B9970
tetradic
#702B99 #99392B #54992B #2B8B99
square
#702B99 #99392B #54992B #2B8B99
split-complementary
#702B99 #8B992B #2B9939
monochromatic
#2A1039 #4D1E69 #702B99 #933AC8 #AD69D5

Accessibility & contrast

On white

8.42
#702B99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#702B99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702B99
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702B99#FFFFFF#000000##FFFFFF
##702B991.008.422.498.42
#FFFFFF8.421.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9C
Deuteranopia (green-blind)
#154E97
Tritanopia (blue-blind)
#6A435F
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #702b99;
/* rgb */ color: rgb(112, 43, 153);
/* oklch */ color: oklch(44.3% 0.174 309.8);
Tailwind
colors: {
  custom: {
    50: '#9d6bb8',
    500: '#702b99',
    950: '#000000',
  },
}
SCSS
$custom: #702b99;
$custom-light: #9d6bb8;
$custom-dark: #000000;
JSON
{
  "hex": "#702b99",
  "rgb": {
    "r": 112,
    "g": 43,
    "b": 153
  },
  "hsl": {
    "h": 277.636,
    "s": 56.122,
    "l": 38.431
  },
  "oklch": {
    "l": 0.44287,
    "c": 0.17367,
    "h": 309.8
  },
  "luminance": 0.07472
}

Semantic roles & 50–950 ramp

primary
#702B99
secondary
#85BC64
accent
#DF4881
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #702B99

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

Preview Lab → · Contrast checker → · Palette generator →

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