#4F2B94#4F2B94

#4F2B94 is a dark, vivid violet. Relative luminance 0.055; OKLCH L 39.9% C 0.162 H 293.4°. Best body text is #FFFFFF at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#4F2B94
RGBrgb(79, 43, 148)
HSLhsl(261, 55%, 37%)
HSVhsv(261, 71%, 58%)
CMYKcmyk(46.6%, 70.9%, 0%, 42%)
CIE-LABlab(28.19, 41.02, -51.87)
CIE-LCHlch(28.19, 66.13, 308.34°)
OKLaboklab(39.9% 0.0643 -0.1485)
OKLCHoklch(39.9% 0.162 293.4)
XYZxyz(9.4322, 5.5279, 28.5812)
Luminance0.0553 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2B94 #70942B
analogous
#2B3C94 #4F2B94 #832B94
triadic
#4F2B94 #944F2B #2B944F
tetradic
#4F2B94 #942B3C #70942B #2B9483
square
#4F2B94 #942B3C #70942B #2B9483
split-complementary
#4F2B94 #94832B #3C942B
monochromatic
#1C0F35 #361D65 #4F2B94 #6839C3 #8C67D3

Accessibility & contrast

On white

9.97
#4F2B94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F2B94
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2B94#FFFFFF#000000##FFFFFF
##4F2B941.009.972.119.97
#FFFFFF9.971.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004497
Deuteranopia (green-blind)
#004192
Tritanopia (blue-blind)
#3B455C
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4f2b94;
/* rgb */ color: rgb(79, 43, 148);
/* oklch */ color: oklch(39.9% 0.162 293.4);
Tailwind
colors: {
  custom: {
    50: '#8767b4',
    500: '#4f2b94',
    950: '#000000',
  },
}
SCSS
$custom: #4f2b94;
$custom-light: #8767b4;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2b94",
  "rgb": {
    "r": 79,
    "g": 43,
    "b": 148
  },
  "hsl": {
    "h": 260.571,
    "s": 54.974,
    "l": 37.451
  },
  "oklch": {
    "l": 0.39899,
    "c": 0.16183,
    "h": 293.4
  },
  "luminance": 0.05528
}

Semantic roles & 50–950 ramp

primary
#4F2B94
secondary
#9BB962
accent
#DE49AB
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #4F2B94

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

Preview Lab → · Contrast checker → · Palette generator →

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