#702397#702397

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

Color values

HEX#702397
RGBrgb(112, 35, 151)
HSLhsl(280, 62%, 36%)
HSVhsv(280, 77%, 59%)
CMYKcmyk(25.8%, 76.8%, 0%, 40.8%)
CIE-LABlab(31.54, 51.85, -48.07)
CIE-LCHlch(31.54, 70.70, 317.16°)
OKLaboklab(43.3% 0.1195 -0.1361)
OKLCHoklch(43.3% 0.181 311.3)
XYZxyz(12.8680, 6.8815, 29.9226)
Luminance0.0688 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702397 #4A9723
analogous
#362397 #702397 #972384
triadic
#702397 #977023 #239770
tetradic
#702397 #973623 #4A9723 #238497
square
#702397 #973623 #4A9723 #238497
split-complementary
#702397 #849723 #239736
monochromatic
#260C34 #4B1765 #702397 #952FC9 #AF5BD9

Accessibility & contrast

On white

8.84
#702397 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #702397
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702397#FFFFFF#000000##FFFFFF
##7023971.008.842.388.84
#FFFFFF8.841.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479A
Deuteranopia (green-blind)
#0B4C95
Tritanopia (blue-blind)
#6B3E5C
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #702397;
/* rgb */ color: rgb(112, 35, 151);
/* oklch */ color: oklch(43.3% 0.181 311.3);
Tailwind
colors: {
  custom: {
    50: '#9d67b6',
    500: '#702397',
    950: '#000000',
  },
}
SCSS
$custom: #702397;
$custom-light: #9d67b6;
$custom-dark: #000000;
JSON
{
  "hex": "#702397",
  "rgb": {
    "r": 112,
    "g": 35,
    "b": 151
  },
  "hsl": {
    "h": 279.828,
    "s": 62.366,
    "l": 36.471
  },
  "oklch": {
    "l": 0.43302,
    "c": 0.18111,
    "h": 311.3
  },
  "luminance": 0.06881
}

Semantic roles & 50–950 ramp

primary
#702397
secondary
#7ABE58
accent
#E54279
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #702397

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

Preview Lab → · Contrast checker → · Palette generator →

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