#702C95#702C95

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

Color values

HEX#702C95
RGBrgb(112, 44, 149)
HSLhsl(279, 54%, 38%)
HSVhsv(279, 70%, 58%)
CMYKcmyk(24.8%, 70.5%, 0%, 41.6%)
CIE-LABlab(32.74, 47.59, -44.91)
CIE-LCHlch(32.74, 65.43, 316.66°)
OKLaboklab(44.11% 0.1105 -0.1269)
OKLCHoklch(44.11% 0.168 311.1)
XYZxyz(13.0066, 7.4163, 29.1743)
Luminance0.0742 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702C95 #51952C
analogous
#3B2C95 #702C95 #952C85
triadic
#702C95 #95702C #2C9570
tetradic
#702C95 #953B2C #51952C #2C8595
square
#702C95 #953B2C #51952C #2C8595
split-complementary
#702C95 #85952C #2C953B
monochromatic
#291037 #4C1E66 #702C95 #943AC4 #AD69D3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##702C95#FFFFFF#000000##FFFFFF
##702C951.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)
#004A98
Deuteranopia (green-blind)
#1E4E93
Tritanopia (blue-blind)
#6B425D
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #702c95;
/* rgb */ color: rgb(112, 44, 149);
/* oklch */ color: oklch(44.1% 0.168 311.1);
Tailwind
colors: {
  custom: {
    50: '#9d6bb5',
    500: '#702c95',
    950: '#000000',
  },
}
SCSS
$custom: #702c95;
$custom-light: #9d6bb5;
$custom-dark: #000000;
JSON
{
  "hex": "#702c95",
  "rgb": {
    "r": 112,
    "g": 44,
    "b": 149
  },
  "hsl": {
    "h": 278.857,
    "s": 54.404,
    "l": 37.843
  },
  "oklch": {
    "l": 0.44109,
    "c": 0.16827,
    "h": 311.1
  },
  "luminance": 0.07416
}

Semantic roles & 50–950 ramp

primary
#702C95
secondary
#82B964
accent
#DE4A7E
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0711
muted
#7E7A80

Preview Lab

Preview with #702C95

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

Preview Lab → · Contrast checker → · Palette generator →

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