#702B9D#702B9D

#702B9D is a dark, vivid violet. Relative luminance 0.076; OKLCH L 44.6% C 0.178 H 308.4°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#702B9D
RGBrgb(112, 43, 157)
HSLhsl(276, 57%, 39%)
HSVhsv(276, 73%, 62%)
CMYKcmyk(28.7%, 72.6%, 0%, 38.4%)
CIE-LABlab(33.15, 49.86, -49.11)
CIE-LCHlch(33.15, 69.99, 315.43°)
OKLaboklab(44.59% 0.1105 -0.1392)
OKLCHoklch(44.59% 0.178 308.4)
XYZxyz(13.6305, 7.6070, 32.6420)
Luminance0.0761 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702B9D #589D2B
analogous
#372B9D #702B9D #9D2B91
triadic
#702B9D #9D702B #2B9D70
tetradic
#702B9D #9D372B #589D2B #2B919D
square
#702B9D #9D372B #589D2B #2B919D
split-complementary
#702B9D #919D2B #2B9D37
monochromatic
#2B113D #4E1E6D #702B9D #923CCA #AC6CD7

Accessibility & contrast

On white

8.33
#702B9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#702B9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702B9D
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702B9D#FFFFFF#000000##FFFFFF
##702B9D1.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA0
Deuteranopia (green-blind)
#0B4F9B
Tritanopia (blue-blind)
#694561
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #702b9d;
/* rgb */ color: rgb(112, 43, 157);
/* oklch */ color: oklch(44.6% 0.178 308.4);
Tailwind
colors: {
  custom: {
    50: '#9d6bbb',
    500: '#702b9d',
    950: '#000000',
  },
}
SCSS
$custom: #702b9d;
$custom-light: #9d6bbb;
$custom-dark: #000000;
JSON
{
  "hex": "#702b9d",
  "rgb": {
    "r": 112,
    "g": 43,
    "b": 157
  },
  "hsl": {
    "h": 276.316,
    "s": 57,
    "l": 39.216
  },
  "oklch": {
    "l": 0.44586,
    "c": 0.17778,
    "h": 308.4
  },
  "luminance": 0.07607
}

Semantic roles & 50–950 ramp

primary
#702B9D
secondary
#89BD66
accent
#E04884
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #702B9D

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

Preview Lab → · Contrast checker → · Palette generator →

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