#702D9F#702D9F

#702D9F is a dark, vivid violet. Relative luminance 0.078; OKLCH L 45.0% C 0.177 H 307.6°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#702D9F
RGBrgb(112, 45, 159)
HSLhsl(275, 56%, 40%)
HSVhsv(275, 72%, 62%)
CMYKcmyk(29.6%, 71.7%, 0%, 37.6%)
CIE-LABlab(33.62, 49.42, -49.57)
CIE-LCHlch(33.62, 70.00, 314.91°)
OKLaboklab(44.96% 0.1081 -0.1406)
OKLCHoklch(44.96% 0.177 307.6)
XYZxyz(13.8772, 7.8249, 33.5735)
Luminance0.0783 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702D9F #5C9F2D
analogous
#372D9F #702D9F #9F2D95
triadic
#702D9F #9F702D #2D9F70
tetradic
#702D9F #9F372D #5C9F2D #2D959F
square
#702D9F #9F372D #5C9F2D #2D959F
split-complementary
#702D9F #959F2D #2D9F37
monochromatic
#2D1240 #4E206F #702D9F #9140C9 #AC70D6

Accessibility & contrast

On white

8.19
#702D9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#702D9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702D9F
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702D9F#FFFFFF#000000##FFFFFF
##702D9F1.008.192.578.19
#FFFFFF8.191.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA2
Deuteranopia (green-blind)
#0A509D
Tritanopia (blue-blind)
#684763
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #702d9f;
/* rgb */ color: rgb(112, 45, 159);
/* oklch */ color: oklch(45.0% 0.177 307.6);
Tailwind
colors: {
  custom: {
    50: '#9d6cbc',
    500: '#702d9f',
    950: '#000000',
  },
}
SCSS
$custom: #702d9f;
$custom-light: #9d6cbc;
$custom-dark: #000000;
JSON
{
  "hex": "#702d9f",
  "rgb": {
    "r": 112,
    "g": 45,
    "b": 159
  },
  "hsl": {
    "h": 275.263,
    "s": 55.882,
    "l": 40
  },
  "oklch": {
    "l": 0.44963,
    "c": 0.17738,
    "h": 307.6
  },
  "luminance": 0.07825
}

Semantic roles & 50–950 ramp

primary
#702D9F
secondary
#8DBE6A
accent
#DF4987
background
#FAF6FB
surface
#F3ECF6
border
#CDC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #702D9F

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

Preview Lab → · Contrast checker → · Palette generator →

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