#702297#702297

#702297 is a dark, vivid purple. Relative luminance 0.068; OKLCH L 43.2% C 0.182 H 311.4°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#702297
RGBrgb(112, 34, 151)
HSLhsl(280, 63%, 36%)
HSVhsv(280, 77%, 59%)
CMYKcmyk(25.8%, 77.5%, 0%, 40.8%)
CIE-LABlab(31.40, 52.23, -48.29)
CIE-LCHlch(31.40, 71.13, 317.25°)
OKLaboklab(43.21% 0.1204 -0.1368)
OKLCHoklch(43.21% 0.182 311.4)
XYZxyz(12.8390, 6.8235, 29.9129)
Luminance0.0682 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702297 #499722
analogous
#362297 #702297 #972284
triadic
#702297 #977022 #229770
tetradic
#702297 #973622 #499722 #228497
square
#702297 #973622 #499722 #228497
split-complementary
#702297 #849722 #229736
monochromatic
#260C33 #4B1765 #702297 #952DC9 #AF5ADA

Accessibility & contrast

On white

8.88
#702297 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#702297 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702297
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702297#FFFFFF#000000##FFFFFF
##7022971.008.882.368.88
#FFFFFF8.881.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469A
Deuteranopia (green-blind)
#094B95
Tritanopia (blue-blind)
#6B3E5C
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #702297;
/* rgb */ color: rgb(112, 34, 151);
/* oklch */ color: oklch(43.2% 0.182 311.4);
Tailwind
colors: {
  custom: {
    50: '#9d66b6',
    500: '#702297',
    950: '#000000',
  },
}
SCSS
$custom: #702297;
$custom-light: #9d66b6;
$custom-dark: #000000;
JSON
{
  "hex": "#702297",
  "rgb": {
    "r": 112,
    "g": 34,
    "b": 151
  },
  "hsl": {
    "h": 280,
    "s": 63.243,
    "l": 36.275
  },
  "oklch": {
    "l": 0.43208,
    "c": 0.18219,
    "h": 311.4
  },
  "luminance": 0.06823
}

Semantic roles & 50–950 ramp

primary
#702297
secondary
#79BE57
accent
#E64278
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #702297

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

Preview Lab → · Contrast checker → · Palette generator →

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