#4F2084#4F2084

#4F2084 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.1% C 0.157 H 300.2°. Best body text is #FFFFFF at 11.22:1 contrast (WCAG AA passes).

Color values

HEX#4F2084
RGBrgb(79, 32, 132)
HSLhsl(268, 61%, 32%)
HSVhsv(268, 76%, 52%)
CMYKcmyk(40.2%, 75.8%, 0%, 48.2%)
CIE-LABlab(24.83, 42.25, -47.40)
CIE-LCHlch(24.83, 63.50, 311.71°)
OKLaboklab(37.09% 0.0786 -0.1353)
OKLCHoklch(37.09% 0.157 300.2)
XYZxyz(7.9048, 4.3612, 22.2506)
Luminance0.0436 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2084 #558420
analogous
#202384 #4F2084 #812084
triadic
#4F2084 #844F20 #20844F
tetradic
#4F2084 #842023 #558420 #208481
square
#4F2084 #842023 #558420 #208481
split-complementary
#4F2084 #848120 #238420
monochromatic
#140821 #321453 #4F2084 #6C2CB5 #8B4BD3

Accessibility & contrast

On white

11.22
#4F2084 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#4F2084 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2084
11.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2084#FFFFFF#000000##FFFFFF
##4F20841.0011.221.8711.22
#FFFFFF11.221.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B87
Deuteranopia (green-blind)
#003A82
Tritanopia (blue-blind)
#433950
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #4f2084;
/* rgb */ color: rgb(79, 32, 132);
/* oklch */ color: oklch(37.1% 0.157 300.2);
Tailwind
colors: {
  custom: {
    50: '#8660a9',
    500: '#4f2084',
    950: '#000000',
  },
}
SCSS
$custom: #4f2084;
$custom-light: #8660a9;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2084",
  "rgb": {
    "r": 79,
    "g": 32,
    "b": 132
  },
  "hsl": {
    "h": 268.2,
    "s": 60.976,
    "l": 32.157
  },
  "oklch": {
    "l": 0.37094,
    "c": 0.15653,
    "h": 300.2
  },
  "luminance": 0.04361
}

Semantic roles & 50–950 ramp

primary
#4F2084
secondary
#83B64A
accent
#E44499
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #4F2084

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

Preview Lab → · Contrast checker → · Palette generator →

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