#702168#702168

#702168 is a dark, vivid purple. Relative luminance 0.055; OKLCH L 39.9% C 0.141 H 332.2°. Best body text is #FFFFFF at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#702168
RGBrgb(112, 33, 104)
HSLhsl(306, 54%, 28%)
HSVhsv(306, 71%, 44%)
CMYKcmyk(0%, 70.5%, 7.1%, 56.1%)
CIE-LABlab(28.20, 43.33, -23.89)
CIE-LCHlch(28.20, 49.48, 331.13°)
OKLaboklab(39.95% 0.1243 -0.0655)
OKLCHoklch(39.95% 0.141 332.2)
XYZxyz(9.7247, 5.5327, 13.6498)
Luminance0.0553 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702168 #217029
analogous
#502170 #702168 #702140
triadic
#702168 #687021 #216870
tetradic
#702168 #705021 #217029 #214070
square
#702168 #705021 #217029 #214070
split-complementary
#702168 #407021 #217050
monochromatic
#180716 #41133C #702168 #9F2F94 #C844BA

Accessibility & contrast

On white

9.97
#702168 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#702168 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702168
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702168#FFFFFF#000000##FFFFFF
##7021681.009.972.119.97
#FFFFFF9.971.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D3B6A
Deuteranopia (green-blind)
#394766
Tritanopia (blue-blind)
#752941
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #702168;
/* rgb */ color: rgb(112, 33, 104);
/* oklch */ color: oklch(39.9% 0.141 332.2);
Tailwind
colors: {
  custom: {
    50: '#9c6493',
    500: '#702168',
    950: '#000000',
  },
}
SCSS
$custom: #702168;
$custom-light: #9c6493;
$custom-dark: #000000;
JSON
{
  "hex": "#702168",
  "rgb": {
    "r": 112,
    "g": 33,
    "b": 104
  },
  "hsl": {
    "h": 306.076,
    "s": 54.483,
    "l": 28.431
  },
  "oklch": {
    "l": 0.39945,
    "c": 0.14052,
    "h": 332.2
  },
  "luminance": 0.05532
}

Semantic roles & 50–950 ramp

primary
#702168
secondary
#49A452
accent
#DE594A
background
#F9F6F9
surface
#F2EBF1
border
#CCC6CB
text
#0E060D
muted
#7E7A7E

Preview Lab

Preview with #702168

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

Preview Lab → · Contrast checker → · Palette generator →

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