#702E8F#702E8F

#702E8F is a dark, vivid purple. Relative luminance 0.074; OKLCH L 43.9% C 0.159 H 313.0°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#702E8F
RGBrgb(112, 46, 143)
HSLhsl(281, 51%, 37%)
HSVhsv(281, 68%, 56%)
CMYKcmyk(21.7%, 67.8%, 0%, 43.9%)
CIE-LABlab(32.66, 45.30, -41.35)
CIE-LCHlch(32.66, 61.34, 317.61°)
OKLaboklab(43.93% 0.1087 -0.1165)
OKLCHoklch(43.93% 0.159 313)
XYZxyz(12.6161, 7.3823, 26.7416)
Luminance0.0738 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702E8F #4D8F2E
analogous
#402E8F #702E8F #8F2E7E
triadic
#702E8F #8F702E #2E8F70
tetradic
#702E8F #8F402E #4D8F2E #2E7E8F
square
#702E8F #8F402E #4D8F2E #2E7E8F
split-complementary
#702E8F #7E8F2E #2E8F40
monochromatic
#271032 #4C1F61 #702E8F #943DBD #AE69CF

Accessibility & contrast

On white

8.48
#702E8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #702E8F
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702E8F#FFFFFF#000000##FFFFFF
##702E8F1.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004992
Deuteranopia (green-blind)
#274E8D
Tritanopia (blue-blind)
#6D415A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #702e8f;
/* rgb */ color: rgb(112, 46, 143);
/* oklch */ color: oklch(43.9% 0.159 313.0);
Tailwind
colors: {
  custom: {
    50: '#9c6cb0',
    500: '#702e8f',
    950: '#000000',
  },
}
SCSS
$custom: #702e8f;
$custom-light: #9c6cb0;
$custom-dark: #000000;
JSON
{
  "hex": "#702e8f",
  "rgb": {
    "r": 112,
    "g": 46,
    "b": 143
  },
  "hsl": {
    "h": 280.825,
    "s": 51.323,
    "l": 37.059
  },
  "oklch": {
    "l": 0.43925,
    "c": 0.15933,
    "h": 313
  },
  "luminance": 0.07382
}

Semantic roles & 50–950 ramp

primary
#702E8F
secondary
#7EB663
accent
#DB4D7A
background
#F9F6FA
surface
#F2ECF5
border
#CCC7CF
text
#0F0710
muted
#7E7A7F

Preview Lab

Preview with #702E8F

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

Preview Lab → · Contrast checker → · Palette generator →

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