#722798#722798

#722798 is a dark, vivid violet. Relative luminance 0.073; OKLCH L 44.0% C 0.178 H 311.5°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#722798
RGBrgb(114, 39, 152)
HSLhsl(280, 59%, 37%)
HSVhsv(280, 74%, 60%)
CMYKcmyk(25%, 74.3%, 0%, 40.4%)
CIE-LABlab(32.47, 50.86, -47.16)
CIE-LCHlch(32.47, 69.36, 317.16°)
OKLaboklab(44.05% 0.1181 -0.1334)
OKLCHoklch(44.05% 0.178 311.5)
XYZxyz(13.3314, 7.2958, 30.4056)
Luminance0.0730 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#722798 #4D9827
analogous
#3A2798 #722798 #982785
triadic
#722798 #987227 #279872
tetradic
#722798 #983A27 #4D9827 #278598
square
#722798 #983A27 #4D9827 #278598
split-complementary
#722798 #859827 #27983A
monochromatic
#290E37 #4D1B67 #722798 #9733C9 #B063D7

Accessibility & contrast

On white

8.54
#722798 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#722798 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #722798
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##722798#FFFFFF#000000##FFFFFF
##7227981.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499B
Deuteranopia (green-blind)
#154E96
Tritanopia (blue-blind)
#6D405D
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #722798;
/* rgb */ color: rgb(114, 39, 152);
/* oklch */ color: oklch(44.0% 0.178 311.5);
Tailwind
colors: {
  custom: {
    50: '#9f69b7',
    500: '#722798',
    950: '#000000',
  },
}
SCSS
$custom: #722798;
$custom-light: #9f69b7;
$custom-dark: #000000;
JSON
{
  "hex": "#722798",
  "rgb": {
    "r": 114,
    "g": 39,
    "b": 152
  },
  "hsl": {
    "h": 279.823,
    "s": 59.162,
    "l": 37.451
  },
  "oklch": {
    "l": 0.44049,
    "c": 0.17818,
    "h": 311.5
  },
  "luminance": 0.07295
}

Semantic roles & 50–950 ramp

primary
#722798
secondary
#7EBC5E
accent
#E2457A
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #722798

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

Preview Lab → · Contrast checker → · Palette generator →

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