#702899#702899

#702899 is a dark, vivid violet. Relative luminance 0.073; OKLCH L 44.0% C 0.177 H 310.1°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#702899
RGBrgb(112, 40, 153)
HSLhsl(278, 59%, 38%)
HSVhsv(278, 74%, 60%)
CMYKcmyk(26.8%, 73.9%, 0%, 40%)
CIE-LABlab(32.40, 50.25, -47.90)
CIE-LCHlch(32.40, 69.42, 316.37°)
OKLaboklab(43.96% 0.1142 -0.1357)
OKLCHoklch(43.96% 0.177 310.1)
XYZxyz(13.1895, 7.2625, 30.8378)
Luminance0.0726 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702899 #519928
analogous
#372899 #702899 #992889
triadic
#702899 #997028 #289970
tetradic
#702899 #993728 #519928 #288999
square
#702899 #993728 #519928 #288999
split-complementary
#702899 #899928 #289937
monochromatic
#290F38 #4C1B68 #702899 #9435CA #AD65D7

Accessibility & contrast

On white

8.56
#702899 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#702899 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702899
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702899#FFFFFF#000000##FFFFFF
##7028991.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499C
Deuteranopia (green-blind)
#104D97
Tritanopia (blue-blind)
#6A425E
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #702899;
/* rgb */ color: rgb(112, 40, 153);
/* oklch */ color: oklch(44.0% 0.177 310.1);
Tailwind
colors: {
  custom: {
    50: '#9d69b8',
    500: '#702899',
    950: '#000000',
  },
}
SCSS
$custom: #702899;
$custom-light: #9d69b8;
$custom-dark: #000000;
JSON
{
  "hex": "#702899",
  "rgb": {
    "r": 112,
    "g": 40,
    "b": 153
  },
  "hsl": {
    "h": 278.23,
    "s": 58.549,
    "l": 37.843
  },
  "oklch": {
    "l": 0.43958,
    "c": 0.17735,
    "h": 310.1
  },
  "luminance": 0.07262
}

Semantic roles & 50–950 ramp

primary
#702899
secondary
#82BD60
accent
#E2467F
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #702899

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

Preview Lab → · Contrast checker → · Palette generator →

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