#4F22A9#4F22A9

#4F22A9 is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.8% C 0.196 H 289.8°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#4F22A9
RGBrgb(79, 34, 169)
HSLhsl(260, 67%, 40%)
HSVhsv(260, 80%, 66%)
CMYKcmyk(53.3%, 79.9%, 0%, 33.7%)
CIE-LABlab(28.57, 51.24, -64.03)
CIE-LCHlch(28.57, 82.01, 308.67°)
OKLaboklab(40.75% 0.0665 -0.1841)
OKLCHoklch(40.75% 0.196 289.8)
XYZxyz(10.9558, 5.6704, 38.0456)
Luminance0.0567 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F22A9 #7CA922
analogous
#2239A9 #4F22A9 #9222A9
triadic
#4F22A9 #A94F22 #22A94F
tetradic
#4F22A9 #A92239 #7CA922 #22A992
square
#4F22A9 #A92239 #7CA922 #22A992
split-complementary
#4F22A9 #A99222 #39A922
monochromatic
#1F0D43 #371876 #4F22A9 #6932D6 #8E65E0

Accessibility & contrast

On white

9.84
#4F22A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#4F22A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F22A9
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F22A9#FFFFFF#000000##FFFFFF
##4F22A91.009.842.139.84
#FFFFFF9.841.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046AD
Deuteranopia (green-blind)
#0040A7
Tritanopia (blue-blind)
#2D4966
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4f22a9;
/* rgb */ color: rgb(79, 34, 169);
/* oklch */ color: oklch(40.8% 0.196 289.8);
Tailwind
colors: {
  custom: {
    50: '#8a63c4',
    500: '#4f22a9',
    950: '#000000',
  },
}
SCSS
$custom: #4f22a9;
$custom-light: #8a63c4;
$custom-dark: #000000;
JSON
{
  "hex": "#4f22a9",
  "rgb": {
    "r": 79,
    "g": 34,
    "b": 169
  },
  "hsl": {
    "h": 260,
    "s": 66.502,
    "l": 39.804
  },
  "oklch": {
    "l": 0.40752,
    "c": 0.19575,
    "h": 289.8
  },
  "luminance": 0.05671
}

Semantic roles & 50–950 ramp

primary
#4F22A9
secondary
#A4C561
accent
#E93EB0
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #4F22A9

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

Preview Lab → · Contrast checker → · Palette generator →

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