#702D9E#702D9E

#702D9E is a dark, vivid violet. Relative luminance 0.078; OKLCH L 44.9% C 0.176 H 307.9°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#702D9E
RGBrgb(112, 45, 158)
HSLhsl(276, 56%, 40%)
HSVhsv(276, 72%, 62%)
CMYKcmyk(29.1%, 71.5%, 0%, 38%)
CIE-LABlab(33.54, 49.19, -49.09)
CIE-LCHlch(33.54, 69.49, 315.06°)
OKLaboklab(44.89% 0.1083 -0.1392)
OKLCHoklch(44.89% 0.176 307.9)
XYZxyz(13.7907, 7.7903, 33.1183)
Luminance0.0779 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702D9E #5B9E2D
analogous
#372D9E #702D9E #9E2D94
triadic
#702D9E #9E702D #2D9E70
tetradic
#702D9E #9E372D #5B9E2D #2D949E
square
#702D9E #9E372D #5B9E2D #2D949E
split-complementary
#702D9E #949E2D #2D9E37
monochromatic
#2C123F #4E1F6E #702D9E #9140C9 #AC6FD6

Accessibility & contrast

On white

8.21
#702D9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#702D9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702D9E
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702D9E#FFFFFF#000000##FFFFFF
##702D9E1.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA1
Deuteranopia (green-blind)
#0D509C
Tritanopia (blue-blind)
#694762
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #702d9e;
/* rgb */ color: rgb(112, 45, 158);
/* oklch */ color: oklch(44.9% 0.176 307.9);
Tailwind
colors: {
  custom: {
    50: '#9d6cbb',
    500: '#702d9e',
    950: '#000000',
  },
}
SCSS
$custom: #702d9e;
$custom-light: #9d6cbb;
$custom-dark: #000000;
JSON
{
  "hex": "#702d9e",
  "rgb": {
    "r": 112,
    "g": 45,
    "b": 158
  },
  "hsl": {
    "h": 275.575,
    "s": 55.665,
    "l": 39.804
  },
  "oklch": {
    "l": 0.44888,
    "c": 0.17633,
    "h": 307.9
  },
  "luminance": 0.0779
}

Semantic roles & 50–950 ramp

primary
#702D9E
secondary
#8CBD69
accent
#DF4986
background
#FAF6FB
surface
#F3ECF6
border
#CDC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #702D9E

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

Preview Lab → · Contrast checker → · Palette generator →

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