#702A95#702A95

#702A95 is a dark, vivid violet. Relative luminance 0.073; OKLCH L 43.9% C 0.171 H 311.3°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#702A95
RGBrgb(112, 42, 149)
HSLhsl(279, 56%, 37%)
HSVhsv(279, 72%, 58%)
CMYKcmyk(24.8%, 71.8%, 0%, 41.6%)
CIE-LABlab(32.42, 48.49, -45.43)
CIE-LCHlch(32.42, 66.44, 316.87°)
OKLaboklab(43.88% 0.1127 -0.1284)
OKLCHoklch(43.88% 0.171 311.3)
XYZxyz(12.9339, 7.2709, 29.1500)
Luminance0.0727 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702A95 #4F952A
analogous
#3A2A95 #702A95 #952A85
triadic
#702A95 #95702A #2A9570
tetradic
#702A95 #953A2A #4F952A #2A8595
square
#702A95 #953A2A #4F952A #2A8595
split-complementary
#702A95 #85952A #2A953A
monochromatic
#280F36 #4C1D65 #702A95 #9437C5 #AE66D4

Accessibility & contrast

On white

8.56
#702A95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#702A95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702A95
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702A95#FFFFFF#000000##FFFFFF
##702A951.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004998
Deuteranopia (green-blind)
#1B4E93
Tritanopia (blue-blind)
#6B415C
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #702a95;
/* rgb */ color: rgb(112, 42, 149);
/* oklch */ color: oklch(43.9% 0.171 311.3);
Tailwind
colors: {
  custom: {
    50: '#9d6ab5',
    500: '#702a95',
    950: '#000000',
  },
}
SCSS
$custom: #702a95;
$custom-light: #9d6ab5;
$custom-dark: #000000;
JSON
{
  "hex": "#702a95",
  "rgb": {
    "r": 112,
    "g": 42,
    "b": 149
  },
  "hsl": {
    "h": 279.252,
    "s": 56.021,
    "l": 37.451
  },
  "oklch": {
    "l": 0.4388,
    "c": 0.17085,
    "h": 311.3
  },
  "luminance": 0.07271
}

Semantic roles & 50–950 ramp

primary
#702A95
secondary
#80BA61
accent
#DF487D
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #702A95

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

Preview Lab → · Contrast checker → · Palette generator →

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