#702287#702287

#702287 is a dark, vivid purple. Relative luminance 0.063; OKLCH L 42.0% C 0.167 H 317.3°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#702287
RGBrgb(112, 34, 135)
HSLhsl(286, 60%, 33%)
HSVhsv(286, 75%, 53%)
CMYKcmyk(17%, 74.8%, 0%, 47.1%)
CIE-LABlab(30.25, 48.85, -40.27)
CIE-LCHlch(30.25, 63.31, 320.50°)
OKLaboklab(42.03% 0.1228 -0.1132)
OKLCHoklch(42.03% 0.167 317.3)
XYZxyz(11.6267, 6.3386, 23.5280)
Luminance0.0634 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702287 #398722
analogous
#3E2287 #702287 #87226B
triadic
#702287 #877022 #228770
tetradic
#702287 #873E22 #398722 #226B87
square
#702287 #873E22 #398722 #226B87
split-complementary
#702287 #6B8722 #22873E
monochromatic
#1F0925 #471656 #702287 #992EB8 #B550D3

Accessibility & contrast

On white

9.26
#702287 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#702287 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702287
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702287#FFFFFF#000000##FFFFFF
##7022871.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428A
Deuteranopia (green-blind)
#244A85
Tritanopia (blue-blind)
#6F3753
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #702287;
/* rgb */ color: rgb(112, 34, 135);
/* oklch */ color: oklch(42.0% 0.167 317.3);
Tailwind
colors: {
  custom: {
    50: '#9d65aa',
    500: '#702287',
    950: '#000000',
  },
}
SCSS
$custom: #702287;
$custom-light: #9d65aa;
$custom-dark: #000000;
JSON
{
  "hex": "#702287",
  "rgb": {
    "r": 112,
    "g": 34,
    "b": 135
  },
  "hsl": {
    "h": 286.337,
    "s": 59.763,
    "l": 33.137
  },
  "oklch": {
    "l": 0.42029,
    "c": 0.16703,
    "h": 317.3
  },
  "luminance": 0.06338
}

Semantic roles & 50–950 ramp

primary
#702287
secondary
#66B74E
accent
#E34569
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F0610
muted
#7E7A7F

Preview Lab

Preview with #702287

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

Preview Lab → · Contrast checker → · Palette generator →

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