#702D92#702D92

#702D92 is a dark, vivid violet. Relative luminance 0.074; OKLCH L 44.0% C 0.164 H 312.0°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#702D92
RGBrgb(112, 45, 146)
HSLhsl(280, 53%, 37%)
HSVhsv(280, 69%, 57%)
CMYKcmyk(23.3%, 69.2%, 0%, 42.7%)
CIE-LABlab(32.69, 46.45, -43.14)
CIE-LCHlch(32.69, 63.39, 317.12°)
OKLaboklab(44.01% 0.1097 -0.1217)
OKLCHoklch(44.01% 0.164 312)
XYZxyz(12.8078, 7.3972, 27.9417)
Luminance0.0740 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702D92 #4F922D
analogous
#3D2D92 #702D92 #922D82
triadic
#702D92 #92702D #2D9270
tetradic
#702D92 #923D2D #4F922D #2D8292
square
#702D92 #923D2D #4F922D #2D8292
split-complementary
#702D92 #82922D #2D923D
monochromatic
#281034 #4C1F63 #702D92 #943BC1 #AE69D1

Accessibility & contrast

On white

8.47
#702D92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#702D92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702D92
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702D92#FFFFFF#000000##FFFFFF
##702D921.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A95
Deuteranopia (green-blind)
#234E90
Tritanopia (blue-blind)
#6C425C
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #702d92;
/* rgb */ color: rgb(112, 45, 146);
/* oklch */ color: oklch(44.0% 0.164 312.0);
Tailwind
colors: {
  custom: {
    50: '#9c6bb3',
    500: '#702d92',
    950: '#000000',
  },
}
SCSS
$custom: #702d92;
$custom-light: #9c6bb3;
$custom-dark: #000000;
JSON
{
  "hex": "#702d92",
  "rgb": {
    "r": 112,
    "g": 45,
    "b": 146
  },
  "hsl": {
    "h": 279.802,
    "s": 52.88,
    "l": 37.451
  },
  "oklch": {
    "l": 0.44013,
    "c": 0.16384,
    "h": 312
  },
  "luminance": 0.07397
}

Semantic roles & 50–950 ramp

primary
#702D92
secondary
#80B763
accent
#DC4C7C
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0F0711
muted
#7E7A80

Preview Lab

Preview with #702D92

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

Preview Lab → · Contrast checker → · Palette generator →

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