#702497#702497

#702497 is a dark, vivid violet. Relative luminance 0.069; OKLCH L 43.4% C 0.180 H 311.2°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#702497
RGBrgb(112, 36, 151)
HSLhsl(280, 61%, 37%)
HSVhsv(280, 76%, 59%)
CMYKcmyk(25.8%, 76.2%, 0%, 40.8%)
CIE-LABlab(31.67, 51.45, -47.85)
CIE-LCHlch(31.67, 70.26, 317.08°)
OKLaboklab(43.4% 0.1185 -0.1355)
OKLCHoklch(43.4% 0.18 311.2)
XYZxyz(12.8978, 6.9412, 29.9325)
Luminance0.0694 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702497 #4B9724
analogous
#372497 #702497 #972485
triadic
#702497 #977024 #249770
tetradic
#702497 #973724 #4B9724 #248597
square
#702497 #973724 #4B9724 #248597
split-complementary
#702497 #859724 #249737
monochromatic
#270C34 #4B1866 #702497 #9530C8 #AF5DD8

Accessibility & contrast

On white

8.79
#702497 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#702497 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702497
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702497#FFFFFF#000000##FFFFFF
##7024971.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479A
Deuteranopia (green-blind)
#0D4C95
Tritanopia (blue-blind)
#6B3F5C
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #702497;
/* rgb */ color: rgb(112, 36, 151);
/* oklch */ color: oklch(43.4% 0.180 311.2);
Tailwind
colors: {
  custom: {
    50: '#9d67b6',
    500: '#702497',
    950: '#000000',
  },
}
SCSS
$custom: #702497;
$custom-light: #9d67b6;
$custom-dark: #000000;
JSON
{
  "hex": "#702497",
  "rgb": {
    "r": 112,
    "g": 36,
    "b": 151
  },
  "hsl": {
    "h": 279.652,
    "s": 61.497,
    "l": 36.667
  },
  "oklch": {
    "l": 0.43399,
    "c": 0.18001,
    "h": 311.2
  },
  "luminance": 0.06941
}

Semantic roles & 50–950 ramp

primary
#702497
secondary
#7BBD5A
accent
#E5437A
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #702497

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

Preview Lab → · Contrast checker → · Palette generator →

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