#702A9F#702A9F

#702A9F is a dark, vivid violet. Relative luminance 0.076; OKLCH L 44.6% C 0.181 H 307.9°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#702A9F
RGBrgb(112, 42, 159)
HSLhsl(276, 58%, 39%)
HSVhsv(276, 74%, 62%)
CMYKcmyk(29.6%, 73.6%, 0%, 37.6%)
CIE-LABlab(33.14, 50.75, -50.34)
CIE-LCHlch(33.14, 71.48, 315.24°)
OKLaboklab(44.63% 0.1112 -0.1428)
OKLCHoklch(44.63% 0.181 307.9)
XYZxyz(13.7668, 7.6041, 33.5367)
Luminance0.0760 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702A9F #599F2A
analogous
#352A9F #702A9F #9F2A94
triadic
#702A9F #9F702A #2A9F70
tetradic
#702A9F #9F352A #599F2A #2A949F
square
#702A9F #9F352A #599F2A #2A949F
split-complementary
#702A9F #949F2A #2A9F35
monochromatic
#2C103E #4E1D6F #702A9F #913BCB #AC6BD8

Accessibility & contrast

On white

8.33
#702A9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#702A9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702A9F
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702A9F#FFFFFF#000000##FFFFFF
##702A9F1.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA2
Deuteranopia (green-blind)
#014F9D
Tritanopia (blue-blind)
#684562
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #702a9f;
/* rgb */ color: rgb(112, 42, 159);
/* oklch */ color: oklch(44.6% 0.181 307.9);
Tailwind
colors: {
  custom: {
    50: '#9e6abc',
    500: '#702a9f',
    950: '#000000',
  },
}
SCSS
$custom: #702a9f;
$custom-light: #9e6abc;
$custom-dark: #000000;
JSON
{
  "hex": "#702a9f",
  "rgb": {
    "r": 112,
    "g": 42,
    "b": 159
  },
  "hsl": {
    "h": 275.897,
    "s": 58.209,
    "l": 39.412
  },
  "oklch": {
    "l": 0.44628,
    "c": 0.18103,
    "h": 307.9
  },
  "luminance": 0.07604
}

Semantic roles & 50–950 ramp

primary
#702A9F
secondary
#8ABF66
accent
#E14685
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #702A9F

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

Preview Lab → · Contrast checker → · Palette generator →

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