#702F96#702F96

#702F96 is a dark, vivid violet. Relative luminance 0.077; OKLCH L 44.5% C 0.165 H 310.3°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#702F96
RGBrgb(112, 47, 150)
HSLhsl(278, 52%, 39%)
HSVhsv(278, 69%, 59%)
CMYKcmyk(25.3%, 68.7%, 0%, 41.2%)
CIE-LABlab(33.31, 46.41, -44.60)
CIE-LCHlch(33.31, 64.37, 316.14°)
OKLaboklab(44.54% 0.107 -0.126)
OKLCHoklch(44.54% 0.165 310.3)
XYZxyz(13.2026, 7.6801, 29.6352)
Luminance0.0768 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702F96 #55962F
analogous
#3C2F96 #702F96 #962F88
triadic
#702F96 #96702F #2F9670
tetradic
#702F96 #963C2F #55962F #2F8896
square
#702F96 #963C2F #55962F #2F8896
split-complementary
#702F96 #88962F #2F963C
monochromatic
#2A1239 #4D2067 #702F96 #923FC3 #AD6ED2

Accessibility & contrast

On white

8.28
#702F96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#702F96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702F96
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702F96#FFFFFF#000000##FFFFFF
##702F961.008.282.548.28
#FFFFFF8.281.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B99
Deuteranopia (green-blind)
#204F94
Tritanopia (blue-blind)
#6B455E
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #702f96;
/* rgb */ color: rgb(112, 47, 150);
/* oklch */ color: oklch(44.5% 0.165 310.3);
Tailwind
colors: {
  custom: {
    50: '#9d6db5',
    500: '#702f96',
    950: '#000000',
  },
}
SCSS
$custom: #702f96;
$custom-light: #9d6db5;
$custom-dark: #000000;
JSON
{
  "hex": "#702f96",
  "rgb": {
    "r": 112,
    "g": 47,
    "b": 150
  },
  "hsl": {
    "h": 277.864,
    "s": 52.284,
    "l": 38.627
  },
  "oklch": {
    "l": 0.4454,
    "c": 0.16532,
    "h": 310.3
  },
  "luminance": 0.0768
}

Semantic roles & 50–950 ramp

primary
#702F96
secondary
#86B968
accent
#DC4C81
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0F0711
muted
#7E7A80

Preview Lab

Preview with #702F96

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

Preview Lab → · Contrast checker → · Palette generator →

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