#702F8C#702F8C

#702F8C is a dark, vivid purple. Relative luminance 0.074; OKLCH L 43.8% C 0.155 H 314.1°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#702F8C
RGBrgb(112, 47, 140)
HSLhsl(282, 50%, 37%)
HSVhsv(282, 66%, 55%)
CMYKcmyk(20%, 66.4%, 0%, 45.1%)
CIE-LABlab(32.64, 44.16, -39.54)
CIE-LCHlch(32.64, 59.27, 318.16°)
OKLaboklab(43.85% 0.1077 -0.1112)
OKLCHoklch(43.85% 0.155 314.1)
XYZxyz(12.4314, 7.3716, 25.5739)
Luminance0.0737 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702F8C #4B8C2F
analogous
#412F8C #702F8C #8C2F7A
triadic
#702F8C #8C702F #2F8C70
tetradic
#702F8C #8C412F #4B8C2F #2F7A8C
square
#702F8C #8C412F #4B8C2F #2F7A8C
split-complementary
#702F8C #7A8C2F #2F8C41
monochromatic
#271030 #4B205E #702F8C #953EBA #AF69CD

Accessibility & contrast

On white

8.49
#702F8C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #702F8C
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702F8C#FFFFFF#000000##FFFFFF
##702F8C1.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#03498F
Deuteranopia (green-blind)
#2B4E8A
Tritanopia (blue-blind)
#6D4159
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #702f8c;
/* rgb */ color: rgb(112, 47, 140);
/* oklch */ color: oklch(43.8% 0.155 314.1);
Tailwind
colors: {
  custom: {
    50: '#9c6cae',
    500: '#702f8c',
    950: '#000000',
  },
}
SCSS
$custom: #702f8c;
$custom-light: #9c6cae;
$custom-dark: #000000;
JSON
{
  "hex": "#702f8c",
  "rgb": {
    "r": 112,
    "g": 47,
    "b": 140
  },
  "hsl": {
    "h": 281.935,
    "s": 49.733,
    "l": 36.667
  },
  "oklch": {
    "l": 0.43845,
    "c": 0.15477,
    "h": 314.1
  },
  "luminance": 0.07371
}

Semantic roles & 50–950 ramp

primary
#702F8C
secondary
#7BB463
accent
#D94F78
background
#F9F6FA
surface
#F2ECF4
border
#CCC7CE
text
#0F0710
muted
#7E7A7F

Preview Lab

Preview with #702F8C

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

Preview Lab → · Contrast checker → · Palette generator →

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