#4F22AF#4F22AF

#4F22AF is a dark, highly saturated violet. Relative luminance 0.059; OKLCH L 41.3% C 0.202 H 288.6°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#4F22AF
RGBrgb(79, 34, 175)
HSLhsl(259, 67%, 41%)
HSVhsv(259, 81%, 69%)
CMYKcmyk(54.9%, 80.6%, 0%, 31.4%)
CIE-LABlab(29.16, 52.87, -66.65)
CIE-LCHlch(29.16, 85.08, 308.42°)
OKLaboklab(41.34% 0.0645 -0.1918)
OKLCHoklch(41.34% 0.202 288.6)
XYZxyz(11.5321, 5.9009, 41.0805)
Luminance0.0590 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F22AF #82AF22
analogous
#223BAF #4F22AF #9522AF
triadic
#4F22AF #AF4F22 #22AF4F
tetradic
#4F22AF #AF223B #82AF22 #22AF95
square
#4F22AF #AF223B #82AF22 #22AF95
split-complementary
#4F22AF #AF9522 #3BAF22
monochromatic
#210E49 #38187C #4F22AF #6A36D8 #9069E2

Accessibility & contrast

On white

9.63
#4F22AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#4F22AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F22AF
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F22AF#FFFFFF#000000##FFFFFF
##4F22AF1.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B3
Deuteranopia (green-blind)
#0041AC
Tritanopia (blue-blind)
#274C69
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4f22af;
/* rgb */ color: rgb(79, 34, 175);
/* oklch */ color: oklch(41.3% 0.202 288.6);
Tailwind
colors: {
  custom: {
    50: '#8b64c8',
    500: '#4f22af',
    950: '#000000',
  },
}
SCSS
$custom: #4f22af;
$custom-light: #8b64c8;
$custom-dark: #000000;
JSON
{
  "hex": "#4f22af",
  "rgb": {
    "r": 79,
    "g": 34,
    "b": 175
  },
  "hsl": {
    "h": 259.149,
    "s": 67.464,
    "l": 40.98
  },
  "oklch": {
    "l": 0.41344,
    "c": 0.20235,
    "h": 288.6
  },
  "luminance": 0.05901
}

Semantic roles & 50–950 ramp

primary
#4F22AF
secondary
#A8C865
accent
#EA3DB3
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #4F22AF

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

Preview Lab → · Contrast checker → · Palette generator →

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