#702997#702997

#702997 is a dark, vivid violet. Relative luminance 0.073; OKLCH L 43.9% C 0.174 H 310.7°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#702997
RGBrgb(112, 41, 151)
HSLhsl(279, 57%, 38%)
HSVhsv(279, 73%, 59%)
CMYKcmyk(25.8%, 72.8%, 0%, 40.8%)
CIE-LABlab(32.40, 49.38, -46.67)
CIE-LCHlch(32.40, 67.94, 316.61°)
OKLaboklab(43.92% 0.1135 -0.132)
OKLCHoklch(43.92% 0.174 310.7)
XYZxyz(13.0599, 7.2653, 29.9865)
Luminance0.0727 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702997 #509729
analogous
#392997 #702997 #972987
triadic
#702997 #977029 #299770
tetradic
#702997 #973929 #509729 #298797
square
#702997 #973929 #509729 #298797
split-complementary
#702997 #879729 #299739
monochromatic
#290F37 #4C1C67 #702997 #9436C7 #AD65D5

Accessibility & contrast

On white

8.56
#702997 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#702997 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702997
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702997#FFFFFF#000000##FFFFFF
##7029971.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499A
Deuteranopia (green-blind)
#164D95
Tritanopia (blue-blind)
#6B415D
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #702997;
/* rgb */ color: rgb(112, 41, 151);
/* oklch */ color: oklch(43.9% 0.174 310.7);
Tailwind
colors: {
  custom: {
    50: '#9d69b6',
    500: '#702997',
    950: '#000000',
  },
}
SCSS
$custom: #702997;
$custom-light: #9d69b6;
$custom-dark: #000000;
JSON
{
  "hex": "#702997",
  "rgb": {
    "r": 112,
    "g": 41,
    "b": 151
  },
  "hsl": {
    "h": 278.727,
    "s": 57.292,
    "l": 37.647
  },
  "oklch": {
    "l": 0.43917,
    "c": 0.17412,
    "h": 310.7
  },
  "luminance": 0.07265
}

Semantic roles & 50–950 ramp

primary
#702997
secondary
#81BB61
accent
#E1477E
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #702997

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

Preview Lab → · Contrast checker → · Palette generator →

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