#702D95#702D95

#702D95 is a dark, vivid violet. Relative luminance 0.075; OKLCH L 44.2% C 0.167 H 310.9°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#702D95
RGBrgb(112, 45, 149)
HSLhsl(279, 54%, 38%)
HSVhsv(279, 70%, 58%)
CMYKcmyk(24.8%, 69.8%, 0%, 41.6%)
CIE-LABlab(32.90, 47.13, -44.64)
CIE-LCHlch(32.90, 64.92, 316.55°)
OKLaboklab(44.23% 0.1094 -0.1261)
OKLCHoklch(44.23% 0.167 310.9)
XYZxyz(13.0443, 7.4917, 29.1868)
Luminance0.0749 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702D95 #52952D
analogous
#3C2D95 #702D95 #952D86
triadic
#702D95 #95702D #2D9570
tetradic
#702D95 #953C2D #52952D #2D8695
square
#702D95 #953C2D #52952D #2D8695
split-complementary
#702D95 #86952D #2D953C
monochromatic
#291137 #4D1F66 #702D95 #933BC4 #AD6AD2

Accessibility & contrast

On white

8.41
#702D95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #702D95
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702D95#FFFFFF#000000##FFFFFF
##702D951.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A98
Deuteranopia (green-blind)
#1F4F93
Tritanopia (blue-blind)
#6B435D
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #702d95;
/* rgb */ color: rgb(112, 45, 149);
/* oklch */ color: oklch(44.2% 0.167 310.9);
Tailwind
colors: {
  custom: {
    50: '#9d6bb5',
    500: '#702d95',
    950: '#000000',
  },
}
SCSS
$custom: #702d95;
$custom-light: #9d6bb5;
$custom-dark: #000000;
JSON
{
  "hex": "#702d95",
  "rgb": {
    "r": 112,
    "g": 45,
    "b": 149
  },
  "hsl": {
    "h": 278.654,
    "s": 53.608,
    "l": 38.039
  },
  "oklch": {
    "l": 0.44227,
    "c": 0.16695,
    "h": 310.9
  },
  "luminance": 0.07491
}

Semantic roles & 50–950 ramp

primary
#702D95
secondary
#83B965
accent
#DD4B7F
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0F0711
muted
#7E7A80

Preview Lab

Preview with #702D95

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

Preview Lab → · Contrast checker → · Palette generator →

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