#4F2AA9#4F2AA9

#4F2AA9 is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.7% C 0.188 H 288.8°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#4F2AA9
RGBrgb(79, 42, 169)
HSLhsl(257, 60%, 41%)
HSVhsv(257, 75%, 66%)
CMYKcmyk(53.3%, 75.1%, 0%, 33.7%)
CIE-LABlab(29.87, 47.51, -61.89)
CIE-LCHlch(29.87, 78.02, 307.51°)
OKLaboklab(41.66% 0.0605 -0.1779)
OKLCHoklch(41.66% 0.188 288.8)
XYZxyz(11.2118, 6.1822, 38.1309)
Luminance0.0618 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2AA9 #84A92A
analogous
#2A45A9 #4F2AA9 #8F2AA9
triadic
#4F2AA9 #A94F2A #2AA94F
tetradic
#4F2AA9 #A92A45 #84A92A #2AA98F
square
#4F2AA9 #A92A45 #84A92A #2AA98F
split-complementary
#4F2AA9 #A98F2A #45A92A
monochromatic
#211247 #381E78 #4F2AA9 #6A41D0 #9172DC

Accessibility & contrast

On white

9.39
#4F2AA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#4F2AA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2AA9
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2AA9#FFFFFF#000000##FFFFFF
##4F2AA91.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AD
Deuteranopia (green-blind)
#0043A7
Tritanopia (blue-blind)
#2C4D67
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #4f2aa9;
/* rgb */ color: rgb(79, 42, 169);
/* oklch */ color: oklch(41.7% 0.188 288.8);
Tailwind
colors: {
  custom: {
    50: '#8a68c4',
    500: '#4f2aa9',
    950: '#000000',
  },
}
SCSS
$custom: #4f2aa9;
$custom-light: #8a68c4;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2aa9",
  "rgb": {
    "r": 79,
    "g": 42,
    "b": 169
  },
  "hsl": {
    "h": 257.48,
    "s": 60.19,
    "l": 41.373
  },
  "oklch": {
    "l": 0.41662,
    "c": 0.18792,
    "h": 288.8
  },
  "luminance": 0.06183
}

Semantic roles & 50–950 ramp

primary
#4F2AA9
secondary
#AAC36C
accent
#E344B5
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #4F2AA9

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

Preview Lab → · Contrast checker → · Palette generator →

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