#702288#702288

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

Color values

HEX#702288
RGBrgb(112, 34, 136)
HSLhsl(286, 60%, 33%)
HSVhsv(286, 75%, 53%)
CMYKcmyk(17.6%, 75%, 0%, 46.7%)
CIE-LABlab(30.32, 49.05, -40.78)
CIE-LCHlch(30.32, 63.79, 320.26°)
OKLaboklab(42.1% 0.1227 -0.1147)
OKLCHoklch(42.1% 0.168 316.9)
XYZxyz(11.6974, 6.3669, 23.9005)
Luminance0.0637 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702288 #3A8822
analogous
#3D2288 #702288 #88226D
triadic
#702288 #887022 #228870
tetradic
#702288 #883D22 #3A8822 #226D88
square
#702288 #883D22 #3A8822 #226D88
split-complementary
#702288 #6D8822 #22883D
monochromatic
#1F0A26 #481657 #702288 #982EB9 #B551D3

Accessibility & contrast

On white

9.24
#702288 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #702288
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702288#FFFFFF#000000##FFFFFF
##7022881.009.242.279.24
#FFFFFF9.241.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438B
Deuteranopia (green-blind)
#234A86
Tritanopia (blue-blind)
#6F3753
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #702288;
/* rgb */ color: rgb(112, 34, 136);
/* oklch */ color: oklch(42.1% 0.168 316.9);
Tailwind
colors: {
  custom: {
    50: '#9d65ab',
    500: '#702288',
    950: '#000000',
  },
}
SCSS
$custom: #702288;
$custom-light: #9d65ab;
$custom-dark: #000000;
JSON
{
  "hex": "#702288",
  "rgb": {
    "r": 112,
    "g": 34,
    "b": 136
  },
  "hsl": {
    "h": 285.882,
    "s": 60,
    "l": 33.333
  },
  "oklch": {
    "l": 0.42099,
    "c": 0.16797,
    "h": 316.9
  },
  "luminance": 0.06366
}

Semantic roles & 50–950 ramp

primary
#702288
secondary
#67B74F
accent
#E3456A
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F0610
muted
#7E7A7F

Preview Lab

Preview with #702288

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

Preview Lab → · Contrast checker → · Palette generator →

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