#702295#702295

#702295 is a dark, vivid purple. Relative luminance 0.068; OKLCH L 43.1% C 0.180 H 312.1°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#702295
RGBrgb(112, 34, 149)
HSLhsl(281, 63%, 36%)
HSVhsv(281, 77%, 58%)
CMYKcmyk(24.8%, 77.2%, 0%, 41.6%)
CIE-LABlab(31.25, 51.80, -47.31)
CIE-LCHlch(31.25, 70.15, 317.59°)
OKLaboklab(43.06% 0.1208 -0.1339)
OKLCHoklch(43.06% 0.18 312.1)
XYZxyz(12.6779, 6.7591, 29.0647)
Luminance0.0676 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702295 #479522
analogous
#362295 #702295 #952280
triadic
#702295 #957022 #229570
tetradic
#702295 #953622 #479522 #228095
square
#702295 #953622 #479522 #228095
split-complementary
#702295 #809522 #229536
monochromatic
#250B31 #4B1763 #702295 #952DC7 #B058D9

Accessibility & contrast

On white

8.93
#702295 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#702295 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702295
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702295#FFFFFF#000000##FFFFFF
##7022951.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004698
Deuteranopia (green-blind)
#0F4B93
Tritanopia (blue-blind)
#6B3D5A
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #702295;
/* rgb */ color: rgb(112, 34, 149);
/* oklch */ color: oklch(43.1% 0.180 312.1);
Tailwind
colors: {
  custom: {
    50: '#9d66b5',
    500: '#702295',
    950: '#000000',
  },
}
SCSS
$custom: #702295;
$custom-light: #9d66b5;
$custom-dark: #000000;
JSON
{
  "hex": "#702295",
  "rgb": {
    "r": 112,
    "g": 34,
    "b": 149
  },
  "hsl": {
    "h": 280.696,
    "s": 62.842,
    "l": 35.882
  },
  "oklch": {
    "l": 0.43055,
    "c": 0.18028,
    "h": 312.1
  },
  "luminance": 0.06759
}

Semantic roles & 50–950 ramp

primary
#702295
secondary
#77BD56
accent
#E64277
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #702295

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

Preview Lab → · Contrast checker → · Palette generator →

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