#702F94#702F94

#702F94 is a dark, vivid violet. Relative luminance 0.076; OKLCH L 44.4% C 0.163 H 311.1°. Best body text is #FFFFFF at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#702F94
RGBrgb(112, 47, 148)
HSLhsl(279, 52%, 38%)
HSVhsv(279, 68%, 58%)
CMYKcmyk(24.3%, 68.2%, 0%, 42%)
CIE-LABlab(33.17, 45.96, -43.60)
CIE-LCHlch(33.17, 63.35, 316.51°)
OKLaboklab(44.4% 0.1072 -0.1231)
OKLCHoklch(44.4% 0.163 311.1)
XYZxyz(13.0429, 7.6162, 28.7942)
Luminance0.0762 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702F94 #53942F
analogous
#3D2F94 #702F94 #942F85
triadic
#702F94 #94702F #2F9470
tetradic
#702F94 #943D2F #53942F #2F8594
square
#702F94 #943D2F #53942F #2F8594
split-complementary
#702F94 #85942F #2F943D
monochromatic
#2A1137 #4D2066 #702F94 #933EC2 #AD6DD1

Accessibility & contrast

On white

8.32
#702F94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#702F94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702F94
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702F94#FFFFFF#000000##FFFFFF
##702F941.008.322.528.32
#FFFFFF8.321.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B97
Deuteranopia (green-blind)
#234F92
Tritanopia (blue-blind)
#6B445D
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #702f94;
/* rgb */ color: rgb(112, 47, 148);
/* oklch */ color: oklch(44.4% 0.163 311.1);
Tailwind
colors: {
  custom: {
    50: '#9c6db4',
    500: '#702f94',
    950: '#000000',
  },
}
SCSS
$custom: #702f94;
$custom-light: #9c6db4;
$custom-dark: #000000;
JSON
{
  "hex": "#702f94",
  "rgb": {
    "r": 112,
    "g": 47,
    "b": 148
  },
  "hsl": {
    "h": 278.614,
    "s": 51.795,
    "l": 38.235
  },
  "oklch": {
    "l": 0.44398,
    "c": 0.1632,
    "h": 311.1
  },
  "luminance": 0.07616
}

Semantic roles & 50–950 ramp

primary
#702F94
secondary
#84B867
accent
#DB4D7F
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0F0711
muted
#7E7A80

Preview Lab

Preview with #702F94

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

Preview Lab → · Contrast checker → · Palette generator →

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