#702C8E#702C8E

#702C8E is a dark, vivid purple. Relative luminance 0.072; OKLCH L 43.6% C 0.161 H 313.6°. Best body text is #FFFFFF at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#702C8E
RGBrgb(112, 44, 142)
HSLhsl(282, 53%, 36%)
HSVhsv(282, 69%, 56%)
CMYKcmyk(21.1%, 69%, 0%, 44.3%)
CIE-LABlab(32.26, 46.02, -41.38)
CIE-LCHlch(32.26, 61.89, 318.04°)
OKLaboklab(43.61% 0.1112 -0.1166)
OKLCHoklch(43.61% 0.161 313.6)
XYZxyz(12.4644, 7.1995, 26.3190)
Luminance0.0720 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702C8E #4A8E2C
analogous
#3F2C8E #702C8E #8E2C7B
triadic
#702C8E #8E702C #2C8E70
tetradic
#702C8E #8E3F2C #4A8E2C #2C7B8E
square
#702C8E #8E3F2C #4A8E2C #2C7B8E
split-complementary
#702C8E #7B8E2C #2C8E3F
monochromatic
#260F31 #4B1E5F #702C8E #953ABD #AF65CF

Accessibility & contrast

On white

8.61
#702C8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#702C8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702C8E
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702C8E#FFFFFF#000000##FFFFFF
##702C8E1.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004891
Deuteranopia (green-blind)
#264D8C
Tritanopia (blue-blind)
#6D4059
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #702c8e;
/* rgb */ color: rgb(112, 44, 142);
/* oklch */ color: oklch(43.6% 0.161 313.6);
Tailwind
colors: {
  custom: {
    50: '#9c6bb0',
    500: '#702c8e',
    950: '#000000',
  },
}
SCSS
$custom: #702c8e;
$custom-light: #9c6bb0;
$custom-dark: #000000;
JSON
{
  "hex": "#702c8e",
  "rgb": {
    "r": 112,
    "g": 44,
    "b": 142
  },
  "hsl": {
    "h": 281.633,
    "s": 52.688,
    "l": 36.471
  },
  "oklch": {
    "l": 0.43613,
    "c": 0.16107,
    "h": 313.6
  },
  "luminance": 0.07199
}

Semantic roles & 50–950 ramp

primary
#702C8E
secondary
#7AB660
accent
#DC4C78
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0F0710
muted
#7E7A7F

Preview Lab

Preview with #702C8E

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

Preview Lab → · Contrast checker → · Palette generator →

#702C8E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva