#702E91#702E91

#702E91 is a dark, vivid purple. Relative luminance 0.074; OKLCH L 44.1% C 0.161 H 312.3°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#702E91
RGBrgb(112, 46, 145)
HSLhsl(280, 52%, 37%)
HSVhsv(280, 68%, 57%)
CMYKcmyk(22.8%, 68.3%, 0%, 43.1%)
CIE-LABlab(32.80, 45.75, -42.36)
CIE-LCHlch(32.80, 62.35, 317.20°)
OKLaboklab(44.06% 0.1086 -0.1194)
OKLCHoklch(44.06% 0.161 312.3)
XYZxyz(12.7690, 7.4434, 27.5467)
Luminance0.0744 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702E91 #4F912E
analogous
#3F2E91 #702E91 #912E80
triadic
#702E91 #91702E #2E9170
tetradic
#702E91 #913F2E #4F912E #2E8091
square
#702E91 #913F2E #4F912E #2E8091
split-complementary
#702E91 #80912E #2E913F
monochromatic
#281134 #4C1F63 #702E91 #943DBF #AE6AD0

Accessibility & contrast

On white

8.44
#702E91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#702E91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702E91
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702E91#FFFFFF#000000##FFFFFF
##702E911.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A94
Deuteranopia (green-blind)
#254E8F
Tritanopia (blue-blind)
#6C425B
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #702e91;
/* rgb */ color: rgb(112, 46, 145);
/* oklch */ color: oklch(44.1% 0.161 312.3);
Tailwind
colors: {
  custom: {
    50: '#9c6cb2',
    500: '#702e91',
    950: '#000000',
  },
}
SCSS
$custom: #702e91;
$custom-light: #9c6cb2;
$custom-dark: #000000;
JSON
{
  "hex": "#702e91",
  "rgb": {
    "r": 112,
    "g": 46,
    "b": 145
  },
  "hsl": {
    "h": 280,
    "s": 51.832,
    "l": 37.451
  },
  "oklch": {
    "l": 0.44064,
    "c": 0.16142,
    "h": 312.3
  },
  "luminance": 0.07443
}

Semantic roles & 50–950 ramp

primary
#702E91
secondary
#80B764
accent
#DB4D7C
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0F0711
muted
#7E7A80

Preview Lab

Preview with #702E91

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

Preview Lab → · Contrast checker → · Palette generator →

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