#702E8D#702E8D

#702E8D is a dark, vivid purple. Relative luminance 0.073; OKLCH L 43.8% C 0.157 H 313.8°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#702E8D
RGBrgb(112, 46, 141)
HSLhsl(282, 51%, 37%)
HSVhsv(282, 67%, 55%)
CMYKcmyk(20.6%, 67.4%, 0%, 44.7%)
CIE-LABlab(32.53, 44.86, -40.33)
CIE-LCHlch(32.53, 60.32, 318.04°)
OKLaboklab(43.79% 0.1089 -0.1135)
OKLCHoklch(43.79% 0.157 313.8)
XYZxyz(12.4660, 7.3222, 25.9508)
Luminance0.0732 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702E8D #4B8D2E
analogous
#412E8D #702E8D #8D2E7B
triadic
#702E8D #8D702E #2E8D70
tetradic
#702E8D #8D412E #4B8D2E #2E7B8D
square
#702E8D #8D412E #4B8D2E #2E7B8D
split-complementary
#702E8D #7B8D2E #2E8D41
monochromatic
#271031 #4B1F5F #702E8D #953DBB #AF68CE

Accessibility & contrast

On white

8.52
#702E8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#702E8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702E8D
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702E8D#FFFFFF#000000##FFFFFF
##702E8D1.008.522.468.52
#FFFFFF8.521.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004990
Deuteranopia (green-blind)
#294E8B
Tritanopia (blue-blind)
#6D4059
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #702e8d;
/* rgb */ color: rgb(112, 46, 141);
/* oklch */ color: oklch(43.8% 0.157 313.8);
Tailwind
colors: {
  custom: {
    50: '#9c6caf',
    500: '#702e8d',
    950: '#000000',
  },
}
SCSS
$custom: #702e8d;
$custom-light: #9c6caf;
$custom-dark: #000000;
JSON
{
  "hex": "#702e8d",
  "rgb": {
    "r": 112,
    "g": 46,
    "b": 141
  },
  "hsl": {
    "h": 281.684,
    "s": 50.802,
    "l": 36.667
  },
  "oklch": {
    "l": 0.43787,
    "c": 0.15725,
    "h": 313.8
  },
  "luminance": 0.07322
}

Semantic roles & 50–950 ramp

primary
#702E8D
secondary
#7BB562
accent
#DA4E78
background
#F9F6FA
surface
#F2ECF4
border
#CCC7CE
text
#0F0710
muted
#7E7A7F

Preview Lab

Preview with #702E8D

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

Preview Lab → · Contrast checker → · Palette generator →

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