#4F2A91#4F2A91

#4F2A91 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.5% C 0.159 H 294.4°. Best body text is #FFFFFF at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#4F2A91
RGBrgb(79, 42, 145)
HSLhsl(262, 55%, 37%)
HSVhsv(262, 71%, 57%)
CMYKcmyk(45.5%, 71%, 0%, 43.1%)
CIE-LABlab(27.74, 40.71, -50.75)
CIE-LCHlch(27.74, 65.06, 308.73°)
OKLaboklab(39.5% 0.0658 -0.1452)
OKLCHoklch(39.5% 0.159 294.4)
XYZxyz(9.1619, 5.3623, 27.3349)
Luminance0.0536 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2A91 #6C912A
analogous
#2A3991 #4F2A91 #832A91
triadic
#4F2A91 #914F2A #2A914F
tetradic
#4F2A91 #912A39 #6C912A #2A9183
square
#4F2A91 #912A39 #6C912A #2A9183
split-complementary
#4F2A91 #91832A #39912A
monochromatic
#1B0F32 #351C62 #4F2A91 #6938C0 #8B63D2

Accessibility & contrast

On white

10.13
#4F2A91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#4F2A91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2A91
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2A91#FFFFFF#000000##FFFFFF
##4F2A911.0010.132.0710.13
#FFFFFF10.131.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.131.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4f2a91;
/* rgb */ color: rgb(79, 42, 145);
/* oklch */ color: oklch(39.5% 0.159 294.4);
Tailwind
colors: {
  custom: {
    50: '#8767b2',
    500: '#4f2a91',
    950: '#000000',
  },
}
SCSS
$custom: #4f2a91;
$custom-light: #8767b2;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2a91",
  "rgb": {
    "r": 79,
    "g": 42,
    "b": 145
  },
  "hsl": {
    "h": 261.553,
    "s": 55.08,
    "l": 36.667
  },
  "oklch": {
    "l": 0.39503,
    "c": 0.15945,
    "h": 294.4
  },
  "luminance": 0.05363
}

Semantic roles & 50–950 ramp

primary
#4F2A91
secondary
#98B85F
accent
#DE49A9
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #4F2A91

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

Preview Lab → · Contrast checker → · Palette generator →

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