#4F2C80#4F2C80

#4F2C80 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.4% C 0.136 H 299.0°. Best body text is #FFFFFF at 10.48:1 contrast (WCAG AA passes).

Color values

HEX#4F2C80
RGBrgb(79, 44, 128)
HSLhsl(265, 49%, 34%)
HSVhsv(265, 66%, 50%)
CMYKcmyk(38.3%, 65.6%, 0%, 49.8%)
CIE-LABlab(26.80, 34.84, -41.70)
CIE-LCHlch(26.80, 54.34, 309.88°)
OKLaboklab(38.4% 0.0659 -0.1186)
OKLCHoklch(38.4% 0.136 299)
XYZxyz(8.0204, 5.0221, 20.9647)
Luminance0.0502 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2C80 #5D802C
analogous
#2C3380 #4F2C80 #792C80
triadic
#4F2C80 #804F2C #2C804F
tetradic
#4F2C80 #802C33 #5D802C #2C8079
square
#4F2C80 #802C33 #5D802C #2C8079
split-complementary
#4F2C80 #80792C #33802C
monochromatic
#170D25 #331C52 #4F2C80 #6B3CAE #8A5FC8

Accessibility & contrast

On white

10.48
#4F2C80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#4F2C80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2C80
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2C80#FFFFFF#000000##FFFFFF
##4F2C801.0010.482.0010.48
#FFFFFF10.481.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F83
Deuteranopia (green-blind)
#043F7E
Tritanopia (blue-blind)
#443F52
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #4f2c80;
/* rgb */ color: rgb(79, 44, 128);
/* oklch */ color: oklch(38.4% 0.136 299.0);
Tailwind
colors: {
  custom: {
    50: '#8467a5',
    500: '#4f2c80',
    950: '#000000',
  },
}
SCSS
$custom: #4f2c80;
$custom-light: #8467a5;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2c80",
  "rgb": {
    "r": 79,
    "g": 44,
    "b": 128
  },
  "hsl": {
    "h": 265,
    "s": 48.837,
    "l": 33.725
  },
  "oklch": {
    "l": 0.38399,
    "c": 0.1357,
    "h": 299
  },
  "luminance": 0.05022
}

Semantic roles & 50–950 ramp

primary
#4F2C80
secondary
#8BAE5A
accent
#D84F9F
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B060F
muted
#7C7A7F

Preview Lab

Preview with #4F2C80

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

Preview Lab → · Contrast checker → · Palette generator →

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