#702F88#702F88

#702F88 is a dark, vivid purple. Relative luminance 0.073; OKLCH L 43.6% C 0.151 H 315.7°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#702F88
RGBrgb(112, 47, 136)
HSLhsl(284, 49%, 36%)
HSVhsv(284, 65%, 53%)
CMYKcmyk(17.6%, 65.4%, 0%, 46.7%)
CIE-LABlab(32.38, 43.27, -37.48)
CIE-LCHlch(32.38, 57.25, 319.11°)
OKLaboklab(43.58% 0.1078 -0.1051)
OKLCHoklch(43.58% 0.151 315.7)
XYZxyz(12.1418, 7.2558, 24.0487)
Luminance0.0726 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702F88 #47882F
analogous
#432F88 #702F88 #882F73
triadic
#702F88 #88702F #2F8870
tetradic
#702F88 #88432F #47882F #2F7388
square
#702F88 #88432F #47882F #2F7388
split-complementary
#702F88 #73882F #2F8843
monochromatic
#25102D #4B1F5B #702F88 #953FB5 #B067CA

Accessibility & contrast

On white

8.57
#702F88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#702F88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702F88
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702F88#FFFFFF#000000##FFFFFF
##702F881.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D488B
Deuteranopia (green-blind)
#2E4E86
Tritanopia (blue-blind)
#6E3F57
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #702f88;
/* rgb */ color: rgb(112, 47, 136);
/* oklch */ color: oklch(43.6% 0.151 315.7);
Tailwind
colors: {
  custom: {
    50: '#9c6cab',
    500: '#702f88',
    950: '#000000',
  },
}
SCSS
$custom: #702f88;
$custom-light: #9c6cab;
$custom-dark: #000000;
JSON
{
  "hex": "#702f88",
  "rgb": {
    "r": 112,
    "g": 47,
    "b": 136
  },
  "hsl": {
    "h": 283.82,
    "s": 48.634,
    "l": 35.882
  },
  "oklch": {
    "l": 0.43578,
    "c": 0.15058,
    "h": 315.7
  },
  "luminance": 0.07255
}

Semantic roles & 50–950 ramp

primary
#702F88
secondary
#77B161
accent
#D85074
background
#F9F6FA
surface
#F2ECF4
border
#CCC7CE
text
#0E0710
muted
#7E7A7F

Preview Lab

Preview with #702F88

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

Preview Lab → · Contrast checker → · Palette generator →

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