#4F20AE#4F20AE

#4F20AE is a dark, highly saturated violet. Relative luminance 0.058; OKLCH L 41.0% C 0.203 H 289.0°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#4F20AE
RGBrgb(79, 32, 174)
HSLhsl(260, 69%, 40%)
HSVhsv(260, 82%, 68%)
CMYKcmyk(54.6%, 81.6%, 0%, 31.8%)
CIE-LABlab(28.77, 53.43, -66.69)
CIE-LCHlch(28.77, 85.46, 308.70°)
OKLaboklab(41.05% 0.0661 -0.1919)
OKLCHoklch(41.05% 0.203 289)
XYZxyz(11.3787, 5.7507, 40.5466)
Luminance0.0575 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F20AE #7FAE20
analogous
#2038AE #4F20AE #9620AE
triadic
#4F20AE #AE4F20 #20AE4F
tetradic
#4F20AE #AE2038 #7FAE20 #20AE96
square
#4F20AE #AE2038 #7FAE20 #20AE96
split-complementary
#4F20AE #AE9620 #38AE20
monochromatic
#200D47 #38167A #4F20AE #6932D9 #8F66E3

Accessibility & contrast

On white

9.77
#4F20AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#4F20AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F20AE
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F20AE#FFFFFF#000000##FFFFFF
##4F20AE1.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047B2
Deuteranopia (green-blind)
#0040AB
Tritanopia (blue-blind)
#284B68
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #4f20ae;
/* rgb */ color: rgb(79, 32, 174);
/* oklch */ color: oklch(41.0% 0.203 289.0);
Tailwind
colors: {
  custom: {
    50: '#8b63c7',
    500: '#4f20ae',
    950: '#000000',
  },
}
SCSS
$custom: #4f20ae;
$custom-light: #8b63c7;
$custom-dark: #000000;
JSON
{
  "hex": "#4f20ae",
  "rgb": {
    "r": 79,
    "g": 32,
    "b": 174
  },
  "hsl": {
    "h": 259.859,
    "s": 68.932,
    "l": 40.392
  },
  "oklch": {
    "l": 0.41047,
    "c": 0.20294,
    "h": 289
  },
  "luminance": 0.05751
}

Semantic roles & 50–950 ramp

primary
#4F20AE
secondary
#A6C862
accent
#EC3CB2
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #4F20AE

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

Preview Lab → · Contrast checker → · Palette generator →

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