#702284#702284

#702284 is a dark, vivid purple. Relative luminance 0.063; OKLCH L 41.8% C 0.164 H 318.5°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#702284
RGBrgb(112, 34, 132)
HSLhsl(288, 59%, 33%)
HSVhsv(288, 74%, 52%)
CMYKcmyk(15.2%, 74.2%, 0%, 48.2%)
CIE-LABlab(30.05, 48.23, -38.73)
CIE-LCHlch(30.05, 61.86, 321.24°)
OKLaboklab(41.82% 0.1231 -0.1087)
OKLCHoklch(41.82% 0.164 318.5)
XYZxyz(11.4184, 6.2553, 22.4313)
Luminance0.0625 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702284 #368422
analogous
#3F2284 #702284 #842267
triadic
#702284 #847022 #228470
tetradic
#702284 #843F22 #368422 #226784
square
#702284 #843F22 #368422 #226784
split-complementary
#702284 #678422 #22843F
monochromatic
#1D0923 #471553 #702284 #992FB5 #B74FD2

Accessibility & contrast

On white

9.33
#702284 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#702284 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702284
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702284#FFFFFF#000000##FFFFFF
##7022841.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004287
Deuteranopia (green-blind)
#274982
Tritanopia (blue-blind)
#703651
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #702284;
/* rgb */ color: rgb(112, 34, 132);
/* oklch */ color: oklch(41.8% 0.164 318.5);
Tailwind
colors: {
  custom: {
    50: '#9c65a8',
    500: '#702284',
    950: '#000000',
  },
}
SCSS
$custom: #702284;
$custom-light: #9c65a8;
$custom-dark: #000000;
JSON
{
  "hex": "#702284",
  "rgb": {
    "r": 112,
    "g": 34,
    "b": 132
  },
  "hsl": {
    "h": 287.755,
    "s": 59.036,
    "l": 32.549
  },
  "oklch": {
    "l": 0.41819,
    "c": 0.16422,
    "h": 318.5
  },
  "luminance": 0.06255
}

Semantic roles & 50–950 ramp

primary
#702284
secondary
#62B54D
accent
#E24666
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F0610
muted
#7E7A7F

Preview Lab

Preview with #702284

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

Preview Lab → · Contrast checker → · Palette generator →

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