#4F2AAF#4F2AAF

#4F2AAF is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.2% C 0.195 H 287.6°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#4F2AAF
RGBrgb(79, 42, 175)
HSLhsl(257, 61%, 43%)
HSVhsv(257, 76%, 69%)
CMYKcmyk(54.9%, 76%, 0%, 31.4%)
CIE-LABlab(30.43, 49.21, -64.57)
CIE-LCHlch(30.43, 81.18, 307.32°)
OKLaboklab(42.23% 0.0589 -0.1857)
OKLCHoklch(42.23% 0.195 287.6)
XYZxyz(11.7880, 6.4127, 41.1658)
Luminance0.0641 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2AAF #8AAF2A
analogous
#2A47AF #4F2AAF #922AAF
triadic
#4F2AAF #AF4F2A #2AAF4F
tetradic
#4F2AAF #AF2A47 #8AAF2A #2AAF92
square
#4F2AAF #AF2A47 #8AAF2A #2AAF92
split-complementary
#4F2AAF #AF922A #47AF2A
monochromatic
#22124C #391E7E #4F2AAF #6C44D2 #9375DE

Accessibility & contrast

On white

9.20
#4F2AAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F2AAF
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2AAF#FFFFFF#000000##FFFFFF
##4F2AAF1.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB3
Deuteranopia (green-blind)
#0044AD
Tritanopia (blue-blind)
#264F6B
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4f2aaf;
/* rgb */ color: rgb(79, 42, 175);
/* oklch */ color: oklch(42.2% 0.195 287.6);
Tailwind
colors: {
  custom: {
    50: '#8b68c8',
    500: '#4f2aaf',
    950: '#000000',
  },
}
SCSS
$custom: #4f2aaf;
$custom-light: #8b68c8;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2aaf",
  "rgb": {
    "r": 79,
    "g": 42,
    "b": 175
  },
  "hsl": {
    "h": 256.692,
    "s": 61.29,
    "l": 42.549
  },
  "oklch": {
    "l": 0.42229,
    "c": 0.19486,
    "h": 287.6
  },
  "luminance": 0.06413
}

Semantic roles & 50–950 ramp

primary
#4F2AAF
secondary
#AEC66F
accent
#E443B8
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #4F2AAF

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

Preview Lab → · Contrast checker → · Palette generator →

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