#702E99#702E99

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

Color values

HEX#702E99
RGBrgb(112, 46, 153)
HSLhsl(277, 54%, 39%)
HSVhsv(277, 70%, 60%)
CMYKcmyk(26.8%, 69.9%, 0%, 40%)
CIE-LABlab(33.35, 47.57, -46.36)
CIE-LCHlch(33.35, 66.43, 315.74°)
OKLaboklab(44.64% 0.1078 -0.1312)
OKLCHoklch(44.64% 0.17 309.4)
XYZxyz(13.4077, 7.6989, 30.9105)
Luminance0.0770 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702E99 #57992E
analogous
#3A2E99 #702E99 #992E8D
triadic
#702E99 #99702E #2E9970
tetradic
#702E99 #993A2E #57992E #2E8D99
square
#702E99 #993A2E #57992E #2E8D99
split-complementary
#702E99 #8D992E #2E993A
monochromatic
#2B123B #4E206A #702E99 #923FC5 #AD6ED3

Accessibility & contrast

On white

8.27
#702E99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#702E99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702E99
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702E99#FFFFFF#000000##FFFFFF
##702E991.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9C
Deuteranopia (green-blind)
#1A4F97
Tritanopia (blue-blind)
#6A4560
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #702e99;
/* rgb */ color: rgb(112, 46, 153);
/* oklch */ color: oklch(44.6% 0.170 309.4);
Tailwind
colors: {
  custom: {
    50: '#9d6cb8',
    500: '#702e99',
    950: '#000000',
  },
}
SCSS
$custom: #702e99;
$custom-light: #9d6cb8;
$custom-dark: #000000;
JSON
{
  "hex": "#702e99",
  "rgb": {
    "r": 112,
    "g": 46,
    "b": 153
  },
  "hsl": {
    "h": 277.009,
    "s": 53.769,
    "l": 39.02
  },
  "oklch": {
    "l": 0.44635,
    "c": 0.16981,
    "h": 309.4
  },
  "luminance": 0.07699
}

Semantic roles & 50–950 ramp

primary
#702E99
secondary
#88BB68
accent
#DD4B83
background
#FAF6FB
surface
#F3ECF6
border
#CDC7D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #702E99

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

Preview Lab → · Contrast checker → · Palette generator →

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