#4F2282#4F2282

#4F2282 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.2% C 0.152 H 300.5°. Best body text is #FFFFFF at 11.15:1 contrast (WCAG AA passes).

Color values

HEX#4F2282
RGBrgb(79, 34, 130)
HSLhsl(268, 59%, 32%)
HSVhsv(268, 74%, 51%)
CMYKcmyk(39.2%, 73.8%, 0%, 49%)
CIE-LABlab(25.01, 40.75, -45.86)
CIE-LCHlch(25.01, 61.35, 311.63°)
OKLaboklab(37.17% 0.077 -0.1308)
OKLCHoklch(37.17% 0.152 300.5)
XYZxyz(7.8247, 4.4180, 21.5553)
Luminance0.0442 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2282 #558222
analogous
#222582 #4F2282 #7F2282
triadic
#4F2282 #824F22 #22824F
tetradic
#4F2282 #822225 #558222 #22827F
square
#4F2282 #822225 #558222 #22827F
split-complementary
#4F2282 #827F22 #258222
monochromatic
#140921 #321551 #4F2282 #6C2FB3 #8B4ED1

Accessibility & contrast

On white

11.15
#4F2282 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#4F2282 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2282
11.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2282#FFFFFF#000000##FFFFFF
##4F22821.0011.151.8811.15
#FFFFFF11.151.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B85
Deuteranopia (green-blind)
#003B80
Tritanopia (blue-blind)
#443A50
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #4f2282;
/* rgb */ color: rgb(79, 34, 130);
/* oklch */ color: oklch(37.2% 0.152 300.5);
Tailwind
colors: {
  custom: {
    50: '#8561a7',
    500: '#4f2282',
    950: '#000000',
  },
}
SCSS
$custom: #4f2282;
$custom-light: #8561a7;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2282",
  "rgb": {
    "r": 79,
    "g": 34,
    "b": 130
  },
  "hsl": {
    "h": 268.125,
    "s": 58.537,
    "l": 32.157
  },
  "oklch": {
    "l": 0.37166,
    "c": 0.15181,
    "h": 300.5
  },
  "luminance": 0.04418
}

Semantic roles & 50–950 ramp

primary
#4F2282
secondary
#83B44C
accent
#E24699
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #4F2282

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

Preview Lab → · Contrast checker → · Palette generator →

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