#702398#702398

#702398 is a dark, vivid violet. Relative luminance 0.069; OKLCH L 43.4% C 0.182 H 310.9°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#702398
RGBrgb(112, 35, 152)
HSLhsl(279, 63%, 37%)
HSVhsv(279, 77%, 60%)
CMYKcmyk(26.3%, 77%, 0%, 40.4%)
CIE-LABlab(31.61, 52.06, -48.56)
CIE-LCHlch(31.61, 71.20, 316.99°)
OKLaboklab(43.38% 0.1193 -0.1376)
OKLCHoklch(43.38% 0.182 310.9)
XYZxyz(12.9495, 6.9141, 30.3521)
Luminance0.0691 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702398 #4B9823
analogous
#362398 #702398 #982386
triadic
#702398 #987023 #239870
tetradic
#702398 #983623 #4B9823 #238698
square
#702398 #983623 #4B9823 #238698
split-complementary
#702398 #869823 #239836
monochromatic
#270C35 #4B1866 #702398 #952ECA #AF5CD9

Accessibility & contrast

On white

8.81
#702398 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#702398 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702398
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702398#FFFFFF#000000##FFFFFF
##7023981.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479B
Deuteranopia (green-blind)
#084C96
Tritanopia (blue-blind)
#6B3F5C
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #702398;
/* rgb */ color: rgb(112, 35, 152);
/* oklch */ color: oklch(43.4% 0.182 310.9);
Tailwind
colors: {
  custom: {
    50: '#9d67b7',
    500: '#702398',
    950: '#000000',
  },
}
SCSS
$custom: #702398;
$custom-light: #9d67b7;
$custom-dark: #000000;
JSON
{
  "hex": "#702398",
  "rgb": {
    "r": 112,
    "g": 35,
    "b": 152
  },
  "hsl": {
    "h": 279.487,
    "s": 62.567,
    "l": 36.667
  },
  "oklch": {
    "l": 0.43379,
    "c": 0.18207,
    "h": 310.9
  },
  "luminance": 0.06914
}

Semantic roles & 50–950 ramp

primary
#702398
secondary
#7BBE59
accent
#E6427A
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #702398

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

Preview Lab → · Contrast checker → · Palette generator →

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