#4F2B89#4F2B89

#4F2B89 is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.0% C 0.148 H 296.4°. Best body text is #FFFFFF at 10.30:1 contrast (WCAG AA passes).

Color values

HEX#4F2B89
RGBrgb(79, 43, 137)
HSLhsl(263, 52%, 35%)
HSVhsv(263, 69%, 54%)
CMYKcmyk(42.3%, 68.6%, 0%, 46.3%)
CIE-LABlab(27.29, 37.91, -46.54)
CIE-LCHlch(27.29, 60.03, 309.17°)
OKLaboklab(38.97% 0.066 -0.1328)
OKLCHoklch(38.97% 0.148 296.4)
XYZxyz(8.6025, 5.1960, 24.2118)
Luminance0.0520 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2B89 #65892B
analogous
#2B3689 #4F2B89 #7E2B89
triadic
#4F2B89 #894F2B #2B894F
tetradic
#4F2B89 #892B36 #65892B #2B897E
square
#4F2B89 #892B36 #65892B #2B897E
split-complementary
#4F2B89 #897E2B #36892B
monochromatic
#190E2C #341C5A #4F2B89 #6A3AB8 #8B61CD

Accessibility & contrast

On white

10.30
#4F2B89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#4F2B89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2B89
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2B89#FFFFFF#000000##FFFFFF
##4F2B891.0010.302.0410.30
#FFFFFF10.301.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.301.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4f2b89;
/* rgb */ color: rgb(79, 43, 137);
/* oklch */ color: oklch(39.0% 0.148 296.4);
Tailwind
colors: {
  custom: {
    50: '#8567ac',
    500: '#4f2b89',
    950: '#000000',
  },
}
SCSS
$custom: #4f2b89;
$custom-light: #8567ac;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2b89",
  "rgb": {
    "r": 79,
    "g": 43,
    "b": 137
  },
  "hsl": {
    "h": 262.979,
    "s": 52.222,
    "l": 35.294
  },
  "oklch": {
    "l": 0.38971,
    "c": 0.14836,
    "h": 296.4
  },
  "luminance": 0.05196
}

Semantic roles & 50–950 ramp

primary
#4F2B89
secondary
#92B35C
accent
#DC4CA5
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #4F2B89

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

Preview Lab → · Contrast checker → · Palette generator →

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