#702198#702198

#702198 is a dark, vivid violet. Relative luminance 0.068; OKLCH L 43.2% C 0.184 H 311.1°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#702198
RGBrgb(112, 33, 152)
HSLhsl(280, 64%, 36%)
HSVhsv(280, 78%, 60%)
CMYKcmyk(26.3%, 78.3%, 0%, 40.4%)
CIE-LABlab(31.35, 52.82, -48.99)
CIE-LCHlch(31.35, 72.04, 317.16°)
OKLaboklab(43.19% 0.1211 -0.1388)
OKLCHoklch(43.19% 0.184 311.1)
XYZxyz(12.8924, 6.7998, 30.3330)
Luminance0.0680 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702198 #499821
analogous
#352198 #702198 #982185
triadic
#702198 #987021 #219870
tetradic
#702198 #983521 #499821 #218598
square
#702198 #983521 #499821 #218598
split-complementary
#702198 #859821 #219835
monochromatic
#260B33 #4B1666 #702198 #952CCA #AF59DB

Accessibility & contrast

On white

8.90
#702198 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#702198 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702198
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702198#FFFFFF#000000##FFFFFF
##7021981.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #702198;
/* rgb */ color: rgb(112, 33, 152);
/* oklch */ color: oklch(43.2% 0.184 311.1);
Tailwind
colors: {
  custom: {
    50: '#9e66b7',
    500: '#702198',
    950: '#000000',
  },
}
SCSS
$custom: #702198;
$custom-light: #9e66b7;
$custom-dark: #000000;
JSON
{
  "hex": "#702198",
  "rgb": {
    "r": 112,
    "g": 33,
    "b": 152
  },
  "hsl": {
    "h": 279.832,
    "s": 64.324,
    "l": 36.275
  },
  "oklch": {
    "l": 0.43193,
    "c": 0.1842,
    "h": 311.1
  },
  "luminance": 0.06799
}

Semantic roles & 50–950 ramp

primary
#702198
secondary
#79BF56
accent
#E74079
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #702198

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

Preview Lab → · Contrast checker → · Palette generator →

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