#702E9A#702E9A

#702E9A is a dark, vivid violet. Relative luminance 0.077; OKLCH L 44.7% C 0.171 H 309.1°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#702E9A
RGBrgb(112, 46, 154)
HSLhsl(277, 54%, 39%)
HSVhsv(277, 70%, 60%)
CMYKcmyk(27.3%, 70.1%, 0%, 39.6%)
CIE-LABlab(33.42, 47.81, -46.86)
CIE-LCHlch(33.42, 66.94, 315.57°)
OKLaboklab(44.71% 0.1077 -0.1326)
OKLCHoklch(44.71% 0.171 309.1)
XYZxyz(13.4907, 7.7321, 31.3473)
Luminance0.0773 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702E9A #589A2E
analogous
#3A2E9A #702E9A #9A2E8E
triadic
#702E9A #9A702E #2E9A70
tetradic
#702E9A #9A3A2E #589A2E #2E8E9A
square
#702E9A #9A3A2E #589A2E #2E8E9A
split-complementary
#702E9A #8E9A2E #2E9A3A
monochromatic
#2B123C #4E206B #702E9A #923FC6 #AC6FD4

Accessibility & contrast

On white

8.25
#702E9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#702E9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702E9A
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702E9A#FFFFFF#000000##FFFFFF
##702E9A1.008.252.558.25
#FFFFFF8.251.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9D
Deuteranopia (green-blind)
#184F98
Tritanopia (blue-blind)
#6A4660
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #702e9a;
/* rgb */ color: rgb(112, 46, 154);
/* oklch */ color: oklch(44.7% 0.171 309.1);
Tailwind
colors: {
  custom: {
    50: '#9d6cb8',
    500: '#702e9a',
    950: '#000000',
  },
}
SCSS
$custom: #702e9a;
$custom-light: #9d6cb8;
$custom-dark: #000000;
JSON
{
  "hex": "#702e9a",
  "rgb": {
    "r": 112,
    "g": 46,
    "b": 154
  },
  "hsl": {
    "h": 276.667,
    "s": 54,
    "l": 39.216
  },
  "oklch": {
    "l": 0.44708,
    "c": 0.17086,
    "h": 309.1
  },
  "luminance": 0.07732
}

Semantic roles & 50–950 ramp

primary
#702E9A
secondary
#89BB69
accent
#DD4A84
background
#FAF6FB
surface
#F3ECF6
border
#CDC7D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #702E9A

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

Preview Lab → · Contrast checker → · Palette generator →

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