#702B97#702B97

#702B97 is a dark, vivid violet. Relative luminance 0.074; OKLCH L 44.1% C 0.172 H 310.5°. Best body text is #FFFFFF at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#702B97
RGBrgb(112, 43, 151)
HSLhsl(278, 56%, 38%)
HSVhsv(278, 72%, 59%)
CMYKcmyk(25.8%, 71.5%, 0%, 40.8%)
CIE-LABlab(32.72, 48.49, -46.16)
CIE-LCHlch(32.72, 66.95, 316.41°)
OKLaboklab(44.14% 0.1114 -0.1306)
OKLCHoklch(44.14% 0.172 310.5)
XYZxyz(13.1308, 7.4072, 30.0102)
Luminance0.0741 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702B97 #52972B
analogous
#3A2B97 #702B97 #972B88
triadic
#702B97 #97702B #2B9770
tetradic
#702B97 #973A2B #52972B #2B8897
square
#702B97 #973A2B #52972B #2B8897
split-complementary
#702B97 #88972B #2B973A
monochromatic
#291038 #4D1D67 #702B97 #9339C7 #AD68D4

Accessibility & contrast

On white

8.46
#702B97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#702B97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702B97
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702B97#FFFFFF#000000##FFFFFF
##702B971.008.462.488.46
#FFFFFF8.461.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9A
Deuteranopia (green-blind)
#194E95
Tritanopia (blue-blind)
#6B435E
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #702b97;
/* rgb */ color: rgb(112, 43, 151);
/* oklch */ color: oklch(44.1% 0.172 310.5);
Tailwind
colors: {
  custom: {
    50: '#9d6ab6',
    500: '#702b97',
    950: '#000000',
  },
}
SCSS
$custom: #702b97;
$custom-light: #9d6ab6;
$custom-dark: #000000;
JSON
{
  "hex": "#702b97",
  "rgb": {
    "r": 112,
    "g": 43,
    "b": 151
  },
  "hsl": {
    "h": 278.333,
    "s": 55.67,
    "l": 38.039
  },
  "oklch": {
    "l": 0.4414,
    "c": 0.17162,
    "h": 310.5
  },
  "luminance": 0.07407
}

Semantic roles & 50–950 ramp

primary
#702B97
secondary
#83BB63
accent
#DF497F
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #702B97

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

Preview Lab → · Contrast checker → · Palette generator →

#702B97 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva