#4F22BD#4F22BD

#4F22BD is a dark, highly saturated violet. Relative luminance 0.065; OKLCH L 42.8% C 0.218 H 285.9°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#4F22BD
RGBrgb(79, 34, 189)
HSLhsl(257, 70%, 44%)
HSVhsv(257, 82%, 74%)
CMYKcmyk(58.2%, 82%, 0%, 25.9%)
CIE-LABlab(30.59, 56.65, -72.62)
CIE-LCHlch(30.59, 92.10, 307.96°)
OKLaboklab(42.76% 0.0598 -0.2092)
OKLCHoklch(42.76% 0.218 285.9)
XYZxyz(12.9790, 6.4797, 48.7010)
Luminance0.0648 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F22BD #90BD22
analogous
#2242BD #4F22BD #9C22BD
triadic
#4F22BD #BD4F22 #22BD4F
tetradic
#4F22BD #BD2242 #90BD22 #22BD9C
square
#4F22BD #BD2242 #90BD22 #22BD9C
split-complementary
#4F22BD #BD9C22 #42BD22
monochromatic
#240F55 #391989 #4F22BD #6D40DD #9573E6

Accessibility & contrast

On white

9.15
#4F22BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#4F22BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F22BD
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F22BD#FFFFFF#000000##FFFFFF
##4F22BD1.009.152.309.15
#FFFFFF9.151.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CC1
Deuteranopia (green-blind)
#0043BA
Tritanopia (blue-blind)
#125271
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4f22bd;
/* rgb */ color: rgb(79, 34, 189);
/* oklch */ color: oklch(42.8% 0.218 285.9);
Tailwind
colors: {
  custom: {
    50: '#8e65d2',
    500: '#4f22bd',
    950: '#000000',
  },
}
SCSS
$custom: #4f22bd;
$custom-light: #8e65d2;
$custom-dark: #000000;
JSON
{
  "hex": "#4f22bd",
  "rgb": {
    "r": 79,
    "g": 34,
    "b": 189
  },
  "hsl": {
    "h": 257.419,
    "s": 69.507,
    "l": 43.725
  },
  "oklch": {
    "l": 0.42759,
    "c": 0.21758,
    "h": 285.9
  },
  "luminance": 0.0648
}

Semantic roles & 50–950 ramp

primary
#4F22BD
secondary
#B1CD6E
accent
#EC3BB9
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0E0614
muted
#7E7A83

Preview Lab

Preview with #4F22BD

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

Preview Lab → · Contrast checker → · Palette generator →

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