#702795#702795

#702795 is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.6% C 0.175 H 311.6°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#702795
RGBrgb(112, 39, 149)
HSLhsl(280, 59%, 37%)
HSVhsv(280, 74%, 58%)
CMYKcmyk(24.8%, 73.8%, 0%, 41.6%)
CIE-LABlab(31.96, 49.79, -46.17)
CIE-LCHlch(31.96, 67.90, 317.16°)
OKLaboklab(43.55% 0.1159 -0.1306)
OKLCHoklch(43.55% 0.175 311.6)
XYZxyz(12.8314, 7.0660, 29.1159)
Luminance0.0707 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702795 #4C9527
analogous
#392795 #702795 #952783
triadic
#702795 #957027 #279570
tetradic
#702795 #953927 #4C9527 #278395
square
#702795 #953927 #4C9527 #278395
split-complementary
#702795 #839527 #279539
monochromatic
#270E34 #4C1A64 #702795 #9434C6 #AE61D6

Accessibility & contrast

On white

8.70
#702795 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#702795 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702795
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702795#FFFFFF#000000##FFFFFF
##7027951.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004898
Deuteranopia (green-blind)
#174D93
Tritanopia (blue-blind)
#6B405C
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #702795;
/* rgb */ color: rgb(112, 39, 149);
/* oklch */ color: oklch(43.6% 0.175 311.6);
Tailwind
colors: {
  custom: {
    50: '#9d68b5',
    500: '#702795',
    950: '#000000',
  },
}
SCSS
$custom: #702795;
$custom-light: #9d68b5;
$custom-dark: #000000;
JSON
{
  "hex": "#702795",
  "rgb": {
    "r": 112,
    "g": 39,
    "b": 149
  },
  "hsl": {
    "h": 279.818,
    "s": 58.511,
    "l": 36.863
  },
  "oklch": {
    "l": 0.43554,
    "c": 0.17456,
    "h": 311.6
  },
  "luminance": 0.07066
}

Semantic roles & 50–950 ramp

primary
#702795
secondary
#7CBB5D
accent
#E2467A
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #702795

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

Preview Lab → · Contrast checker → · Palette generator →

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