#4F20A0#4F20A0

#4F20A0 is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.7% C 0.188 H 292.2°. Best body text is #FFFFFF at 10.26:1 contrast (WCAG AA passes).

Color values

HEX#4F20A0
RGBrgb(79, 32, 160)
HSLhsl(262, 67%, 38%)
HSVhsv(262, 80%, 63%)
CMYKcmyk(50.6%, 80%, 0%, 37.3%)
CIE-LABlab(27.39, 49.68, -60.52)
CIE-LCHlch(27.39, 78.30, 309.39°)
OKLaboklab(39.67% 0.0708 -0.1738)
OKLCHoklch(39.67% 0.188 292.2)
XYZxyz(10.0843, 5.2330, 33.7296)
Luminance0.0523 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F20A0 #71A020
analogous
#2031A0 #4F20A0 #8F20A0
triadic
#4F20A0 #A04F20 #20A04F
tetradic
#4F20A0 #A02031 #71A020 #20A08F
square
#4F20A0 #A02031 #71A020 #20A08F
split-complementary
#4F20A0 #A08F20 #31A020
monochromatic
#1D0C3A #36166D #4F20A0 #682AD3 #8C5CDE

Accessibility & contrast

On white

10.26
#4F20A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#4F20A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F20A0
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F20A0#FFFFFF#000000##FFFFFF
##4F20A01.0010.262.0510.26
#FFFFFF10.261.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A4
Deuteranopia (green-blind)
#003E9E
Tritanopia (blue-blind)
#344560
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4f20a0;
/* rgb */ color: rgb(79, 32, 160);
/* oklch */ color: oklch(39.7% 0.188 292.2);
Tailwind
colors: {
  custom: {
    50: '#8962bd',
    500: '#4f20a0',
    950: '#000000',
  },
}
SCSS
$custom: #4f20a0;
$custom-light: #8962bd;
$custom-dark: #000000;
JSON
{
  "hex": "#4f20a0",
  "rgb": {
    "r": 79,
    "g": 32,
    "b": 160
  },
  "hsl": {
    "h": 262.031,
    "s": 66.667,
    "l": 37.647
  },
  "oklch": {
    "l": 0.39669,
    "c": 0.18767,
    "h": 292.2
  },
  "luminance": 0.05233
}

Semantic roles & 50–950 ramp

primary
#4F20A0
secondary
#9CC359
accent
#EA3EAB
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0D0512
muted
#7D7A81

Preview Lab

Preview with #4F20A0

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

Preview Lab → · Contrast checker → · Palette generator →

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