#4F2B8B#4F2B8B

#4F2B8B is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.1% C 0.151 H 295.8°. Best body text is #FFFFFF at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#4F2B8B
RGBrgb(79, 43, 139)
HSLhsl(263, 53%, 36%)
HSVhsv(263, 69%, 55%)
CMYKcmyk(43.2%, 69.1%, 0%, 45.5%)
CIE-LABlab(27.45, 38.48, -47.52)
CIE-LCHlch(27.45, 61.14, 309.00°)
OKLaboklab(39.14% 0.0658 -0.1357)
OKLCHoklch(39.14% 0.151 295.8)
XYZxyz(8.7473, 5.2539, 24.9743)
Luminance0.0525 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2B8B #678B2B
analogous
#2B378B #4F2B8B #7F2B8B
triadic
#4F2B8B #8B4F2B #2B8B4F
tetradic
#4F2B8B #8B2B37 #678B2B #2B8B7F
square
#4F2B8B #8B2B37 #678B2B #2B8B7F
split-complementary
#4F2B8B #8B7F2B #378B2B
monochromatic
#1A0E2E #341D5C #4F2B8B #6A39BA #8B62CE

Accessibility & contrast

On white

10.24
#4F2B8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#4F2B8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2B8B
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2B8B#FFFFFF#000000##FFFFFF
##4F2B8B1.0010.242.0510.24
#FFFFFF10.241.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418E
Deuteranopia (green-blind)
#003F89
Tritanopia (blue-blind)
#3F4257
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4f2b8b;
/* rgb */ color: rgb(79, 43, 139);
/* oklch */ color: oklch(39.1% 0.151 295.8);
Tailwind
colors: {
  custom: {
    50: '#8667ae',
    500: '#4f2b8b',
    950: '#000000',
  },
}
SCSS
$custom: #4f2b8b;
$custom-light: #8667ae;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2b8b",
  "rgb": {
    "r": 79,
    "g": 43,
    "b": 139
  },
  "hsl": {
    "h": 262.5,
    "s": 52.747,
    "l": 35.686
  },
  "oklch": {
    "l": 0.39136,
    "c": 0.15083,
    "h": 295.8
  },
  "luminance": 0.05254
}

Semantic roles & 50–950 ramp

primary
#4F2B8B
secondary
#94B55D
accent
#DC4CA6
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #4F2B8B

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

Preview Lab → · Contrast checker → · Palette generator →

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