#702F92#702F92

#702F92 is a dark, vivid violet. Relative luminance 0.076; OKLCH L 44.3% C 0.161 H 311.8°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#702F92
RGBrgb(112, 47, 146)
HSLhsl(279, 51%, 38%)
HSVhsv(279, 68%, 57%)
CMYKcmyk(23.3%, 67.8%, 0%, 42.7%)
CIE-LABlab(33.03, 45.50, -42.59)
CIE-LCHlch(33.03, 62.33, 316.89°)
OKLaboklab(44.26% 0.1073 -0.1201)
OKLCHoklch(44.26% 0.161 311.8)
XYZxyz(12.8860, 7.5534, 27.9677)
Luminance0.0755 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702F92 #51922F
analogous
#3F2F92 #702F92 #922F82
triadic
#702F92 #92702F #2F9270
tetradic
#702F92 #923F2F #51922F #2F8292
square
#702F92 #923F2F #51922F #2F8292
split-complementary
#702F92 #82922F #2F923F
monochromatic
#291135 #4C2064 #702F92 #943EC0 #AD6CD0

Accessibility & contrast

On white

8.36
#702F92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#702F92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702F92
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702F92#FFFFFF#000000##FFFFFF
##702F921.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B95
Deuteranopia (green-blind)
#254F90
Tritanopia (blue-blind)
#6C435C
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #702f92;
/* rgb */ color: rgb(112, 47, 146);
/* oklch */ color: oklch(44.3% 0.161 311.8);
Tailwind
colors: {
  custom: {
    50: '#9c6cb2',
    500: '#702f92',
    950: '#000000',
  },
}
SCSS
$custom: #702f92;
$custom-light: #9c6cb2;
$custom-dark: #000000;
JSON
{
  "hex": "#702f92",
  "rgb": {
    "r": 112,
    "g": 47,
    "b": 146
  },
  "hsl": {
    "h": 279.394,
    "s": 51.295,
    "l": 37.843
  },
  "oklch": {
    "l": 0.44257,
    "c": 0.16109,
    "h": 311.8
  },
  "luminance": 0.07553
}

Semantic roles & 50–950 ramp

primary
#702F92
secondary
#82B766
accent
#DB4D7E
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0F0711
muted
#7E7A80

Preview Lab

Preview with #702F92

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

Preview Lab → · Contrast checker → · Palette generator →

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