#702286#702286

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

Color values

HEX#702286
RGBrgb(112, 34, 134)
HSLhsl(287, 60%, 33%)
HSVhsv(287, 75%, 53%)
CMYKcmyk(16.4%, 74.6%, 0%, 47.5%)
CIE-LABlab(30.18, 48.64, -39.76)
CIE-LCHlch(30.18, 62.82, 320.74°)
OKLaboklab(41.96% 0.1229 -0.1117)
OKLCHoklch(41.96% 0.166 317.7)
XYZxyz(11.5566, 6.3105, 23.1589)
Luminance0.0631 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702286 #388622
analogous
#3E2286 #702286 #86226A
triadic
#702286 #867022 #228670
tetradic
#702286 #863E22 #388622 #226A86
square
#702286 #863E22 #388622 #226A86
split-complementary
#702286 #6A8622 #22863E
monochromatic
#1E0924 #471655 #702286 #992EB7 #B650D3

Accessibility & contrast

On white

9.28
#702286 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#702286 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702286
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702286#FFFFFF#000000##FFFFFF
##7022861.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004289
Deuteranopia (green-blind)
#254984
Tritanopia (blue-blind)
#6F3652
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #702286;
/* rgb */ color: rgb(112, 34, 134);
/* oklch */ color: oklch(42.0% 0.166 317.7);
Tailwind
colors: {
  custom: {
    50: '#9c65aa',
    500: '#702286',
    950: '#000000',
  },
}
SCSS
$custom: #702286;
$custom-light: #9c65aa;
$custom-dark: #000000;
JSON
{
  "hex": "#702286",
  "rgb": {
    "r": 112,
    "g": 34,
    "b": 134
  },
  "hsl": {
    "h": 286.8,
    "s": 59.524,
    "l": 32.941
  },
  "oklch": {
    "l": 0.41958,
    "c": 0.16609,
    "h": 317.7
  },
  "luminance": 0.0631
}

Semantic roles & 50–950 ramp

primary
#702286
secondary
#65B64E
accent
#E34568
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F0610
muted
#7E7A7F

Preview Lab

Preview with #702286

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

Preview Lab → · Contrast checker → · Palette generator →

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