#4F2C8E#4F2C8E

#4F2C8E is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.5% C 0.153 H 294.8°. Best body text is #FFFFFF at 10.08:1 contrast (WCAG AA passes).

Color values

HEX#4F2C8E
RGBrgb(79, 44, 142)
HSLhsl(261, 53%, 36%)
HSVhsv(261, 69%, 56%)
CMYKcmyk(44.4%, 69%, 0%, 44.3%)
CIE-LABlab(27.89, 38.77, -48.66)
CIE-LCHlch(27.89, 62.21, 308.55°)
OKLaboklab(39.53% 0.0642 -0.1391)
OKLCHoklch(39.53% 0.153 294.8)
XYZxyz(9.0063, 5.4164, 26.1569)
Luminance0.0542 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2C8E #6B8E2C
analogous
#2C3A8E #4F2C8E #802C8E
triadic
#4F2C8E #8E4F2C #2C8E4F
tetradic
#4F2C8E #8E2C3A #6B8E2C #2C8E80
square
#4F2C8E #8E2C3A #6B8E2C #2C8E80
split-complementary
#4F2C8E #8E802C #3A8E2C
monochromatic
#1B0F31 #351E5F #4F2C8E #693ABD #8B65CF

Accessibility & contrast

On white

10.08
#4F2C8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#4F2C8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2C8E
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2C8E#FFFFFF#000000##FFFFFF
##4F2C8E1.0010.082.0810.08
#FFFFFF10.081.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004391
Deuteranopia (green-blind)
#00408C
Tritanopia (blue-blind)
#3E4459
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4f2c8e;
/* rgb */ color: rgb(79, 44, 142);
/* oklch */ color: oklch(39.5% 0.153 294.8);
Tailwind
colors: {
  custom: {
    50: '#8668b0',
    500: '#4f2c8e',
    950: '#000000',
  },
}
SCSS
$custom: #4f2c8e;
$custom-light: #8668b0;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2c8e",
  "rgb": {
    "r": 79,
    "g": 44,
    "b": 142
  },
  "hsl": {
    "h": 261.429,
    "s": 52.688,
    "l": 36.471
  },
  "oklch": {
    "l": 0.3953,
    "c": 0.1532,
    "h": 294.8
  },
  "luminance": 0.05417
}

Semantic roles & 50–950 ramp

primary
#4F2C8E
secondary
#97B660
accent
#DC4CA9
background
#F8F6FA
surface
#F0EBF5
border
#CBC6CF
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #4F2C8E

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

Preview Lab → · Contrast checker → · Palette generator →

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