#702174#702174

#702174 is a dark, vivid purple. Relative luminance 0.058; OKLCH L 40.7% C 0.151 H 325.9°. Best body text is #FFFFFF at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#702174
RGBrgb(112, 33, 116)
HSLhsl(297, 56%, 29%)
HSVhsv(297, 72%, 45%)
CMYKcmyk(3.4%, 71.6%, 0%, 54.5%)
CIE-LABlab(28.89, 45.50, -30.50)
CIE-LCHlch(28.89, 54.78, 326.17°)
OKLaboklab(40.66% 0.1249 -0.0847)
OKLCHoklch(40.66% 0.151 325.9)
XYZxyz(10.3781, 5.7941, 17.0914)
Luminance0.0579 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702174 #257421
analogous
#472174 #702174 #74214F
triadic
#702174 #747021 #217470
tetradic
#702174 #744721 #257421 #214F74
square
#702174 #744721 #257421 #214F74
split-complementary
#702174 #4F7421 #217447
monochromatic
#170718 #421344 #702174 #9E2FA4 #C445CA

Accessibility & contrast

On white

9.73
#702174 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#702174 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702174
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702174#FFFFFF#000000##FFFFFF
##7021741.009.732.169.73
#FFFFFF9.731.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F3E76
Deuteranopia (green-blind)
#334772
Tritanopia (blue-blind)
#732E48
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #702174;
/* rgb */ color: rgb(112, 33, 116);
/* oklch */ color: oklch(40.7% 0.151 325.9);
Tailwind
colors: {
  custom: {
    50: '#9c649c',
    500: '#702174',
    950: '#000000',
  },
}
SCSS
$custom: #702174;
$custom-light: #9c649c;
$custom-dark: #000000;
JSON
{
  "hex": "#702174",
  "rgb": {
    "r": 112,
    "g": 33,
    "b": 116
  },
  "hsl": {
    "h": 297.108,
    "s": 55.705,
    "l": 29.216
  },
  "oklch": {
    "l": 0.40661,
    "c": 0.15087,
    "h": 325.9
  },
  "luminance": 0.05793
}

Semantic roles & 50–950 ramp

primary
#702174
secondary
#4EA749
accent
#DF4950
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0F060E
muted
#7E7A7E

Preview Lab

Preview with #702174

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

Preview Lab → · Contrast checker → · Palette generator →

#702174 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva