#702273#702273

#702273 is a dark, vivid purple. Relative luminance 0.058; OKLCH L 40.7% C 0.149 H 326.3°. Best body text is #FFFFFF at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#702273
RGBrgb(112, 34, 115)
HSLhsl(298, 54%, 29%)
HSVhsv(298, 70%, 45%)
CMYKcmyk(2.6%, 70.4%, 0%, 54.9%)
CIE-LABlab(28.97, 44.91, -29.72)
CIE-LCHlch(28.97, 53.85, 326.50°)
OKLaboklab(40.7% 0.1237 -0.0824)
OKLCHoklch(40.7% 0.149 326.3)
XYZxyz(10.3484, 5.8273, 16.7960)
Luminance0.0583 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702273 #257322
analogous
#482273 #702273 #73224E
triadic
#702273 #737022 #227370
tetradic
#702273 #734822 #257322 #224E73
square
#702273 #734822 #257322 #224E73
split-complementary
#702273 #4E7322 #227348
monochromatic
#170718 #421444 #702273 #9E30A2 #C447C9

Accessibility & contrast

On white

9.70
#702273 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#702273 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702273
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702273#FFFFFF#000000##FFFFFF
##7022731.009.702.179.70
#FFFFFF9.701.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#133E75
Deuteranopia (green-blind)
#344871
Tritanopia (blue-blind)
#732E48
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #702273;
/* rgb */ color: rgb(112, 34, 115);
/* oklch */ color: oklch(40.7% 0.149 326.3);
Tailwind
colors: {
  custom: {
    50: '#9c659c',
    500: '#702273',
    950: '#000000',
  },
}
SCSS
$custom: #702273;
$custom-light: #9c659c;
$custom-dark: #000000;
JSON
{
  "hex": "#702273",
  "rgb": {
    "r": 112,
    "g": 34,
    "b": 115
  },
  "hsl": {
    "h": 297.778,
    "s": 54.362,
    "l": 29.216
  },
  "oklch": {
    "l": 0.40704,
    "c": 0.14866,
    "h": 326.3
  },
  "luminance": 0.05827
}

Semantic roles & 50–950 ramp

primary
#702273
secondary
#4EA64B
accent
#DE4A50
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060E
muted
#7E7A7E

Preview Lab

Preview with #702273

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

Preview Lab → · Contrast checker → · Palette generator →

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