#4F22E3#4F22E3

#4F22E3 is a mid, highly saturated violet. Relative luminance 0.084; OKLCH L 46.8% C 0.258 H 280.4°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#4F22E3
RGBrgb(79, 34, 227)
HSLhsl(254, 78%, 51%)
HSVhsv(254, 85%, 89%)
CMYKcmyk(65.2%, 85%, 0%, 11%)
CIE-LABlab(34.70, 66.75, -87.90)
CIE-LCHlch(34.70, 110.37, 307.21°)
OKLaboklab(46.78% 0.0465 -0.2537)
OKLCHoklch(46.78% 0.258 280.4)
XYZxyz(17.6572, 8.3509, 73.3395)
Luminance0.0835 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F22E3 #B6E322
analogous
#2255E3 #4F22E3 #B022E3
triadic
#4F22E3 #E34F22 #22E34F
tetradic
#4F22E3 #E32255 #B6E322 #22E3B0
square
#4F22E3 #E32255 #B6E322 #22E3B0
split-complementary
#4F22E3 #E3B022 #55E322
monochromatic
#29107B #3B16B1 #4F22E3 #7A58EA #A68FF1

Accessibility & contrast

On white

7.86
#4F22E3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#4F22E3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F22E3
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F22E3#FFFFFF#000000##FFFFFF
##4F22E31.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058E8
Deuteranopia (green-blind)
#004AE0
Tritanopia (blue-blind)
#006288
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4f22e3;
/* rgb */ color: rgb(79, 34, 227);
/* oklch */ color: oklch(46.8% 0.258 280.4);
Tailwind
colors: {
  custom: {
    50: '#9467ed',
    500: '#4f22e3',
    950: '#000000',
  },
}
SCSS
$custom: #4f22e3;
$custom-light: #9467ed;
$custom-dark: #000000;
JSON
{
  "hex": "#4f22e3",
  "rgb": {
    "r": 79,
    "g": 34,
    "b": 227
  },
  "hsl": {
    "h": 253.99,
    "s": 77.51,
    "l": 51.176
  },
  "oklch": {
    "l": 0.46779,
    "c": 0.25789,
    "h": 280.4
  },
  "luminance": 0.08352
}

Semantic roles & 50–950 ramp

primary
#4F22E3
secondary
#C7DB86
accent
#F434C7
background
#FAF6FE
surface
#F4EBFD
border
#CEC6D5
text
#0F0717
muted
#7F7A85

Preview Lab

Preview with #4F22E3

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

Preview Lab → · Contrast checker → · Palette generator →

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