#702799#702799

#702799 is a dark, vivid violet. Relative luminance 0.072; OKLCH L 43.9% C 0.179 H 310.2°. Best body text is #FFFFFF at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#702799
RGBrgb(112, 39, 153)
HSLhsl(278, 59%, 38%)
HSVhsv(278, 75%, 60%)
CMYKcmyk(26.8%, 74.5%, 0%, 40%)
CIE-LABlab(32.25, 50.67, -48.14)
CIE-LCHlch(32.25, 69.89, 316.47°)
OKLaboklab(43.85% 0.1152 -0.1363)
OKLCHoklch(43.85% 0.179 310.2)
XYZxyz(13.1563, 7.1960, 30.8267)
Luminance0.0720 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702799 #509927
analogous
#372799 #702799 #992789
triadic
#702799 #997027 #279970
tetradic
#702799 #993727 #509927 #278999
square
#702799 #993727 #509927 #278999
split-complementary
#702799 #899927 #279937
monochromatic
#290E37 #4C1B68 #702799 #9433CA #AD63D7

Accessibility & contrast

On white

8.61
#702799 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#702799 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702799
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702799#FFFFFF#000000##FFFFFF
##7027991.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499C
Deuteranopia (green-blind)
#0E4D97
Tritanopia (blue-blind)
#6A415E
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #702799;
/* rgb */ color: rgb(112, 39, 153);
/* oklch */ color: oklch(43.9% 0.179 310.2);
Tailwind
colors: {
  custom: {
    50: '#9d69b8',
    500: '#702799',
    950: '#000000',
  },
}
SCSS
$custom: #702799;
$custom-light: #9d69b8;
$custom-dark: #000000;
JSON
{
  "hex": "#702799",
  "rgb": {
    "r": 112,
    "g": 39,
    "b": 153
  },
  "hsl": {
    "h": 278.421,
    "s": 59.375,
    "l": 37.647
  },
  "oklch": {
    "l": 0.43853,
    "c": 0.17853,
    "h": 310.2
  },
  "luminance": 0.07196
}

Semantic roles & 50–950 ramp

primary
#702799
secondary
#81BD5F
accent
#E3457E
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #702799

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

Preview Lab → · Contrast checker → · Palette generator →

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