#702BA1#702BA1

#702BA1 is a dark, vivid violet. Relative luminance 0.077; OKLCH L 44.9% C 0.182 H 307.2°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#702BA1
RGBrgb(112, 43, 161)
HSLhsl(275, 58%, 40%)
HSVhsv(275, 73%, 63%)
CMYKcmyk(30.4%, 73.3%, 0%, 36.9%)
CIE-LABlab(33.45, 50.78, -51.05)
CIE-LCHlch(33.45, 72.01, 314.85°)
OKLaboklab(44.89% 0.1099 -0.1449)
OKLCHoklch(44.89% 0.182 307.2)
XYZxyz(13.9776, 7.7459, 34.4701)
Luminance0.0775 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702BA1 #5CA12B
analogous
#352BA1 #702BA1 #A12B97
triadic
#702BA1 #A1702B #2BA170
tetradic
#702BA1 #A1352B #5CA12B #2B97A1
square
#702BA1 #A1352B #5CA12B #2B97A1
split-complementary
#702BA1 #97A12B #2BA135
monochromatic
#2D1140 #4E1E71 #702BA1 #913ECB #AC6ED8

Accessibility & contrast

On white

8.24
#702BA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #702BA1
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702BA1#FFFFFF#000000##FFFFFF
##702BA11.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA4
Deuteranopia (green-blind)
#004F9F
Tritanopia (blue-blind)
#684763
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #702ba1;
/* rgb */ color: rgb(112, 43, 161);
/* oklch */ color: oklch(44.9% 0.182 307.2);
Tailwind
colors: {
  custom: {
    50: '#9e6bbe',
    500: '#702ba1',
    950: '#000000',
  },
}
SCSS
$custom: #702ba1;
$custom-light: #9e6bbe;
$custom-dark: #000000;
JSON
{
  "hex": "#702ba1",
  "rgb": {
    "r": 112,
    "g": 43,
    "b": 161
  },
  "hsl": {
    "h": 275.085,
    "s": 57.843,
    "l": 40
  },
  "oklch": {
    "l": 0.44891,
    "c": 0.18188,
    "h": 307.2
  },
  "luminance": 0.07746
}

Semantic roles & 50–950 ramp

primary
#702BA1
secondary
#8DBF69
accent
#E14787
background
#FAF6FB
surface
#F3ECF7
border
#CDC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #702BA1

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

Preview Lab → · Contrast checker → · Palette generator →

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