#4F2A89#4F2A89

#4F2A89 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 38.8% C 0.150 H 296.6°. Best body text is #FFFFFF at 10.37:1 contrast (WCAG AA passes).

Color values

HEX#4F2A89
RGBrgb(79, 42, 137)
HSLhsl(263, 53%, 35%)
HSVhsv(263, 69%, 54%)
CMYKcmyk(42.3%, 69.3%, 0%, 46.3%)
CIE-LABlab(27.09, 38.46, -46.86)
CIE-LCHlch(27.09, 60.63, 309.38°)
OKLaboklab(38.83% 0.0672 -0.1338)
OKLCHoklch(38.83% 0.15 296.6)
XYZxyz(8.5666, 5.1242, 24.1998)
Luminance0.0512 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2A89 #64892A
analogous
#2A3589 #4F2A89 #7E2A89
triadic
#4F2A89 #894F2A #2A894F
tetradic
#4F2A89 #892A35 #64892A #2A897E
square
#4F2A89 #892A35 #64892A #2A897E
split-complementary
#4F2A89 #897E2A #35892A
monochromatic
#190D2B #341C5A #4F2A89 #6A38B8 #8A5FCE

Accessibility & contrast

On white

10.37
#4F2A89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#4F2A89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2A89
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2A89#FFFFFF#000000##FFFFFF
##4F2A891.0010.372.0210.37
#FFFFFF10.371.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408C
Deuteranopia (green-blind)
#003F87
Tritanopia (blue-blind)
#404156
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #4f2a89;
/* rgb */ color: rgb(79, 42, 137);
/* oklch */ color: oklch(38.8% 0.150 296.6);
Tailwind
colors: {
  custom: {
    50: '#8566ac',
    500: '#4f2a89',
    950: '#000000',
  },
}
SCSS
$custom: #4f2a89;
$custom-light: #8566ac;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2a89",
  "rgb": {
    "r": 79,
    "g": 42,
    "b": 137
  },
  "hsl": {
    "h": 263.368,
    "s": 53.073,
    "l": 35.098
  },
  "oklch": {
    "l": 0.38827,
    "c": 0.14971,
    "h": 296.6
  },
  "luminance": 0.05124
}

Semantic roles & 50–950 ramp

primary
#4F2A89
secondary
#91B45B
accent
#DC4BA4
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #4F2A89

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

Preview Lab → · Contrast checker → · Palette generator →

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