#4F22B3#4F22B3

#4F22B3 is a dark, highly saturated violet. Relative luminance 0.061; OKLCH L 41.7% C 0.207 H 287.8°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#4F22B3
RGBrgb(79, 34, 179)
HSLhsl(259, 68%, 42%)
HSVhsv(259, 81%, 70%)
CMYKcmyk(55.9%, 81%, 0%, 29.8%)
CIE-LABlab(29.56, 53.95, -68.38)
CIE-LCHlch(29.56, 87.10, 308.27°)
OKLaboklab(41.74% 0.0632 -0.1968)
OKLCHoklch(41.74% 0.207 287.8)
XYZxyz(11.9307, 6.0604, 43.1802)
Luminance0.0606 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F22B3 #86B322
analogous
#223DB3 #4F22B3 #9822B3
triadic
#4F22B3 #B34F22 #22B34F
tetradic
#4F22B3 #B3223D #86B322 #22B398
square
#4F22B3 #B3223D #86B322 #22B398
split-complementary
#4F22B3 #B39822 #3DB322
monochromatic
#220E4C #381880 #4F22B3 #6B39D9 #916CE3

Accessibility & contrast

On white

9.49
#4F22B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#4F22B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F22B3
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F22B3#FFFFFF#000000##FFFFFF
##4F22B31.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B7
Deuteranopia (green-blind)
#0042B0
Tritanopia (blue-blind)
#224E6B
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #4f22b3;
/* rgb */ color: rgb(79, 34, 179);
/* oklch */ color: oklch(41.7% 0.207 287.8);
Tailwind
colors: {
  custom: {
    50: '#8c64cb',
    500: '#4f22b3',
    950: '#000000',
  },
}
SCSS
$custom: #4f22b3;
$custom-light: #8c64cb;
$custom-dark: #000000;
JSON
{
  "hex": "#4f22b3",
  "rgb": {
    "r": 79,
    "g": 34,
    "b": 179
  },
  "hsl": {
    "h": 258.621,
    "s": 68.075,
    "l": 41.765
  },
  "oklch": {
    "l": 0.41744,
    "c": 0.20672,
    "h": 287.8
  },
  "luminance": 0.06061
}

Semantic roles & 50–950 ramp

primary
#4F22B3
secondary
#ABC968
accent
#EB3DB5
background
#F9F6FC
surface
#F2EBF9
border
#CCC6D2
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #4F22B3

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

Preview Lab → · Contrast checker → · Palette generator →

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