#4F2E8B#4F2E8B

#4F2E8B is a dark, vivid violet. Relative luminance 0.055; OKLCH L 39.6% C 0.147 H 295.2°. Best body text is #FFFFFF at 10.02:1 contrast (WCAG AA passes).

Color values

HEX#4F2E8B
RGBrgb(79, 46, 139)
HSLhsl(261, 50%, 36%)
HSVhsv(261, 67%, 55%)
CMYKcmyk(43.2%, 66.9%, 0%, 45.5%)
CIE-LABlab(28.06, 36.79, -46.52)
CIE-LCHlch(28.06, 59.31, 308.34°)
OKLaboklab(39.58% 0.0624 -0.1328)
OKLCHoklch(39.58% 0.147 295.2)
XYZxyz(8.8604, 5.4801, 25.0120)
Luminance0.0548 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2E8B #6A8B2E
analogous
#2E3C8B #4F2E8B #7E2E8B
triadic
#4F2E8B #8B4F2E #2E8B4F
tetradic
#4F2E8B #8B2E3C #6A8B2E #2E8B7E
square
#4F2E8B #8B2E3C #6A8B2E #2E8B7E
split-complementary
#4F2E8B #8B7E2E #3C8B2E
monochromatic
#1B102F #351F5D #4F2E8B #693DB9 #8B67CD

Accessibility & contrast

On white

10.02
#4F2E8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#4F2E8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2E8B
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2E8B#FFFFFF#000000##FFFFFF
##4F2E8B1.0010.022.1010.02
#FFFFFF10.021.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438E
Deuteranopia (green-blind)
#004189
Tritanopia (blue-blind)
#3F4458
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4f2e8b;
/* rgb */ color: rgb(79, 46, 139);
/* oklch */ color: oklch(39.6% 0.147 295.2);
Tailwind
colors: {
  custom: {
    50: '#8569ae',
    500: '#4f2e8b',
    950: '#000000',
  },
}
SCSS
$custom: #4f2e8b;
$custom-light: #8569ae;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2e8b",
  "rgb": {
    "r": 79,
    "g": 46,
    "b": 139
  },
  "hsl": {
    "h": 261.29,
    "s": 50.27,
    "l": 36.275
  },
  "oklch": {
    "l": 0.39579,
    "c": 0.14673,
    "h": 295.2
  },
  "luminance": 0.0548
}

Semantic roles & 50–950 ramp

primary
#4F2E8B
secondary
#96B361
accent
#DA4EA8
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #4F2E8B

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

Preview Lab → · Contrast checker → · Palette generator →

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