#4F2992#4F2992

#4F2992 is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.5% C 0.162 H 294.3°. Best body text is #FFFFFF at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#4F2992
RGBrgb(79, 41, 146)
HSLhsl(262, 56%, 37%)
HSVhsv(262, 72%, 57%)
CMYKcmyk(45.9%, 71.9%, 0%, 42.7%)
CIE-LABlab(27.64, 41.52, -51.54)
CIE-LCHlch(27.64, 66.18, 308.86°)
OKLaboklab(39.45% 0.0666 -0.1475)
OKLCHoklch(39.45% 0.162 294.3)
XYZxyz(9.2043, 5.3232, 27.7311)
Luminance0.0532 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2992 #6C9229
analogous
#293892 #4F2992 #842992
triadic
#4F2992 #924F29 #29924F
tetradic
#4F2992 #922938 #6C9229 #299284
square
#4F2992 #922938 #6C9229 #299284
split-complementary
#4F2992 #928429 #389229
monochromatic
#1B0E32 #351C62 #4F2992 #6936C2 #8B62D3

Accessibility & contrast

On white

10.17
#4F2992 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#4F2992 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2992
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2992#FFFFFF#000000##FFFFFF
##4F29921.0010.172.0610.17
#FFFFFF10.171.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004295
Deuteranopia (green-blind)
#003F90
Tritanopia (blue-blind)
#3C435A
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4f2992;
/* rgb */ color: rgb(79, 41, 146);
/* oklch */ color: oklch(39.5% 0.162 294.3);
Tailwind
colors: {
  custom: {
    50: '#8766b3',
    500: '#4f2992',
    950: '#000000',
  },
}
SCSS
$custom: #4f2992;
$custom-light: #8766b3;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2992",
  "rgb": {
    "r": 79,
    "g": 41,
    "b": 146
  },
  "hsl": {
    "h": 261.714,
    "s": 56.15,
    "l": 36.667
  },
  "oklch": {
    "l": 0.39453,
    "c": 0.1619,
    "h": 294.3
  },
  "luminance": 0.05323
}

Semantic roles & 50–950 ramp

primary
#4F2992
secondary
#98B95E
accent
#DF48A9
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #4F2992

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

Preview Lab → · Contrast checker → · Palette generator →

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