#702BA0#702BA0

#702BA0 is a dark, vivid violet. Relative luminance 0.077; OKLCH L 44.8% C 0.181 H 307.5°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#702BA0
RGBrgb(112, 43, 160)
HSLhsl(275, 58%, 40%)
HSVhsv(275, 73%, 63%)
CMYKcmyk(30%, 73.1%, 0%, 37.3%)
CIE-LABlab(33.37, 50.55, -50.57)
CIE-LCHlch(33.37, 71.50, 314.99°)
OKLaboklab(44.81% 0.11 -0.1435)
OKLCHoklch(44.81% 0.181 307.5)
XYZxyz(13.8898, 7.7108, 34.0075)
Luminance0.0771 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702BA0 #5BA02B
analogous
#362BA0 #702BA0 #A02B95
triadic
#702BA0 #A0702B #2BA070
tetradic
#702BA0 #A0362B #5BA02B #2B95A0
square
#702BA0 #A0362B #5BA02B #2B95A0
split-complementary
#702BA0 #95A02B #2BA036
monochromatic
#2C1140 #4E1E70 #702BA0 #913DCB #AC6ED8

Accessibility & contrast

On white

8.26
#702BA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #702BA0
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702BA0#FFFFFF#000000##FFFFFF
##702BA01.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA3
Deuteranopia (green-blind)
#014F9E
Tritanopia (blue-blind)
#684663
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #702ba0;
/* rgb */ color: rgb(112, 43, 160);
/* oklch */ color: oklch(44.8% 0.181 307.5);
Tailwind
colors: {
  custom: {
    50: '#9e6bbd',
    500: '#702ba0',
    950: '#000000',
  },
}
SCSS
$custom: #702ba0;
$custom-light: #9e6bbd;
$custom-dark: #000000;
JSON
{
  "hex": "#702ba0",
  "rgb": {
    "r": 112,
    "g": 43,
    "b": 160
  },
  "hsl": {
    "h": 275.385,
    "s": 57.635,
    "l": 39.804
  },
  "oklch": {
    "l": 0.44814,
    "c": 0.18086,
    "h": 307.5
  },
  "luminance": 0.07711
}

Semantic roles & 50–950 ramp

primary
#702BA0
secondary
#8CBF68
accent
#E14786
background
#FAF6FB
surface
#F3ECF7
border
#CDC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #702BA0

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

Preview Lab → · Contrast checker → · Palette generator →

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