#4F2996#4F2996

#4F2996 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.8% C 0.167 H 293.3°. Best body text is #FFFFFF at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#4F2996
RGBrgb(79, 41, 150)
HSLhsl(261, 57%, 37%)
HSVhsv(261, 73%, 59%)
CMYKcmyk(47.3%, 72.7%, 0%, 41.2%)
CIE-LABlab(27.98, 42.64, -53.44)
CIE-LCHlch(27.98, 68.37, 308.59°)
OKLaboklab(39.8% 0.0658 -0.1531)
OKLCHoklch(39.8% 0.167 293.3)
XYZxyz(9.5209, 5.4499, 29.3985)
Luminance0.0545 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2996 #709629
analogous
#293A96 #4F2996 #852996
triadic
#4F2996 #964F29 #29964F
tetradic
#4F2996 #96293A #709629 #299685
square
#4F2996 #96293A #709629 #299685
split-complementary
#4F2996 #968529 #3A9629
monochromatic
#1C0F36 #361C66 #4F2996 #6836C6 #8C65D5

Accessibility & contrast

On white

10.05
#4F2996 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#4F2996 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2996
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2996#FFFFFF#000000##FFFFFF
##4F29961.0010.052.0910.05
#FFFFFF10.051.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004399
Deuteranopia (green-blind)
#004094
Tritanopia (blue-blind)
#3A455D
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4f2996;
/* rgb */ color: rgb(79, 41, 150);
/* oklch */ color: oklch(39.8% 0.167 293.3);
Tailwind
colors: {
  custom: {
    50: '#8766b6',
    500: '#4f2996',
    950: '#000000',
  },
}
SCSS
$custom: #4f2996;
$custom-light: #8766b6;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2996",
  "rgb": {
    "r": 79,
    "g": 41,
    "b": 150
  },
  "hsl": {
    "h": 260.917,
    "s": 57.068,
    "l": 37.451
  },
  "oklch": {
    "l": 0.39804,
    "c": 0.16668,
    "h": 293.3
  },
  "luminance": 0.0545
}

Semantic roles & 50–950 ramp

primary
#4F2996
secondary
#9BBB60
accent
#E047AB
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #4F2996

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

Preview Lab → · Contrast checker → · Palette generator →

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