#702597#702597

#702597 is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.5% C 0.179 H 311.1°. Best body text is #FFFFFF at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#702597
RGBrgb(112, 37, 151)
HSLhsl(279, 61%, 37%)
HSVhsv(279, 75%, 59%)
CMYKcmyk(25.8%, 75.5%, 0%, 40.8%)
CIE-LABlab(31.81, 51.05, -47.62)
CIE-LCHlch(31.81, 69.82, 316.99°)
OKLaboklab(43.5% 0.1176 -0.1348)
OKLCHoklch(43.5% 0.179 311.1)
XYZxyz(12.9285, 7.0026, 29.9427)
Luminance0.0700 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702597 #4C9725
analogous
#372597 #702597 #972585
triadic
#702597 #977025 #259770
tetradic
#702597 #973725 #4C9725 #258597
square
#702597 #973725 #4C9725 #258597
split-complementary
#702597 #859725 #259737
monochromatic
#270D35 #4C1966 #702597 #9431C8 #AE5FD8

Accessibility & contrast

On white

8.75
#702597 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#702597 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702597
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702597#FFFFFF#000000##FFFFFF
##7025971.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #702597;
/* rgb */ color: rgb(112, 37, 151);
/* oklch */ color: oklch(43.5% 0.179 311.1);
Tailwind
colors: {
  custom: {
    50: '#9d68b6',
    500: '#702597',
    950: '#000000',
  },
}
SCSS
$custom: #702597;
$custom-light: #9d68b6;
$custom-dark: #000000;
JSON
{
  "hex": "#702597",
  "rgb": {
    "r": 112,
    "g": 37,
    "b": 151
  },
  "hsl": {
    "h": 279.474,
    "s": 60.638,
    "l": 36.863
  },
  "oklch": {
    "l": 0.43498,
    "c": 0.17888,
    "h": 311.1
  },
  "luminance": 0.07002
}

Semantic roles & 50–950 ramp

primary
#702597
secondary
#7CBD5B
accent
#E4447B
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #702597

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

Preview Lab → · Contrast checker → · Palette generator →

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