#702387#702387

#702387 is a dark, vivid purple. Relative luminance 0.064; OKLCH L 42.1% C 0.166 H 317.2°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#702387
RGBrgb(112, 35, 135)
HSLhsl(286, 59%, 33%)
HSVhsv(286, 74%, 53%)
CMYKcmyk(17%, 74.1%, 0%, 47.1%)
CIE-LABlab(30.39, 48.45, -40.05)
CIE-LCHlch(30.39, 62.85, 320.42°)
OKLaboklab(42.13% 0.1218 -0.1126)
OKLCHoklch(42.13% 0.166 317.2)
XYZxyz(11.6557, 6.3966, 23.5377)
Luminance0.0640 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702387 #3A8723
analogous
#3E2387 #702387 #87236C
triadic
#702387 #877023 #238770
tetradic
#702387 #873E23 #3A8723 #236C87
square
#702387 #873E23 #3A8723 #236C87
split-complementary
#702387 #6C8723 #23873E
monochromatic
#1F0A26 #481656 #702387 #9830B8 #B552D2

Accessibility & contrast

On white

9.21
#702387 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#702387 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702387
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702387#FFFFFF#000000##FFFFFF
##7023871.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438A
Deuteranopia (green-blind)
#254A85
Tritanopia (blue-blind)
#6F3753
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #702387;
/* rgb */ color: rgb(112, 35, 135);
/* oklch */ color: oklch(42.1% 0.166 317.2);
Tailwind
colors: {
  custom: {
    50: '#9c66aa',
    500: '#702387',
    950: '#000000',
  },
}
SCSS
$custom: #702387;
$custom-light: #9c66aa;
$custom-dark: #000000;
JSON
{
  "hex": "#702387",
  "rgb": {
    "r": 112,
    "g": 35,
    "b": 135
  },
  "hsl": {
    "h": 286.2,
    "s": 58.824,
    "l": 33.333
  },
  "oklch": {
    "l": 0.42129,
    "c": 0.16582,
    "h": 317.2
  },
  "luminance": 0.06396
}

Semantic roles & 50–950 ramp

primary
#702387
secondary
#67B650
accent
#E2466A
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F0610
muted
#7E7A7F

Preview Lab

Preview with #702387

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

Preview Lab → · Contrast checker → · Palette generator →

#702387 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva