#702D8B#702D8B

#702D8B is a dark, vivid purple. Relative luminance 0.072; OKLCH L 43.5% C 0.157 H 314.7°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#702D8B
RGBrgb(112, 45, 139)
HSLhsl(283, 51%, 36%)
HSVhsv(283, 68%, 55%)
CMYKcmyk(19.4%, 67.6%, 0%, 45.5%)
CIE-LABlab(32.23, 44.89, -39.58)
CIE-LCHlch(32.23, 59.85, 318.60°)
OKLaboklab(43.53% 0.1102 -0.1113)
OKLCHoklch(43.53% 0.157 314.7)
XYZxyz(12.2799, 7.1860, 25.1613)
Luminance0.0719 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702D8B #488B2D
analogous
#412D8B #702D8B #8B2D77
triadic
#702D8B #8B702D #2D8B70
tetradic
#702D8B #8B412D #488B2D #2D778B
square
#702D8B #8B412D #488B2D #2D778B
split-complementary
#702D8B #778B2D #2D8B41
monochromatic
#250F2F #4B1E5D #702D8B #953CB9 #AF65CD

Accessibility & contrast

On white

8.62
#702D8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#702D8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702D8B
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702D8B#FFFFFF#000000##FFFFFF
##702D8B1.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00488E
Deuteranopia (green-blind)
#2A4E89
Tritanopia (blue-blind)
#6E3F58
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #702d8b;
/* rgb */ color: rgb(112, 45, 139);
/* oklch */ color: oklch(43.5% 0.157 314.7);
Tailwind
colors: {
  custom: {
    50: '#9c6bad',
    500: '#702d8b',
    950: '#000000',
  },
}
SCSS
$custom: #702d8b;
$custom-light: #9c6bad;
$custom-dark: #000000;
JSON
{
  "hex": "#702d8b",
  "rgb": {
    "r": 112,
    "g": 45,
    "b": 139
  },
  "hsl": {
    "h": 282.766,
    "s": 51.087,
    "l": 36.078
  },
  "oklch": {
    "l": 0.43528,
    "c": 0.15658,
    "h": 314.7
  },
  "luminance": 0.07186
}

Semantic roles & 50–950 ramp

primary
#702D8B
secondary
#78B460
accent
#DB4D76
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F0710
muted
#7E7A7F

Preview Lab

Preview with #702D8B

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

Preview Lab → · Contrast checker → · Palette generator →

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