#702C94#702C94

#702C94 is a dark, vivid violet. Relative luminance 0.074; OKLCH L 44.0% C 0.167 H 311.4°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#702C94
RGBrgb(112, 44, 148)
HSLhsl(279, 54%, 38%)
HSVhsv(279, 70%, 58%)
CMYKcmyk(24.3%, 70.3%, 0%, 42%)
CIE-LABlab(32.67, 47.36, -44.41)
CIE-LCHlch(32.67, 64.93, 316.84°)
OKLaboklab(44.04% 0.1106 -0.1254)
OKLCHoklch(44.04% 0.167 311.4)
XYZxyz(12.9271, 7.3845, 28.7556)
Luminance0.0738 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702C94 #50942C
analogous
#3C2C94 #702C94 #942C84
triadic
#702C94 #94702C #2C9470
tetradic
#702C94 #943C2C #50942C #2C8494
square
#702C94 #943C2C #50942C #2C8494
split-complementary
#702C94 #84942C #2C943C
monochromatic
#291036 #4C1E65 #702C94 #943AC3 #AE68D2

Accessibility & contrast

On white

8.48
#702C94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#702C94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702C94
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702C94#FFFFFF#000000##FFFFFF
##702C941.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A97
Deuteranopia (green-blind)
#1F4E92
Tritanopia (blue-blind)
#6C425C
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #702c94;
/* rgb */ color: rgb(112, 44, 148);
/* oklch */ color: oklch(44.0% 0.167 311.4);
Tailwind
colors: {
  custom: {
    50: '#9d6bb4',
    500: '#702c94',
    950: '#000000',
  },
}
SCSS
$custom: #702c94;
$custom-light: #9d6bb4;
$custom-dark: #000000;
JSON
{
  "hex": "#702c94",
  "rgb": {
    "r": 112,
    "g": 44,
    "b": 148
  },
  "hsl": {
    "h": 279.231,
    "s": 54.167,
    "l": 37.647
  },
  "oklch": {
    "l": 0.44037,
    "c": 0.16724,
    "h": 311.4
  },
  "luminance": 0.07384
}

Semantic roles & 50–950 ramp

primary
#702C94
secondary
#81B963
accent
#DE4A7D
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0711
muted
#7E7A80

Preview Lab

Preview with #702C94

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

Preview Lab → · Contrast checker → · Palette generator →

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