#702181#702181

#702181 is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.5% C 0.163 H 319.9°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#702181
RGBrgb(112, 33, 129)
HSLhsl(289, 59%, 32%)
HSVhsv(289, 74%, 51%)
CMYKcmyk(13.2%, 74.4%, 0%, 49.4%)
CIE-LABlab(29.71, 48.02, -37.40)
CIE-LCHlch(29.71, 60.87, 322.09°)
OKLaboklab(41.51% 0.1244 -0.1048)
OKLCHoklch(41.51% 0.163 319.9)
XYZxyz(11.1879, 6.1180, 21.3562)
Luminance0.0612 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702181 #328121
analogous
#402181 #702181 #812162
triadic
#702181 #817021 #218170
tetradic
#702181 #814021 #328121 #216281
square
#702181 #814021 #328121 #216281
split-complementary
#702181 #628121 #218140
monochromatic
#1B0820 #461550 #702181 #9A2DB2 #B94BD1

Accessibility & contrast

On white

9.44
#702181 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#702181 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702181
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702181#FFFFFF#000000##FFFFFF
##7021811.009.442.229.44
#FFFFFF9.441.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004184
Deuteranopia (green-blind)
#29497F
Tritanopia (blue-blind)
#70344F
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #702181;
/* rgb */ color: rgb(112, 33, 129);
/* oklch */ color: oklch(41.5% 0.163 319.9);
Tailwind
colors: {
  custom: {
    50: '#9c65a6',
    500: '#702181',
    950: '#000000',
  },
}
SCSS
$custom: #702181;
$custom-light: #9c65a6;
$custom-dark: #000000;
JSON
{
  "hex": "#702181",
  "rgb": {
    "r": 112,
    "g": 33,
    "b": 129
  },
  "hsl": {
    "h": 289.375,
    "s": 59.259,
    "l": 31.765
  },
  "oklch": {
    "l": 0.41513,
    "c": 0.16265,
    "h": 319.9
  },
  "luminance": 0.06117
}

Semantic roles & 50–950 ramp

primary
#702181
secondary
#5DB44A
accent
#E24561
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F060F
muted
#7E7A7F

Preview Lab

Preview with #702181

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

Preview Lab → · Contrast checker → · Palette generator →

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