#4F2999#4F2999

#4F2999 is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.1% C 0.170 H 292.5°. Best body text is #FFFFFF at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#4F2999
RGBrgb(79, 41, 153)
HSLhsl(260, 58%, 38%)
HSVhsv(260, 73%, 60%)
CMYKcmyk(48.4%, 73.2%, 0%, 40%)
CIE-LABlab(28.24, 43.49, -54.85)
CIE-LCHlch(28.24, 70.00, 308.41°)
OKLaboklab(40.07% 0.0652 -0.1573)
OKLCHoklch(40.07% 0.17 292.5)
XYZxyz(9.7656, 5.5477, 30.6871)
Luminance0.0555 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2999 #739929
analogous
#293B99 #4F2999 #872999
triadic
#4F2999 #994F29 #29994F
tetradic
#4F2999 #99293B #739929 #299987
square
#4F2999 #99293B #739929 #299987
split-complementary
#4F2999 #998729 #3B9929
monochromatic
#1D0F38 #361C69 #4F2999 #6836C9 #8C66D6

Accessibility & contrast

On white

9.95
#4F2999 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#4F2999 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2999
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2999#FFFFFF#000000##FFFFFF
##4F29991.009.952.119.95
#FFFFFF9.951.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449C
Deuteranopia (green-blind)
#004097
Tritanopia (blue-blind)
#38465E
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4f2999;
/* rgb */ color: rgb(79, 41, 153);
/* oklch */ color: oklch(40.1% 0.170 292.5);
Tailwind
colors: {
  custom: {
    50: '#8866b8',
    500: '#4f2999',
    950: '#000000',
  },
}
SCSS
$custom: #4f2999;
$custom-light: #8866b8;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2999",
  "rgb": {
    "r": 79,
    "g": 41,
    "b": 153
  },
  "hsl": {
    "h": 260.357,
    "s": 57.732,
    "l": 38.039
  },
  "oklch": {
    "l": 0.4007,
    "c": 0.17024,
    "h": 292.5
  },
  "luminance": 0.05548
}

Semantic roles & 50–950 ramp

primary
#4F2999
secondary
#9DBC62
accent
#E147AD
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #4F2999

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

Preview Lab → · Contrast checker → · Palette generator →

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