#702E8B#702E8B

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

Color values

HEX#702E8B
RGBrgb(112, 46, 139)
HSLhsl(283, 50%, 36%)
HSVhsv(283, 67%, 55%)
CMYKcmyk(19.4%, 66.9%, 0%, 45.5%)
CIE-LABlab(32.40, 44.42, -39.31)
CIE-LCHlch(32.40, 59.31, 318.49°)
OKLaboklab(43.65% 0.109 -0.1105)
OKLCHoklch(43.65% 0.155 314.6)
XYZxyz(12.3185, 7.2632, 25.1741)
Luminance0.0726 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702E8B #498B2E
analogous
#422E8B #702E8B #8B2E78
triadic
#702E8B #8B702E #2E8B70
tetradic
#702E8B #8B422E #498B2E #2E788B
square
#702E8B #8B422E #498B2E #2E788B
split-complementary
#702E8B #788B2E #2E8B42
monochromatic
#26102F #4B1F5D #702E8B #953DB9 #AF67CD

Accessibility & contrast

On white

8.56
#702E8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #702E8B
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702E8B#FFFFFF#000000##FFFFFF
##702E8B1.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#02488E
Deuteranopia (green-blind)
#2B4E89
Tritanopia (blue-blind)
#6E4058
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #702e8b;
/* rgb */ color: rgb(112, 46, 139);
/* oklch */ color: oklch(43.7% 0.155 314.6);
Tailwind
colors: {
  custom: {
    50: '#9c6cad',
    500: '#702e8b',
    950: '#000000',
  },
}
SCSS
$custom: #702e8b;
$custom-light: #9c6cad;
$custom-dark: #000000;
JSON
{
  "hex": "#702e8b",
  "rgb": {
    "r": 112,
    "g": 46,
    "b": 139
  },
  "hsl": {
    "h": 282.581,
    "s": 50.27,
    "l": 36.275
  },
  "oklch": {
    "l": 0.43651,
    "c": 0.15516,
    "h": 314.6
  },
  "luminance": 0.07263
}

Semantic roles & 50–950 ramp

primary
#702E8B
secondary
#79B361
accent
#DA4E77
background
#F9F6FA
surface
#F2ECF4
border
#CCC7CE
text
#0F0710
muted
#7E7A7F

Preview Lab

Preview with #702E8B

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

Preview Lab → · Contrast checker → · Palette generator →

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