#702B9F#702B9F

#702B9F is a dark, vivid violet. Relative luminance 0.077; OKLCH L 44.7% C 0.180 H 307.8°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#702B9F
RGBrgb(112, 43, 159)
HSLhsl(276, 57%, 40%)
HSVhsv(276, 73%, 62%)
CMYKcmyk(29.6%, 73%, 0%, 37.6%)
CIE-LABlab(33.30, 50.32, -50.09)
CIE-LCHlch(33.30, 71.00, 315.13°)
OKLaboklab(44.74% 0.1102 -0.1421)
OKLCHoklch(44.74% 0.18 307.8)
XYZxyz(13.8027, 7.6759, 33.5486)
Luminance0.0768 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702B9F #5A9F2B
analogous
#362B9F #702B9F #9F2B94
triadic
#702B9F #9F702B #2B9F70
tetradic
#702B9F #9F362B #5A9F2B #2B949F
square
#702B9F #9F362B #5A9F2B #2B949F
split-complementary
#702B9F #949F2B #2B9F36
monochromatic
#2C113F #4E1E6F #702B9F #913DCA #AC6DD7

Accessibility & contrast

On white

8.28
#702B9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #702B9F
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702B9F#FFFFFF#000000##FFFFFF
##702B9F1.008.282.548.28
#FFFFFF8.281.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA2
Deuteranopia (green-blind)
#044F9D
Tritanopia (blue-blind)
#684662
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #702b9f;
/* rgb */ color: rgb(112, 43, 159);
/* oklch */ color: oklch(44.7% 0.180 307.8);
Tailwind
colors: {
  custom: {
    50: '#9d6bbc',
    500: '#702b9f',
    950: '#000000',
  },
}
SCSS
$custom: #702b9f;
$custom-light: #9d6bbc;
$custom-dark: #000000;
JSON
{
  "hex": "#702b9f",
  "rgb": {
    "r": 112,
    "g": 43,
    "b": 159
  },
  "hsl": {
    "h": 275.69,
    "s": 57.426,
    "l": 39.608
  },
  "oklch": {
    "l": 0.44738,
    "c": 0.17983,
    "h": 307.8
  },
  "luminance": 0.07676
}

Semantic roles & 50–950 ramp

primary
#702B9F
secondary
#8BBE67
accent
#E14785
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #702B9F

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

Preview Lab → · Contrast checker → · Palette generator →

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