#702F8A#702F8A

#702F8A is a dark, vivid purple. Relative luminance 0.073; OKLCH L 43.7% C 0.153 H 314.9°. Best body text is #FFFFFF at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#702F8A
RGBrgb(112, 47, 138)
HSLhsl(283, 49%, 36%)
HSVhsv(283, 66%, 54%)
CMYKcmyk(18.8%, 65.9%, 0%, 45.9%)
CIE-LABlab(32.51, 43.71, -38.51)
CIE-LCHlch(32.51, 58.26, 318.62°)
OKLaboklab(43.71% 0.1078 -0.1082)
OKLCHoklch(43.71% 0.153 314.9)
XYZxyz(12.2853, 7.3132, 24.8043)
Luminance0.0731 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702F8A #498A2F
analogous
#432F8A #702F8A #8A2F77
triadic
#702F8A #8A702F #2F8A70
tetradic
#702F8A #8A432F #498A2F #2F778A
square
#702F8A #8A432F #498A2F #2F778A
split-complementary
#702F8A #778A2F #2F8A43
monochromatic
#26102F #4B1F5C #702F8A #953FB8 #AF68CC

Accessibility & contrast

On white

8.53
#702F8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #702F8A
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702F8A#FFFFFF#000000##FFFFFF
##702F8A1.008.532.468.53
#FFFFFF8.531.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#08498D
Deuteranopia (green-blind)
#2D4E88
Tritanopia (blue-blind)
#6E4058
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #702f8a;
/* rgb */ color: rgb(112, 47, 138);
/* oklch */ color: oklch(43.7% 0.153 314.9);
Tailwind
colors: {
  custom: {
    50: '#9c6cad',
    500: '#702f8a',
    950: '#000000',
  },
}
SCSS
$custom: #702f8a;
$custom-light: #9c6cad;
$custom-dark: #000000;
JSON
{
  "hex": "#702f8a",
  "rgb": {
    "r": 112,
    "g": 47,
    "b": 138
  },
  "hsl": {
    "h": 282.857,
    "s": 49.189,
    "l": 36.275
  },
  "oklch": {
    "l": 0.43711,
    "c": 0.15267,
    "h": 314.9
  },
  "luminance": 0.07313
}

Semantic roles & 50–950 ramp

primary
#702F8A
secondary
#79B362
accent
#D94F76
background
#F9F6FA
surface
#F2ECF4
border
#CCC7CE
text
#0E0710
muted
#7E7A7F

Preview Lab

Preview with #702F8A

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

Preview Lab → · Contrast checker → · Palette generator →

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