#702282#702282

#702282 is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.7% C 0.162 H 319.4°. Best body text is #FFFFFF at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#702282
RGBrgb(112, 34, 130)
HSLhsl(289, 59%, 32%)
HSVhsv(289, 74%, 51%)
CMYKcmyk(13.8%, 73.8%, 0%, 49%)
CIE-LABlab(29.91, 47.83, -37.69)
CIE-LCHlch(29.91, 60.89, 321.76°)
OKLaboklab(41.68% 0.1233 -0.1057)
OKLCHoklch(41.68% 0.162 319.4)
XYZxyz(11.2829, 6.2011, 21.7174)
Luminance0.0620 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702282 #348222
analogous
#402282 #702282 #822264
triadic
#702282 #827022 #228270
tetradic
#702282 #824022 #348222 #226482
square
#702282 #824022 #348222 #226482
split-complementary
#702282 #648222 #228240
monochromatic
#1C0921 #461551 #702282 #9A2FB3 #B84ED1

Accessibility & contrast

On white

9.37
#702282 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#702282 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702282
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702282#FFFFFF#000000##FFFFFF
##7022821.009.372.249.37
#FFFFFF9.371.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004185
Deuteranopia (green-blind)
#294980
Tritanopia (blue-blind)
#703550
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #702282;
/* rgb */ color: rgb(112, 34, 130);
/* oklch */ color: oklch(41.7% 0.162 319.4);
Tailwind
colors: {
  custom: {
    50: '#9c65a7',
    500: '#702282',
    950: '#000000',
  },
}
SCSS
$custom: #702282;
$custom-light: #9c65a7;
$custom-dark: #000000;
JSON
{
  "hex": "#702282",
  "rgb": {
    "r": 112,
    "g": 34,
    "b": 130
  },
  "hsl": {
    "h": 288.75,
    "s": 58.537,
    "l": 32.157
  },
  "oklch": {
    "l": 0.41681,
    "c": 0.16236,
    "h": 319.4
  },
  "luminance": 0.06201
}

Semantic roles & 50–950 ramp

primary
#702282
secondary
#5FB44C
accent
#E24663
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F060F
muted
#7E7A7F

Preview Lab

Preview with #702282

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

Preview Lab → · Contrast checker → · Palette generator →

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