#702E95#702E95

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

Color values

HEX#702E95
RGBrgb(112, 46, 149)
HSLhsl(278, 53%, 38%)
HSVhsv(278, 69%, 58%)
CMYKcmyk(24.8%, 69.1%, 0%, 41.6%)
CIE-LABlab(33.07, 46.66, -44.37)
CIE-LCHlch(33.07, 64.39, 316.44°)
OKLaboklab(44.35% 0.1083 -0.1253)
OKLCHoklch(44.35% 0.166 310.8)
XYZxyz(13.0829, 7.5690, 29.1997)
Luminance0.0757 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702E95 #53952E
analogous
#3C2E95 #702E95 #952E86
triadic
#702E95 #95702E #2E9570
tetradic
#702E95 #953C2E #53952E #2E8695
square
#702E95 #953C2E #53952E #2E8695
split-complementary
#702E95 #86952E #2E953C
monochromatic
#2A1137 #4D2066 #702E95 #933DC3 #AD6CD2

Accessibility & contrast

On white

8.35
#702E95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #702E95
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702E95#FFFFFF#000000##FFFFFF
##702E951.008.352.518.35
#FFFFFF8.351.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B98
Deuteranopia (green-blind)
#204F93
Tritanopia (blue-blind)
#6B445E
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #702e95;
/* rgb */ color: rgb(112, 46, 149);
/* oklch */ color: oklch(44.3% 0.166 310.8);
Tailwind
colors: {
  custom: {
    50: '#9d6cb5',
    500: '#702e95',
    950: '#000000',
  },
}
SCSS
$custom: #702e95;
$custom-light: #9d6cb5;
$custom-dark: #000000;
JSON
{
  "hex": "#702e95",
  "rgb": {
    "r": 112,
    "g": 46,
    "b": 149
  },
  "hsl": {
    "h": 278.447,
    "s": 52.821,
    "l": 38.235
  },
  "oklch": {
    "l": 0.44347,
    "c": 0.16561,
    "h": 310.8
  },
  "luminance": 0.07569
}

Semantic roles & 50–950 ramp

primary
#702E95
secondary
#84B966
accent
#DC4C80
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0F0711
muted
#7E7A80

Preview Lab

Preview with #702E95

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

Preview Lab → · Contrast checker → · Palette generator →

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