#4F2E8A#4F2E8A

#4F2E8A is a dark, vivid violet. Relative luminance 0.055; OKLCH L 39.5% C 0.145 H 295.4°. Best body text is #FFFFFF at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#4F2E8A
RGBrgb(79, 46, 138)
HSLhsl(262, 50%, 36%)
HSVhsv(262, 67%, 54%)
CMYKcmyk(42.8%, 66.7%, 0%, 45.9%)
CIE-LABlab(27.98, 36.51, -46.03)
CIE-LCHlch(27.98, 58.75, 308.42°)
OKLaboklab(39.5% 0.0625 -0.1314)
OKLCHoklch(39.5% 0.145 295.4)
XYZxyz(8.7877, 5.4510, 24.6290)
Luminance0.0545 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2E8A #698A2E
analogous
#2E3B8A #4F2E8A #7D2E8A
triadic
#4F2E8A #8A4F2E #2E8A4F
tetradic
#4F2E8A #8A2E3B #698A2E #2E8A7D
square
#4F2E8A #8A2E3B #698A2E #2E8A7D
split-complementary
#4F2E8A #8A7D2E #3B8A2E
monochromatic
#1A0F2E #351F5C #4F2E8A #693DB8 #8B66CC

Accessibility & contrast

On white

10.05
#4F2E8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#4F2E8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2E8A
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2E8A#FFFFFF#000000##FFFFFF
##4F2E8A1.0010.052.0910.05
#FFFFFF10.051.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438D
Deuteranopia (green-blind)
#004188
Tritanopia (blue-blind)
#404358
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4f2e8a;
/* rgb */ color: rgb(79, 46, 138);
/* oklch */ color: oklch(39.5% 0.145 295.4);
Tailwind
colors: {
  custom: {
    50: '#8569ad',
    500: '#4f2e8a',
    950: '#000000',
  },
}
SCSS
$custom: #4f2e8a;
$custom-light: #8569ad;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2e8a",
  "rgb": {
    "r": 79,
    "g": 46,
    "b": 138
  },
  "hsl": {
    "h": 261.522,
    "s": 50,
    "l": 36.078
  },
  "oklch": {
    "l": 0.39498,
    "c": 0.14547,
    "h": 295.4
  },
  "luminance": 0.05451
}

Semantic roles & 50–950 ramp

primary
#4F2E8A
secondary
#95B361
accent
#DA4EA8
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #4F2E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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