#703197#703197

#703197 is a dark, vivid violet. Relative luminance 0.079; OKLCH L 44.9% C 0.164 H 309.7°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#703197
RGBrgb(112, 49, 151)
HSLhsl(277, 51%, 39%)
HSVhsv(277, 68%, 59%)
CMYKcmyk(25.8%, 67.5%, 0%, 40.8%)
CIE-LABlab(33.72, 45.68, -44.54)
CIE-LCHlch(33.72, 63.80, 315.72°)
OKLaboklab(44.86% 0.1046 -0.1258)
OKLCHoklch(44.86% 0.164 309.7)
XYZxyz(13.3652, 7.8760, 30.0883)
Luminance0.0788 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#703197 #589731
analogous
#3D3197 #703197 #97318B
triadic
#703197 #977031 #319770
tetradic
#703197 #973D31 #589731 #318B97
square
#703197 #973D31 #589731 #318B97
split-complementary
#703197 #8B9731 #31973D
monochromatic
#2B133B #4E2269 #703197 #9243C2 #AC71D1

Accessibility & contrast

On white

8.15
#703197 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#703197 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #703197
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##703197#FFFFFF#000000##FFFFFF
##7031971.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9A
Deuteranopia (green-blind)
#215095
Tritanopia (blue-blind)
#6B4660
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #703197;
/* rgb */ color: rgb(112, 49, 151);
/* oklch */ color: oklch(44.9% 0.164 309.7);
Tailwind
colors: {
  custom: {
    50: '#9d6eb6',
    500: '#703197',
    950: '#000000',
  },
}
SCSS
$custom: #703197;
$custom-light: #9d6eb6;
$custom-dark: #000000;
JSON
{
  "hex": "#703197",
  "rgb": {
    "r": 112,
    "g": 49,
    "b": 151
  },
  "hsl": {
    "h": 277.059,
    "s": 51,
    "l": 39.216
  },
  "oklch": {
    "l": 0.4486,
    "c": 0.16363,
    "h": 309.7
  },
  "luminance": 0.07876
}

Semantic roles & 50–950 ramp

primary
#703197
secondary
#89B96B
accent
#DA4D83
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0F0711
muted
#7E7A80

Preview Lab

Preview with #703197

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

Preview Lab → · Contrast checker → · Palette generator →

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