#702298#702298

#702298 is a dark, vivid violet. Relative luminance 0.069; OKLCH L 43.3% C 0.183 H 311.0°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#702298
RGBrgb(112, 34, 152)
HSLhsl(280, 63%, 36%)
HSVhsv(280, 78%, 60%)
CMYKcmyk(26.3%, 77.6%, 0%, 40.4%)
CIE-LABlab(31.48, 52.45, -48.78)
CIE-LCHlch(31.48, 71.62, 317.08°)
OKLaboklab(43.29% 0.1202 -0.1382)
OKLCHoklch(43.29% 0.183 311)
XYZxyz(12.9205, 6.8561, 30.3424)
Luminance0.0686 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702298 #4A9822
analogous
#352298 #702298 #982285
triadic
#702298 #987022 #229870
tetradic
#702298 #983522 #4A9822 #228598
square
#702298 #983522 #4A9822 #228598
split-complementary
#702298 #859822 #229835
monochromatic
#260C34 #4B1766 #702298 #952DCA #AF5ADA

Accessibility & contrast

On white

8.86
#702298 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#702298 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702298
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702298#FFFFFF#000000##FFFFFF
##7022981.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479B
Deuteranopia (green-blind)
#064B96
Tritanopia (blue-blind)
#6B3E5C
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #702298;
/* rgb */ color: rgb(112, 34, 152);
/* oklch */ color: oklch(43.3% 0.183 311.0);
Tailwind
colors: {
  custom: {
    50: '#9d66b7',
    500: '#702298',
    950: '#000000',
  },
}
SCSS
$custom: #702298;
$custom-light: #9d66b7;
$custom-dark: #000000;
JSON
{
  "hex": "#702298",
  "rgb": {
    "r": 112,
    "g": 34,
    "b": 152
  },
  "hsl": {
    "h": 279.661,
    "s": 63.441,
    "l": 36.471
  },
  "oklch": {
    "l": 0.43285,
    "c": 0.18315,
    "h": 311
  },
  "luminance": 0.06856
}

Semantic roles & 50–950 ramp

primary
#702298
secondary
#7ABE57
accent
#E64179
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #702298

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

Preview Lab → · Contrast checker → · Palette generator →

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