#702B9E#702B9E

#702B9E is a dark, vivid violet. Relative luminance 0.076; OKLCH L 44.7% C 0.179 H 308.1°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#702B9E
RGBrgb(112, 43, 158)
HSLhsl(276, 57%, 39%)
HSVhsv(276, 73%, 62%)
CMYKcmyk(29.1%, 72.8%, 0%, 38%)
CIE-LABlab(33.22, 50.09, -49.60)
CIE-LCHlch(33.22, 70.49, 315.28°)
OKLaboklab(44.66% 0.1104 -0.1407)
OKLCHoklch(44.66% 0.179 308.1)
XYZxyz(13.7162, 7.6413, 33.0935)
Luminance0.0764 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702B9E #599E2B
analogous
#372B9E #702B9E #9E2B93
triadic
#702B9E #9E702B #2B9E70
tetradic
#702B9E #9E372B #599E2B #2B939E
square
#702B9E #9E372B #599E2B #2B939E
split-complementary
#702B9E #939E2B #2B9E37
monochromatic
#2C113E #4E1E6E #702B9E #913CCA #AC6CD7

Accessibility & contrast

On white

8.31
#702B9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #702B9E
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702B9E#FFFFFF#000000##FFFFFF
##702B9E1.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA1
Deuteranopia (green-blind)
#084F9C
Tritanopia (blue-blind)
#694562
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #702b9e;
/* rgb */ color: rgb(112, 43, 158);
/* oklch */ color: oklch(44.7% 0.179 308.1);
Tailwind
colors: {
  custom: {
    50: '#9d6bbb',
    500: '#702b9e',
    950: '#000000',
  },
}
SCSS
$custom: #702b9e;
$custom-light: #9d6bbb;
$custom-dark: #000000;
JSON
{
  "hex": "#702b9e",
  "rgb": {
    "r": 112,
    "g": 43,
    "b": 158
  },
  "hsl": {
    "h": 276,
    "s": 57.214,
    "l": 39.412
  },
  "oklch": {
    "l": 0.44662,
    "c": 0.1788,
    "h": 308.1
  },
  "luminance": 0.07641
}

Semantic roles & 50–950 ramp

primary
#702B9E
secondary
#8ABE67
accent
#E04785
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #702B9E

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

Preview Lab → · Contrast checker → · Palette generator →

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