#702285#702285

#702285 is a dark, vivid purple. Relative luminance 0.063; OKLCH L 41.9% C 0.165 H 318.1°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#702285
RGBrgb(112, 34, 133)
HSLhsl(287, 59%, 33%)
HSVhsv(287, 74%, 52%)
CMYKcmyk(15.8%, 74.4%, 0%, 47.8%)
CIE-LABlab(30.11, 48.44, -39.24)
CIE-LCHlch(30.11, 62.34, 320.98°)
OKLaboklab(41.89% 0.123 -0.1102)
OKLCHoklch(41.89% 0.165 318.1)
XYZxyz(11.4872, 6.2828, 22.7934)
Luminance0.0628 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702285 #378522
analogous
#3F2285 #702285 #852268
triadic
#702285 #857022 #228570
tetradic
#702285 #853F22 #378522 #226885
square
#702285 #853F22 #378522 #226885
split-complementary
#702285 #688522 #22853F
monochromatic
#1E0924 #471654 #702285 #992EB6 #B64FD2

Accessibility & contrast

On white

9.31
#702285 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#702285 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702285
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702285#FFFFFF#000000##FFFFFF
##7022851.009.312.269.31
#FFFFFF9.311.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004288
Deuteranopia (green-blind)
#264983
Tritanopia (blue-blind)
#6F3651
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #702285;
/* rgb */ color: rgb(112, 34, 133);
/* oklch */ color: oklch(41.9% 0.165 318.1);
Tailwind
colors: {
  custom: {
    50: '#9c65a9',
    500: '#702285',
    950: '#000000',
  },
}
SCSS
$custom: #702285;
$custom-light: #9c65a9;
$custom-dark: #000000;
JSON
{
  "hex": "#702285",
  "rgb": {
    "r": 112,
    "g": 34,
    "b": 133
  },
  "hsl": {
    "h": 287.273,
    "s": 59.281,
    "l": 32.745
  },
  "oklch": {
    "l": 0.41888,
    "c": 0.16516,
    "h": 318.1
  },
  "luminance": 0.06282
}

Semantic roles & 50–950 ramp

primary
#702285
secondary
#63B64D
accent
#E24567
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F0610
muted
#7E7A7F

Preview Lab

Preview with #702285

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

Preview Lab → · Contrast checker → · Palette generator →

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