#4F20AF#4F20AF

#4F20AF is a dark, highly saturated violet. Relative luminance 0.058; OKLCH L 41.1% C 0.204 H 288.8°. Best body text is #FFFFFF at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#4F20AF
RGBrgb(79, 32, 175)
HSLhsl(260, 69%, 41%)
HSVhsv(260, 82%, 69%)
CMYKcmyk(54.9%, 81.7%, 0%, 31.4%)
CIE-LABlab(28.88, 53.70, -67.12)
CIE-LCHlch(28.88, 85.96, 308.66°)
OKLaboklab(41.15% 0.0658 -0.1931)
OKLCHoklch(41.15% 0.204 288.8)
XYZxyz(11.4766, 5.7899, 41.0620)
Luminance0.0579 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F20AF #80AF20
analogous
#2039AF #4F20AF #9620AF
triadic
#4F20AF #AF4F20 #20AF4F
tetradic
#4F20AF #AF2039 #80AF20 #20AF96
square
#4F20AF #AF2039 #80AF20 #20AF96
split-complementary
#4F20AF #AF9620 #39AF20
monochromatic
#200D48 #38177B #4F20AF #6933DA #8F66E3

Accessibility & contrast

On white

9.73
#4F20AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#4F20AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F20AF
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F20AF#FFFFFF#000000##FFFFFF
##4F20AF1.009.732.169.73
#FFFFFF9.731.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047B3
Deuteranopia (green-blind)
#0040AC
Tritanopia (blue-blind)
#274B69
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #4f20af;
/* rgb */ color: rgb(79, 32, 175);
/* oklch */ color: oklch(41.1% 0.204 288.8);
Tailwind
colors: {
  custom: {
    50: '#8c63c8',
    500: '#4f20af',
    950: '#000000',
  },
}
SCSS
$custom: #4f20af;
$custom-light: #8c63c8;
$custom-dark: #000000;
JSON
{
  "hex": "#4f20af",
  "rgb": {
    "r": 79,
    "g": 32,
    "b": 175
  },
  "hsl": {
    "h": 259.72,
    "s": 69.082,
    "l": 40.588
  },
  "oklch": {
    "l": 0.41147,
    "c": 0.20403,
    "h": 288.8
  },
  "luminance": 0.0579
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4F20AF

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

Preview Lab → · Contrast checker → · Palette generator →

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