#702D7B#702D7B

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

Color values

HEX#702D7B
RGBrgb(112, 45, 123)
HSLhsl(292, 46%, 33%)
HSVhsv(292, 63%, 48%)
CMYKcmyk(8.9%, 63.4%, 0%, 51.8%)
CIE-LABlab(31.24, 41.49, -31.19)
CIE-LCHlch(31.24, 51.91, 323.06°)
OKLaboklab(42.49% 0.1102 -0.0868)
OKLCHoklch(42.49% 0.14 321.8)
XYZxyz(11.1952, 6.7521, 19.4486)
Luminance0.0675 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702D7B #387B2D
analogous
#492D7B #702D7B #7B2D5F
triadic
#702D7B #7B702D #2D7B70
tetradic
#702D7B #7B492D #387B2D #2D5F7B
square
#702D7B #7B492D #387B2D #2D5F7B
split-complementary
#702D7B #5F7B2D #2D7B49
monochromatic
#1E0C21 #471D4E #702D7B #993DA8 #B65EC4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##702D7B#FFFFFF#000000##FFFFFF
##702D7B1.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)
#1C457D
Deuteranopia (green-blind)
#364C79
Tritanopia (blue-blind)
#71394F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #702d7b;
/* rgb */ color: rgb(112, 45, 123);
/* oklch */ color: oklch(42.5% 0.140 321.8);
Tailwind
colors: {
  custom: {
    50: '#9b6ba1',
    500: '#702d7b',
    950: '#000000',
  },
}
SCSS
$custom: #702d7b;
$custom-light: #9b6ba1;
$custom-dark: #000000;
JSON
{
  "hex": "#702d7b",
  "rgb": {
    "r": 112,
    "g": 45,
    "b": 123
  },
  "hsl": {
    "h": 291.538,
    "s": 46.429,
    "l": 32.941
  },
  "oklch": {
    "l": 0.42492,
    "c": 0.1403,
    "h": 321.8
  },
  "luminance": 0.06752
}

Semantic roles & 50–950 ramp

primary
#702D7B
secondary
#65AB59
accent
#D65264
background
#F9F6FA
surface
#F2EBF3
border
#CCC6CD
text
#0E070F
muted
#7E7A7F

Preview Lab

Preview with #702D7B

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

Preview Lab → · Contrast checker → · Palette generator →

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