#702B95#702B95

#702B95 is a dark, vivid violet. Relative luminance 0.073; OKLCH L 44.0% C 0.170 H 311.2°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#702B95
RGBrgb(112, 43, 149)
HSLhsl(279, 55%, 38%)
HSVhsv(279, 71%, 58%)
CMYKcmyk(24.8%, 71.1%, 0%, 41.6%)
CIE-LABlab(32.57, 48.04, -45.17)
CIE-LCHlch(32.57, 65.94, 316.77°)
OKLaboklab(43.99% 0.1116 -0.1277)
OKLCHoklch(43.99% 0.17 311.2)
XYZxyz(12.9698, 7.3427, 29.1620)
Luminance0.0734 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702B95 #50952B
analogous
#3B2B95 #702B95 #952B85
triadic
#702B95 #95702B #2B9570
tetradic
#702B95 #953B2B #50952B #2B8595
square
#702B95 #953B2B #50952B #2B8595
split-complementary
#702B95 #85952B #2B953B
monochromatic
#291036 #4C1D66 #702B95 #9439C4 #AE67D3

Accessibility & contrast

On white

8.51
#702B95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#702B95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702B95
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702B95#FFFFFF#000000##FFFFFF
##702B951.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004998
Deuteranopia (green-blind)
#1C4E93
Tritanopia (blue-blind)
#6B425D
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #702b95;
/* rgb */ color: rgb(112, 43, 149);
/* oklch */ color: oklch(44.0% 0.170 311.2);
Tailwind
colors: {
  custom: {
    50: '#9d6ab5',
    500: '#702b95',
    950: '#000000',
  },
}
SCSS
$custom: #702b95;
$custom-light: #9d6ab5;
$custom-dark: #000000;
JSON
{
  "hex": "#702b95",
  "rgb": {
    "r": 112,
    "g": 43,
    "b": 149
  },
  "hsl": {
    "h": 279.057,
    "s": 55.208,
    "l": 37.647
  },
  "oklch": {
    "l": 0.43994,
    "c": 0.16958,
    "h": 311.2
  },
  "luminance": 0.07342
}

Semantic roles & 50–950 ramp

primary
#702B95
secondary
#81BA62
accent
#DF497D
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #702B95

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

Preview Lab → · Contrast checker → · Palette generator →

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