#702B98#702B98

#702B98 is a dark, vivid violet. Relative luminance 0.074; OKLCH L 44.2% C 0.173 H 310.1°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#702B98
RGBrgb(112, 43, 152)
HSLhsl(278, 56%, 38%)
HSVhsv(278, 72%, 60%)
CMYKcmyk(26.3%, 71.7%, 0%, 40.4%)
CIE-LABlab(32.79, 48.72, -46.66)
CIE-LCHlch(32.79, 67.46, 316.24°)
OKLaboklab(44.21% 0.1112 -0.132)
OKLCHoklch(44.21% 0.173 310.1)
XYZxyz(13.2124, 7.4398, 30.4397)
Luminance0.0744 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702B98 #53982B
analogous
#3A2B98 #702B98 #982B89
triadic
#702B98 #98702B #2B9870
tetradic
#702B98 #983A2B #53982B #2B8998
square
#702B98 #983A2B #53982B #2B8998
split-complementary
#702B98 #89982B #2B983A
monochromatic
#2A1039 #4D1E68 #702B98 #9339C7 #AD69D5

Accessibility & contrast

On white

8.44
#702B98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#702B98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702B98
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702B98#FFFFFF#000000##FFFFFF
##702B981.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9B
Deuteranopia (green-blind)
#174E96
Tritanopia (blue-blind)
#6A435E
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #702b98;
/* rgb */ color: rgb(112, 43, 152);
/* oklch */ color: oklch(44.2% 0.173 310.1);
Tailwind
colors: {
  custom: {
    50: '#9d6bb7',
    500: '#702b98',
    950: '#000000',
  },
}
SCSS
$custom: #702b98;
$custom-light: #9d6bb7;
$custom-dark: #000000;
JSON
{
  "hex": "#702b98",
  "rgb": {
    "r": 112,
    "g": 43,
    "b": 152
  },
  "hsl": {
    "h": 277.982,
    "s": 55.897,
    "l": 38.235
  },
  "oklch": {
    "l": 0.44213,
    "c": 0.17264,
    "h": 310.1
  },
  "luminance": 0.07439
}

Semantic roles & 50–950 ramp

primary
#702B98
secondary
#84BB64
accent
#DF4980
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #702B98

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

Preview Lab → · Contrast checker → · Palette generator →

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