#702F9E#702F9E

#702F9E is a mid, vivid violet. Relative luminance 0.079; OKLCH L 45.1% C 0.174 H 307.6°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#702F9E
RGBrgb(112, 47, 158)
HSLhsl(275, 54%, 40%)
HSVhsv(275, 70%, 62%)
CMYKcmyk(29.1%, 70.3%, 0%, 38%)
CIE-LABlab(33.87, 48.27, -48.55)
CIE-LCHlch(33.87, 68.46, 314.83°)
OKLaboklab(45.12% 0.1061 -0.1376)
OKLCHoklch(45.12% 0.174 307.6)
XYZxyz(13.8689, 7.9466, 33.1443)
Luminance0.0795 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702F9E #5D9E2F
analogous
#382F9E #702F9E #9E2F94
triadic
#702F9E #9E702F #2F9E70
tetradic
#702F9E #9E382F #5D9E2F #2F949E
square
#702F9E #9E382F #5D9E2F #2F949E
split-complementary
#702F9E #949E2F #2F9E38
monochromatic
#2D1340 #4F216F #702F9E #9043C7 #AC72D5

Accessibility & contrast

On white

8.11
#702F9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#702F9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702F9E
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702F9E#FFFFFF#000000##FFFFFF
##702F9E1.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA1
Deuteranopia (green-blind)
#12509C
Tritanopia (blue-blind)
#694863
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #702f9e;
/* rgb */ color: rgb(112, 47, 158);
/* oklch */ color: oklch(45.1% 0.174 307.6);
Tailwind
colors: {
  custom: {
    50: '#9d6dbb',
    500: '#702f9e',
    950: '#000000',
  },
}
SCSS
$custom: #702f9e;
$custom-light: #9d6dbb;
$custom-dark: #000000;
JSON
{
  "hex": "#702f9e",
  "rgb": {
    "r": 112,
    "g": 47,
    "b": 158
  },
  "hsl": {
    "h": 275.135,
    "s": 54.146,
    "l": 40.196
  },
  "oklch": {
    "l": 0.45123,
    "c": 0.17378,
    "h": 307.6
  },
  "luminance": 0.07946
}

Semantic roles & 50–950 ramp

primary
#702F9E
secondary
#8DBD6C
accent
#DE4A87
background
#FAF6FB
surface
#F3ECF6
border
#CDC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #702F9E

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

Preview Lab → · Contrast checker → · Palette generator →

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