#702E98#702E98

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

Color values

HEX#702E98
RGBrgb(112, 46, 152)
HSLhsl(277, 54%, 39%)
HSVhsv(277, 70%, 60%)
CMYKcmyk(26.3%, 69.7%, 0%, 40.4%)
CIE-LABlab(33.28, 47.35, -45.87)
CIE-LCHlch(33.28, 65.92, 315.91°)
OKLaboklab(44.56% 0.1079 -0.1297)
OKLCHoklch(44.56% 0.169 309.8)
XYZxyz(13.3255, 7.6660, 30.4774)
Luminance0.0767 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702E98 #56982E
analogous
#3B2E98 #702E98 #982E8B
triadic
#702E98 #98702E #2E9870
tetradic
#702E98 #983B2E #56982E #2E8B98
square
#702E98 #983B2E #56982E #2E8B98
split-complementary
#702E98 #8B982E #2E983B
monochromatic
#2B123A #4D2069 #702E98 #923EC5 #AD6DD3

Accessibility & contrast

On white

8.29
#702E98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #702E98
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702E98#FFFFFF#000000##FFFFFF
##702E981.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9B
Deuteranopia (green-blind)
#1C4F96
Tritanopia (blue-blind)
#6A455F
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #702e98;
/* rgb */ color: rgb(112, 46, 152);
/* oklch */ color: oklch(44.6% 0.169 309.8);
Tailwind
colors: {
  custom: {
    50: '#9d6cb7',
    500: '#702e98',
    950: '#000000',
  },
}
SCSS
$custom: #702e98;
$custom-light: #9d6cb7;
$custom-dark: #000000;
JSON
{
  "hex": "#702e98",
  "rgb": {
    "r": 112,
    "g": 46,
    "b": 152
  },
  "hsl": {
    "h": 277.358,
    "s": 53.535,
    "l": 38.824
  },
  "oklch": {
    "l": 0.44563,
    "c": 0.16876,
    "h": 309.8
  },
  "luminance": 0.07666
}

Semantic roles & 50–950 ramp

primary
#702E98
secondary
#87BA68
accent
#DD4B82
background
#FAF6FB
surface
#F3ECF6
border
#CDC7D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #702E98

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

Preview Lab → · Contrast checker → · Palette generator →

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