#4F22BC#4F22BC

#4F22BC is a dark, highly saturated violet. Relative luminance 0.064; OKLCH L 42.7% C 0.216 H 286.1°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#4F22BC
RGBrgb(79, 34, 188)
HSLhsl(258, 69%, 44%)
HSVhsv(258, 82%, 74%)
CMYKcmyk(58%, 81.9%, 0%, 26.3%)
CIE-LABlab(30.49, 56.38, -72.20)
CIE-LCHlch(30.49, 91.61, 307.99°)
OKLaboklab(42.66% 0.0601 -0.208)
OKLCHoklch(42.66% 0.217 286.1)
XYZxyz(12.8708, 6.4364, 48.1313)
Luminance0.0644 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F22BC #8FBC22
analogous
#2242BC #4F22BC #9C22BC
triadic
#4F22BC #BC4F22 #22BC4F
tetradic
#4F22BC #BC2242 #8FBC22 #22BC9C
square
#4F22BC #BC2242 #8FBC22 #22BC9C
split-complementary
#4F22BC #BC9C22 #42BC22
monochromatic
#230F54 #391988 #4F22BC #6D3FDC #9473E6

Accessibility & contrast

On white

9.18
#4F22BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#4F22BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F22BC
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F22BC#FFFFFF#000000##FFFFFF
##4F22BC1.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CC0
Deuteranopia (green-blind)
#0043B9
Tritanopia (blue-blind)
#145171
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4f22bc;
/* rgb */ color: rgb(79, 34, 188);
/* oklch */ color: oklch(42.7% 0.216 286.1);
Tailwind
colors: {
  custom: {
    50: '#8e65d2',
    500: '#4f22bc',
    950: '#000000',
  },
}
SCSS
$custom: #4f22bc;
$custom-light: #8e65d2;
$custom-dark: #000000;
JSON
{
  "hex": "#4f22bc",
  "rgb": {
    "r": 79,
    "g": 34,
    "b": 188
  },
  "hsl": {
    "h": 257.532,
    "s": 69.369,
    "l": 43.529
  },
  "oklch": {
    "l": 0.42657,
    "c": 0.2165,
    "h": 286.1
  },
  "luminance": 0.06437
}

Semantic roles & 50–950 ramp

primary
#4F22BC
secondary
#B1CD6D
accent
#EC3CB9
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0E0614
muted
#7E7A83

Preview Lab

Preview with #4F22BC

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

Preview Lab → · Contrast checker → · Palette generator →

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