#702B96#702B96

#702B96 is a dark, vivid violet. Relative luminance 0.074; OKLCH L 44.1% C 0.171 H 310.8°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#702B96
RGBrgb(112, 43, 150)
HSLhsl(279, 55%, 38%)
HSVhsv(279, 71%, 59%)
CMYKcmyk(25.3%, 71.3%, 0%, 41.2%)
CIE-LABlab(32.65, 48.27, -45.67)
CIE-LCHlch(32.65, 66.45, 316.59°)
OKLaboklab(44.07% 0.1115 -0.1291)
OKLCHoklch(44.07% 0.171 310.8)
XYZxyz(13.0499, 7.3748, 29.5843)
Luminance0.0737 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702B96 #51962B
analogous
#3B2B96 #702B96 #962B86
triadic
#702B96 #96702B #2B9670
tetradic
#702B96 #963B2B #51962B #2B8696
square
#702B96 #963B2B #51962B #2B8696
split-complementary
#702B96 #86962B #2B963B
monochromatic
#291037 #4C1D66 #702B96 #9439C6 #AD68D4

Accessibility & contrast

On white

8.48
#702B96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#702B96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702B96
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702B96#FFFFFF#000000##FFFFFF
##702B961.008.482.478.48
#FFFFFF8.481.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A99
Deuteranopia (green-blind)
#1B4E94
Tritanopia (blue-blind)
#6B425D
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #702b96;
/* rgb */ color: rgb(112, 43, 150);
/* oklch */ color: oklch(44.1% 0.171 310.8);
Tailwind
colors: {
  custom: {
    50: '#9d6ab5',
    500: '#702b96',
    950: '#000000',
  },
}
SCSS
$custom: #702b96;
$custom-light: #9d6ab5;
$custom-dark: #000000;
JSON
{
  "hex": "#702b96",
  "rgb": {
    "r": 112,
    "g": 43,
    "b": 150
  },
  "hsl": {
    "h": 278.692,
    "s": 55.44,
    "l": 37.843
  },
  "oklch": {
    "l": 0.44066,
    "c": 0.1706,
    "h": 310.8
  },
  "luminance": 0.07375
}

Semantic roles & 50–950 ramp

primary
#702B96
secondary
#82BA63
accent
#DF497E
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #702B96

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

Preview Lab → · Contrast checker → · Palette generator →

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