#702C7E#702C7E

#702C7E is a dark, vivid purple. Relative luminance 0.068; OKLCH L 42.6% C 0.145 H 320.4°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#702C7E
RGBrgb(112, 44, 126)
HSLhsl(290, 48%, 33%)
HSVhsv(290, 65%, 49%)
CMYKcmyk(11.1%, 65.1%, 0%, 50.6%)
CIE-LABlab(31.24, 42.59, -33.07)
CIE-LCHlch(31.24, 53.93, 322.17°)
OKLaboklab(42.55% 0.1116 -0.0922)
OKLCHoklch(42.55% 0.145 320.4)
XYZxyz(11.3482, 6.7530, 20.4403)
Luminance0.0675 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702C7E #3A7E2C
analogous
#472C7E #702C7E #7E2C63
triadic
#702C7E #7E702C #2C7E70
tetradic
#702C7E #7E472C #3A7E2C #2C637E
square
#702C7E #7E472C #3A7E2C #2C637E
split-complementary
#702C7E #637E2C #2C7E47
monochromatic
#1F0C23 #481C51 #702C7E #983CAB #B55EC7

Accessibility & contrast

On white

8.93
#702C7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#702C7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702C7E
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702C7E#FFFFFF#000000##FFFFFF
##702C7E1.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#174580
Deuteranopia (green-blind)
#334C7C
Tritanopia (blue-blind)
#713951
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #702c7e;
/* rgb */ color: rgb(112, 44, 126);
/* oklch */ color: oklch(42.6% 0.145 320.4);
Tailwind
colors: {
  custom: {
    50: '#9c6aa4',
    500: '#702c7e',
    950: '#000000',
  },
}
SCSS
$custom: #702c7e;
$custom-light: #9c6aa4;
$custom-dark: #000000;
JSON
{
  "hex": "#702c7e",
  "rgb": {
    "r": 112,
    "g": 44,
    "b": 126
  },
  "hsl": {
    "h": 289.756,
    "s": 48.235,
    "l": 33.333
  },
  "oklch": {
    "l": 0.42551,
    "c": 0.14482,
    "h": 320.4
  },
  "luminance": 0.06752
}

Semantic roles & 50–950 ramp

primary
#702C7E
secondary
#67AD59
accent
#D85067
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E070F
muted
#7E7A7F

Preview Lab

Preview with #702C7E

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

Preview Lab → · Contrast checker → · Palette generator →

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