#702CA0#702CA0

#702CA0 is a dark, vivid violet. Relative luminance 0.078; OKLCH L 44.9% C 0.180 H 307.4°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#702CA0
RGBrgb(112, 44, 160)
HSLhsl(275, 57%, 40%)
HSVhsv(275, 73%, 63%)
CMYKcmyk(30%, 72.5%, 0%, 37.3%)
CIE-LABlab(33.53, 50.11, -50.32)
CIE-LCHlch(33.53, 71.01, 314.88°)
OKLaboklab(44.93% 0.109 -0.1428)
OKLCHoklch(44.93% 0.18 307.4)
XYZxyz(13.9266, 7.7844, 34.0198)
Luminance0.0778 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702CA0 #5CA02C
analogous
#362CA0 #702CA0 #A02C96
triadic
#702CA0 #A0702C #2CA070
tetradic
#702CA0 #A0362C #5CA02C #2C96A0
square
#702CA0 #A0362C #5CA02C #2C96A0
split-complementary
#702CA0 #96A02C #2CA036
monochromatic
#2D1240 #4E1F70 #702CA0 #913FCA #AC6FD7

Accessibility & contrast

On white

8.21
#702CA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#702CA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702CA0
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702CA0#FFFFFF#000000##FFFFFF
##702CA01.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA3
Deuteranopia (green-blind)
#034F9E
Tritanopia (blue-blind)
#684763
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #702ca0;
/* rgb */ color: rgb(112, 44, 160);
/* oklch */ color: oklch(44.9% 0.180 307.4);
Tailwind
colors: {
  custom: {
    50: '#9d6bbd',
    500: '#702ca0',
    950: '#000000',
  },
}
SCSS
$custom: #702ca0;
$custom-light: #9d6bbd;
$custom-dark: #000000;
JSON
{
  "hex": "#702ca0",
  "rgb": {
    "r": 112,
    "g": 44,
    "b": 160
  },
  "hsl": {
    "h": 275.172,
    "s": 56.863,
    "l": 40
  },
  "oklch": {
    "l": 0.44925,
    "c": 0.17965,
    "h": 307.4
  },
  "luminance": 0.07784
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #702CA0

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

Preview Lab → · Contrast checker → · Palette generator →

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