#4F2B96#4F2B96

#4F2B96 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.1% C 0.164 H 292.9°. Best body text is #FFFFFF at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#4F2B96
RGBrgb(79, 43, 150)
HSLhsl(260, 55%, 38%)
HSVhsv(260, 71%, 59%)
CMYKcmyk(47.3%, 71.3%, 0%, 41.2%)
CIE-LABlab(28.36, 41.59, -52.82)
CIE-LCHlch(28.36, 67.23, 308.21°)
OKLaboklab(40.07% 0.0639 -0.1513)
OKLCHoklch(40.07% 0.164 292.9)
XYZxyz(9.5918, 5.5917, 29.4222)
Luminance0.0559 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2B96 #72962B
analogous
#2B3C96 #4F2B96 #842B96
triadic
#4F2B96 #964F2B #2B964F
tetradic
#4F2B96 #962B3C #72962B #2B9684
square
#4F2B96 #962B3C #72962B #2B9684
split-complementary
#4F2B96 #96842B #3C962B
monochromatic
#1D1037 #361D66 #4F2B96 #6839C6 #8C68D4

Accessibility & contrast

On white

9.91
#4F2B96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#4F2B96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2B96
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2B96#FFFFFF#000000##FFFFFF
##4F2B961.009.912.129.91
#FFFFFF9.911.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004499
Deuteranopia (green-blind)
#004194
Tritanopia (blue-blind)
#3A465D
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4f2b96;
/* rgb */ color: rgb(79, 43, 150);
/* oklch */ color: oklch(40.1% 0.164 292.9);
Tailwind
colors: {
  custom: {
    50: '#8767b6',
    500: '#4f2b96',
    950: '#000000',
  },
}
SCSS
$custom: #4f2b96;
$custom-light: #8767b6;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2b96",
  "rgb": {
    "r": 79,
    "g": 43,
    "b": 150
  },
  "hsl": {
    "h": 260.187,
    "s": 55.44,
    "l": 37.843
  },
  "oklch": {
    "l": 0.40073,
    "c": 0.16426,
    "h": 292.9
  },
  "luminance": 0.05592
}

Semantic roles & 50–950 ramp

primary
#4F2B96
secondary
#9DBA63
accent
#DF49AC
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #4F2B96

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

Preview Lab → · Contrast checker → · Palette generator →

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