#702187#702187

#702187 is a dark, vivid purple. Relative luminance 0.063; OKLCH L 41.9% C 0.168 H 317.4°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#702187
RGBrgb(112, 33, 135)
HSLhsl(286, 61%, 33%)
HSVhsv(286, 76%, 53%)
CMYKcmyk(17%, 75.6%, 0%, 47.1%)
CIE-LABlab(30.11, 49.24, -40.49)
CIE-LCHlch(30.11, 63.75, 320.57°)
OKLaboklab(41.93% 0.1238 -0.1139)
OKLCHoklch(41.93% 0.168 317.4)
XYZxyz(11.5985, 6.2822, 23.5186)
Luminance0.0628 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702187 #388721
analogous
#3D2187 #702187 #87216B
triadic
#702187 #877021 #218770
tetradic
#702187 #873D21 #388721 #216B87
square
#702187 #873D21 #388721 #216B87
split-complementary
#702187 #6B8721 #21873D
monochromatic
#1E0925 #471556 #702187 #992DB8 #B64FD4

Accessibility & contrast

On white

9.31
#702187 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#702187 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702187
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702187#FFFFFF#000000##FFFFFF
##7021871.009.312.269.31
#FFFFFF9.311.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428A
Deuteranopia (green-blind)
#244985
Tritanopia (blue-blind)
#6F3652
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #702187;
/* rgb */ color: rgb(112, 33, 135);
/* oklch */ color: oklch(41.9% 0.168 317.4);
Tailwind
colors: {
  custom: {
    50: '#9d65aa',
    500: '#702187',
    950: '#000000',
  },
}
SCSS
$custom: #702187;
$custom-light: #9d65aa;
$custom-dark: #000000;
JSON
{
  "hex": "#702187",
  "rgb": {
    "r": 112,
    "g": 33,
    "b": 135
  },
  "hsl": {
    "h": 286.471,
    "s": 60.714,
    "l": 32.941
  },
  "oklch": {
    "l": 0.41931,
    "c": 0.16821,
    "h": 317.4
  },
  "luminance": 0.06282
}

Semantic roles & 50–950 ramp

primary
#702187
secondary
#65B74D
accent
#E44468
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F0610
muted
#7E7A7F

Preview Lab

Preview with #702187

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

Preview Lab → · Contrast checker → · Palette generator →

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