#702D9A#702D9A

#702D9A is a dark, vivid violet. Relative luminance 0.077; OKLCH L 44.6% C 0.172 H 309.2°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#702D9A
RGBrgb(112, 45, 154)
HSLhsl(277, 55%, 39%)
HSVhsv(277, 71%, 60%)
CMYKcmyk(27.3%, 70.8%, 0%, 39.6%)
CIE-LABlab(33.25, 48.27, -47.12)
CIE-LCHlch(33.25, 67.46, 315.69°)
OKLaboklab(44.59% 0.1088 -0.1334)
OKLCHoklch(44.59% 0.172 309.2)
XYZxyz(13.4520, 7.6549, 31.3345)
Luminance0.0766 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702D9A #579A2D
analogous
#3A2D9A #702D9A #9A2D8E
triadic
#702D9A #9A702D #2D9A70
tetradic
#702D9A #9A3A2D #579A2D #2D8E9A
square
#702D9A #9A3A2D #579A2D #2D8E9A
split-complementary
#702D9A #8E9A2D #2D9A3A
monochromatic
#2B113B #4E1F6B #702D9A #923EC7 #AD6DD4

Accessibility & contrast

On white

8.30
#702D9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#702D9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702D9A
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702D9A#FFFFFF#000000##FFFFFF
##702D9A1.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9D
Deuteranopia (green-blind)
#174F98
Tritanopia (blue-blind)
#6A4560
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #702d9a;
/* rgb */ color: rgb(112, 45, 154);
/* oklch */ color: oklch(44.6% 0.172 309.2);
Tailwind
colors: {
  custom: {
    50: '#9d6cb8',
    500: '#702d9a',
    950: '#000000',
  },
}
SCSS
$custom: #702d9a;
$custom-light: #9d6cb8;
$custom-dark: #000000;
JSON
{
  "hex": "#702d9a",
  "rgb": {
    "r": 112,
    "g": 45,
    "b": 154
  },
  "hsl": {
    "h": 276.881,
    "s": 54.774,
    "l": 39.02
  },
  "oklch": {
    "l": 0.44591,
    "c": 0.17216,
    "h": 309.2
  },
  "luminance": 0.07655
}

Semantic roles & 50–950 ramp

primary
#702D9A
secondary
#88BB67
accent
#DE4A83
background
#FAF6FB
surface
#F3ECF6
border
#CDC7D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #702D9A

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

Preview Lab → · Contrast checker → · Palette generator →

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