#4F2DA9#4F2DA9

#4F2DA9 is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.0% C 0.185 H 288.3°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#4F2DA9
RGBrgb(79, 45, 169)
HSLhsl(256, 58%, 42%)
HSVhsv(256, 73%, 66%)
CMYKcmyk(53.3%, 73.4%, 0%, 33.7%)
CIE-LABlab(30.41, 45.99, -61.01)
CIE-LCHlch(30.41, 76.40, 307.01°)
OKLaboklab(42.04% 0.058 -0.1753)
OKLCHoklch(42.04% 0.185 288.3)
XYZxyz(11.3222, 6.4031, 38.1678)
Luminance0.0640 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2DA9 #87A92D
analogous
#2D49A9 #4F2DA9 #8D2DA9
triadic
#4F2DA9 #A94F2D #2DA94F
tetradic
#4F2DA9 #A92D49 #87A92D #2DA98D
square
#4F2DA9 #A92D49 #87A92D #2DA98D
split-complementary
#4F2DA9 #A98D2D #49A92D
monochromatic
#221348 #382079 #4F2DA9 #6B46CE #9176DA

Accessibility & contrast

On white

9.21
#4F2DA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#4F2DA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2DA9
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2DA9#FFFFFF#000000##FFFFFF
##4F2DA91.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AAD
Deuteranopia (green-blind)
#0044A7
Tritanopia (blue-blind)
#2C4E68
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4f2da9;
/* rgb */ color: rgb(79, 45, 169);
/* oklch */ color: oklch(42.0% 0.185 288.3);
Tailwind
colors: {
  custom: {
    50: '#8a69c4',
    500: '#4f2da9',
    950: '#000000',
  },
}
SCSS
$custom: #4f2da9;
$custom-light: #8a69c4;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2da9",
  "rgb": {
    "r": 79,
    "g": 45,
    "b": 169
  },
  "hsl": {
    "h": 256.452,
    "s": 57.944,
    "l": 41.961
  },
  "oklch": {
    "l": 0.42043,
    "c": 0.18469,
    "h": 288.3
  },
  "luminance": 0.06404
}

Semantic roles & 50–950 ramp

primary
#4F2DA9
secondary
#ACC26F
accent
#E147B7
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #4F2DA9

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

Preview Lab → · Contrast checker → · Palette generator →

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