#4F2C8A#4F2C8A

#4F2C8A is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.2% C 0.148 H 295.9°. Best body text is #FFFFFF at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#4F2C8A
RGBrgb(79, 44, 138)
HSLhsl(262, 52%, 36%)
HSVhsv(262, 68%, 54%)
CMYKcmyk(42.8%, 68.1%, 0%, 45.9%)
CIE-LABlab(27.57, 37.64, -46.70)
CIE-LCHlch(27.57, 59.98, 308.87°)
OKLaboklab(39.2% 0.0648 -0.1333)
OKLCHoklch(39.2% 0.148 295.9)
XYZxyz(8.7114, 5.2984, 24.6036)
Luminance0.0530 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2C8A #678A2C
analogous
#2C388A #4F2C8A #7E2C8A
triadic
#4F2C8A #8A4F2C #2C8A4F
tetradic
#4F2C8A #8A2C38 #678A2C #2C8A7E
square
#4F2C8A #8A2C38 #678A2C #2C8A7E
split-complementary
#4F2C8A #8A7E2C #388A2C
monochromatic
#1A0E2D #341D5C #4F2C8A #6A3BB8 #8B63CD

Accessibility & contrast

On white

10.20
#4F2C8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#4F2C8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2C8A
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2C8A#FFFFFF#000000##FFFFFF
##4F2C8A1.0010.202.0610.20
#FFFFFF10.201.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428D
Deuteranopia (green-blind)
#004088
Tritanopia (blue-blind)
#404257
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4f2c8a;
/* rgb */ color: rgb(79, 44, 138);
/* oklch */ color: oklch(39.2% 0.148 295.9);
Tailwind
colors: {
  custom: {
    50: '#8568ad',
    500: '#4f2c8a',
    950: '#000000',
  },
}
SCSS
$custom: #4f2c8a;
$custom-light: #8568ad;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2c8a",
  "rgb": {
    "r": 79,
    "g": 44,
    "b": 138
  },
  "hsl": {
    "h": 262.34,
    "s": 51.648,
    "l": 35.686
  },
  "oklch": {
    "l": 0.39199,
    "c": 0.14824,
    "h": 295.9
  },
  "luminance": 0.05299
}

Semantic roles & 50–950 ramp

primary
#4F2C8A
secondary
#94B45E
accent
#DB4DA6
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #4F2C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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