#4F2B91#4F2B91

#4F2B91 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.6% C 0.158 H 294.2°. Best body text is #FFFFFF at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#4F2B91
RGBrgb(79, 43, 145)
HSLhsl(261, 54%, 37%)
HSVhsv(261, 70%, 57%)
CMYKcmyk(45.5%, 70.3%, 0%, 43.1%)
CIE-LABlab(27.94, 40.17, -50.43)
CIE-LCHlch(27.94, 64.47, 308.54°)
OKLaboklab(39.64% 0.0648 -0.1443)
OKLCHoklch(39.64% 0.158 294.2)
XYZxyz(9.1978, 5.4341, 27.3468)
Luminance0.0543 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2B91 #6D912B
analogous
#2B3A91 #4F2B91 #822B91
triadic
#4F2B91 #914F2B #2B914F
tetradic
#4F2B91 #912B3A #6D912B #2B9182
square
#4F2B91 #912B3A #6D912B #2B9182
split-complementary
#4F2B91 #91822B #3A912B
monochromatic
#1C0F33 #351D62 #4F2B91 #6939C0 #8B65D1

Accessibility & contrast

On white

10.06
#4F2B91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F2B91
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2B91#FFFFFF#000000##FFFFFF
##4F2B911.0010.062.0910.06
#FFFFFF10.061.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004394
Deuteranopia (green-blind)
#00408F
Tritanopia (blue-blind)
#3C445A
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4f2b91;
/* rgb */ color: rgb(79, 43, 145);
/* oklch */ color: oklch(39.6% 0.158 294.2);
Tailwind
colors: {
  custom: {
    50: '#8667b2',
    500: '#4f2b91',
    950: '#000000',
  },
}
SCSS
$custom: #4f2b91;
$custom-light: #8667b2;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2b91",
  "rgb": {
    "r": 79,
    "g": 43,
    "b": 145
  },
  "hsl": {
    "h": 261.176,
    "s": 54.255,
    "l": 36.863
  },
  "oklch": {
    "l": 0.39642,
    "c": 0.15819,
    "h": 294.2
  },
  "luminance": 0.05434
}

Semantic roles & 50–950 ramp

primary
#4F2B91
secondary
#99B860
accent
#DE4AAA
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #4F2B91

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

Preview Lab → · Contrast checker → · Palette generator →

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