#702A9C#702A9C

#702A9C is a dark, vivid violet. Relative luminance 0.075; OKLCH L 44.4% C 0.178 H 308.9°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#702A9C
RGBrgb(112, 42, 156)
HSLhsl(277, 58%, 39%)
HSVhsv(277, 73%, 61%)
CMYKcmyk(28.2%, 73.1%, 0%, 38.8%)
CIE-LABlab(32.92, 50.07, -48.88)
CIE-LCHlch(32.92, 69.97, 315.69°)
OKLaboklab(44.4% 0.1117 -0.1385)
OKLCHoklch(44.4% 0.178 308.9)
XYZxyz(13.5096, 7.5012, 32.1822)
Luminance0.0750 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702A9C #569C2A
analogous
#372A9C #702A9C #9C2A8F
triadic
#702A9C #9C702A #2A9C70
tetradic
#702A9C #9C372A #569C2A #2A8F9C
square
#702A9C #9C372A #569C2A #2A8F9C
split-complementary
#702A9C #8F9C2A #2A9C37
monochromatic
#2B103C #4D1D6C #702A9C #9239CA #AD6AD7

Accessibility & contrast

On white

8.40
#702A9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #702A9C
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702A9C#FFFFFF#000000##FFFFFF
##702A9C1.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9F
Deuteranopia (green-blind)
#0C4E9A
Tritanopia (blue-blind)
#694460
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #702a9c;
/* rgb */ color: rgb(112, 42, 156);
/* oklch */ color: oklch(44.4% 0.178 308.9);
Tailwind
colors: {
  custom: {
    50: '#9d6aba',
    500: '#702a9c',
    950: '#000000',
  },
}
SCSS
$custom: #702a9c;
$custom-light: #9d6aba;
$custom-dark: #000000;
JSON
{
  "hex": "#702a9c",
  "rgb": {
    "r": 112,
    "g": 42,
    "b": 156
  },
  "hsl": {
    "h": 276.842,
    "s": 57.576,
    "l": 38.824
  },
  "oklch": {
    "l": 0.444,
    "c": 0.17797,
    "h": 308.9
  },
  "luminance": 0.07501
}

Semantic roles & 50–950 ramp

primary
#702A9C
secondary
#87BD65
accent
#E14782
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #702A9C

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

Preview Lab → · Contrast checker → · Palette generator →

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