#702280#702280

#702280 is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.5% C 0.160 H 320.3°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#702280
RGBrgb(112, 34, 128)
HSLhsl(290, 58%, 32%)
HSVhsv(290, 73%, 50%)
CMYKcmyk(12.5%, 73.4%, 0%, 49.8%)
CIE-LABlab(29.78, 47.43, -36.65)
CIE-LCHlch(29.78, 59.94, 322.30°)
OKLaboklab(41.55% 0.1234 -0.1026)
OKLCHoklch(41.55% 0.16 320.3)
XYZxyz(11.1499, 6.1479, 21.0172)
Luminance0.0615 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702280 #328022
analogous
#412280 #702280 #802261
triadic
#702280 #807022 #228070
tetradic
#702280 #804122 #328022 #226180
square
#702280 #804122 #328022 #226180
split-complementary
#702280 #618022 #228041
monochromatic
#1B081F #461550 #702280 #9A2FB0 #B94DD0

Accessibility & contrast

On white

9.42
#702280 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#702280 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702280
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702280#FFFFFF#000000##FFFFFF
##7022801.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004183
Deuteranopia (green-blind)
#2B497E
Tritanopia (blue-blind)
#71344F
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #702280;
/* rgb */ color: rgb(112, 34, 128);
/* oklch */ color: oklch(41.5% 0.160 320.3);
Tailwind
colors: {
  custom: {
    50: '#9c65a5',
    500: '#702280',
    950: '#000000',
  },
}
SCSS
$custom: #702280;
$custom-light: #9c65a5;
$custom-dark: #000000;
JSON
{
  "hex": "#702280",
  "rgb": {
    "r": 112,
    "g": 34,
    "b": 128
  },
  "hsl": {
    "h": 289.787,
    "s": 58.025,
    "l": 31.765
  },
  "oklch": {
    "l": 0.41545,
    "c": 0.16049,
    "h": 320.3
  },
  "luminance": 0.06147
}

Semantic roles & 50–950 ramp

primary
#702280
secondary
#5DB24B
accent
#E14761
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F060F
muted
#7E7A7F

Preview Lab

Preview with #702280

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

Preview Lab → · Contrast checker → · Palette generator →

#702280 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva