#702D96#702D96

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

Color values

HEX#702D96
RGBrgb(112, 45, 150)
HSLhsl(278, 54%, 38%)
HSVhsv(278, 70%, 59%)
CMYKcmyk(25.3%, 70%, 0%, 41.2%)
CIE-LABlab(32.97, 47.35, -45.14)
CIE-LCHlch(32.97, 65.42, 316.37°)
OKLaboklab(44.3% 0.1093 -0.1276)
OKLCHoklch(44.3% 0.168 310.6)
XYZxyz(13.1244, 7.5238, 29.6091)
Luminance0.0752 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702D96 #53962D
analogous
#3C2D96 #702D96 #962D87
triadic
#702D96 #96702D #2D9670
tetradic
#702D96 #963C2D #53962D #2D8796
square
#702D96 #963C2D #53962D #2D8796
split-complementary
#702D96 #87962D #2D963C
monochromatic
#2A1138 #4D1F67 #702D96 #933CC4 #AD6BD3

Accessibility & contrast

On white

8.38
#702D96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#702D96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702D96
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702D96#FFFFFF#000000##FFFFFF
##702D961.008.382.508.38
#FFFFFF8.381.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B99
Deuteranopia (green-blind)
#1D4F94
Tritanopia (blue-blind)
#6B435E
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #702d96;
/* rgb */ color: rgb(112, 45, 150);
/* oklch */ color: oklch(44.3% 0.168 310.6);
Tailwind
colors: {
  custom: {
    50: '#9d6cb5',
    500: '#702d96',
    950: '#000000',
  },
}
SCSS
$custom: #702d96;
$custom-light: #9d6cb5;
$custom-dark: #000000;
JSON
{
  "hex": "#702d96",
  "rgb": {
    "r": 112,
    "g": 45,
    "b": 150
  },
  "hsl": {
    "h": 278.286,
    "s": 53.846,
    "l": 38.235
  },
  "oklch": {
    "l": 0.44299,
    "c": 0.168,
    "h": 310.6
  },
  "luminance": 0.07524
}

Semantic roles & 50–950 ramp

primary
#702D96
secondary
#84B965
accent
#DD4B80
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0F0711
muted
#7E7A80

Preview Lab

Preview with #702D96

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

Preview Lab → · Contrast checker → · Palette generator →

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