#4F2C91#4F2C91

#4F2C91 is a dark, vivid violet. Relative luminance 0.055; OKLCH L 39.8% C 0.157 H 294.0°. Best body text is #FFFFFF at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#4F2C91
RGBrgb(79, 44, 145)
HSLhsl(261, 53%, 37%)
HSVhsv(261, 70%, 57%)
CMYKcmyk(45.5%, 69.7%, 0%, 43.1%)
CIE-LABlab(28.13, 39.62, -50.11)
CIE-LCHlch(28.13, 63.88, 308.33°)
OKLaboklab(39.78% 0.0637 -0.1434)
OKLCHoklch(39.78% 0.157 294)
XYZxyz(9.2346, 5.5077, 27.3591)
Luminance0.0551 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2C91 #6E912C
analogous
#2C3C91 #4F2C91 #822C91
triadic
#4F2C91 #914F2C #2C914F
tetradic
#4F2C91 #912C3C #6E912C #2C9182
square
#4F2C91 #912C3C #6E912C #2C9182
split-complementary
#4F2C91 #91822C #3C912C
monochromatic
#1C1033 #351E62 #4F2C91 #693AC0 #8B67D1

Accessibility & contrast

On white

9.99
#4F2C91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#4F2C91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2C91
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2C91#FFFFFF#000000##FFFFFF
##4F2C911.009.992.109.99
#FFFFFF9.991.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.991.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4f2c91;
/* rgb */ color: rgb(79, 44, 145);
/* oklch */ color: oklch(39.8% 0.157 294.0);
Tailwind
colors: {
  custom: {
    50: '#8668b2',
    500: '#4f2c91',
    950: '#000000',
  },
}
SCSS
$custom: #4f2c91;
$custom-light: #8668b2;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2c91",
  "rgb": {
    "r": 79,
    "g": 44,
    "b": 145
  },
  "hsl": {
    "h": 260.792,
    "s": 53.439,
    "l": 37.059
  },
  "oklch": {
    "l": 0.39783,
    "c": 0.15689,
    "h": 294
  },
  "luminance": 0.05508
}

Semantic roles & 50–950 ramp

primary
#4F2C91
secondary
#9AB762
accent
#DD4BAA
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #4F2C91

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

Preview Lab → · Contrast checker → · Palette generator →

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