#4F22AE#4F22AE

#4F22AE is a dark, highly saturated violet. Relative luminance 0.059; OKLCH L 41.2% C 0.201 H 288.8°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#4F22AE
RGBrgb(79, 34, 174)
HSLhsl(259, 67%, 41%)
HSVhsv(259, 80%, 68%)
CMYKcmyk(54.6%, 80.5%, 0%, 31.8%)
CIE-LABlab(29.06, 52.60, -66.22)
CIE-LCHlch(29.06, 84.57, 308.46°)
OKLaboklab(41.25% 0.0648 -0.1905)
OKLCHoklch(41.25% 0.201 288.8)
XYZxyz(11.4342, 5.8617, 40.5651)
Luminance0.0586 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F22AE #81AE22
analogous
#223BAE #4F22AE #9522AE
triadic
#4F22AE #AE4F22 #22AE4F
tetradic
#4F22AE #AE223B #81AE22 #22AE95
square
#4F22AE #AE223B #81AE22 #22AE95
split-complementary
#4F22AE #AE9522 #3BAE22
monochromatic
#210E48 #38187B #4F22AE #6A36D8 #9069E2

Accessibility & contrast

On white

9.67
#4F22AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#4F22AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F22AE
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F22AE#FFFFFF#000000##FFFFFF
##4F22AE1.009.672.179.67
#FFFFFF9.671.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047B2
Deuteranopia (green-blind)
#0041AB
Tritanopia (blue-blind)
#284B69
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #4f22ae;
/* rgb */ color: rgb(79, 34, 174);
/* oklch */ color: oklch(41.2% 0.201 288.8);
Tailwind
colors: {
  custom: {
    50: '#8b64c7',
    500: '#4f22ae',
    950: '#000000',
  },
}
SCSS
$custom: #4f22ae;
$custom-light: #8b64c7;
$custom-dark: #000000;
JSON
{
  "hex": "#4f22ae",
  "rgb": {
    "r": 79,
    "g": 34,
    "b": 174
  },
  "hsl": {
    "h": 259.286,
    "s": 67.308,
    "l": 40.784
  },
  "oklch": {
    "l": 0.41245,
    "c": 0.20125,
    "h": 288.8
  },
  "luminance": 0.05862
}

Semantic roles & 50–950 ramp

primary
#4F22AE
secondary
#A8C764
accent
#EA3EB3
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #4F22AE

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

Preview Lab → · Contrast checker → · Palette generator →

#4F22AE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva