#702F7C#702F7C

#702F7C is a dark, vivid purple. Relative luminance 0.069; OKLCH L 42.8% C 0.138 H 321.1°. Best body text is #FFFFFF at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#702F7C
RGBrgb(112, 47, 124)
HSLhsl(291, 45%, 34%)
HSVhsv(291, 62%, 49%)
CMYKcmyk(9.7%, 62.1%, 0%, 51.4%)
CIE-LABlab(31.66, 40.71, -31.16)
CIE-LCHlch(31.66, 51.26, 322.57°)
OKLaboklab(42.82% 0.1076 -0.0867)
OKLCHoklch(42.82% 0.138 321.1)
XYZxyz(11.3363, 6.9336, 19.8061)
Luminance0.0693 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702F7C #3B7C2F
analogous
#492F7C #702F7C #7C2F61
triadic
#702F7C #7C702F #2F7C70
tetradic
#702F7C #7C492F #3B7C2F #2F617C
square
#702F7C #7C492F #3B7C2F #2F617C
split-complementary
#702F7C #617C2F #2F7C49
monochromatic
#200D23 #481E50 #702F7C #9840A8 #B462C3

Accessibility & contrast

On white

8.80
#702F7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#702F7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702F7C
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702F7C#FFFFFF#000000##FFFFFF
##702F7C1.008.802.398.80
#FFFFFF8.801.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E467E
Deuteranopia (green-blind)
#374D7A
Tritanopia (blue-blind)
#713B51
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #702f7c;
/* rgb */ color: rgb(112, 47, 124);
/* oklch */ color: oklch(42.8% 0.138 321.1);
Tailwind
colors: {
  custom: {
    50: '#9b6ca2',
    500: '#702f7c',
    950: '#000000',
  },
}
SCSS
$custom: #702f7c;
$custom-light: #9b6ca2;
$custom-dark: #000000;
JSON
{
  "hex": "#702f7c",
  "rgb": {
    "r": 112,
    "g": 47,
    "b": 124
  },
  "hsl": {
    "h": 290.649,
    "s": 45.029,
    "l": 33.529
  },
  "oklch": {
    "l": 0.42816,
    "c": 0.13818,
    "h": 321.1
  },
  "luminance": 0.06933
}

Semantic roles & 50–950 ramp

primary
#702F7C
secondary
#69AA5C
accent
#D55367
background
#F9F6FA
surface
#F2EBF3
border
#CCC6CD
text
#0E070F
muted
#7E7A7F

Preview Lab

Preview with #702F7C

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

Preview Lab → · Contrast checker → · Palette generator →

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