#4F2082#4F2082

#4F2082 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.9% C 0.154 H 300.8°. Best body text is #FFFFFF at 11.28:1 contrast (WCAG AA passes).

Color values

HEX#4F2082
RGBrgb(79, 32, 130)
HSLhsl(269, 60%, 32%)
HSVhsv(269, 75%, 51%)
CMYKcmyk(39.2%, 75.4%, 0%, 49%)
CIE-LABlab(24.66, 41.73, -46.42)
CIE-LCHlch(24.66, 62.42, 311.95°)
OKLaboklab(36.92% 0.0791 -0.1325)
OKLCHoklch(36.92% 0.154 300.8)
XYZxyz(7.7692, 4.3069, 21.5368)
Luminance0.0431 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2082 #538220
analogous
#202282 #4F2082 #802082
triadic
#4F2082 #824F20 #20824F
tetradic
#4F2082 #822022 #538220 #208280
square
#4F2082 #822022 #538220 #208280
split-complementary
#4F2082 #828020 #228220
monochromatic
#130820 #311451 #4F2082 #6D2CB3 #8B4AD2

Accessibility & contrast

On white

11.28
#4F2082 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#4F2082 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2082
11.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2082#FFFFFF#000000##FFFFFF
##4F20821.0011.281.8611.28
#FFFFFF11.281.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A85
Deuteranopia (green-blind)
#003A80
Tritanopia (blue-blind)
#44394F
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #4f2082;
/* rgb */ color: rgb(79, 32, 130);
/* oklch */ color: oklch(36.9% 0.154 300.8);
Tailwind
colors: {
  custom: {
    50: '#8560a7',
    500: '#4f2082',
    950: '#000000',
  },
}
SCSS
$custom: #4f2082;
$custom-light: #8560a7;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2082",
  "rgb": {
    "r": 79,
    "g": 32,
    "b": 130
  },
  "hsl": {
    "h": 268.776,
    "s": 60.494,
    "l": 31.765
  },
  "oklch": {
    "l": 0.36921,
    "c": 0.15427,
    "h": 300.8
  },
  "luminance": 0.04307
}

Semantic roles & 50–950 ramp

primary
#4F2082
secondary
#81B549
accent
#E44497
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #4F2082

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

Preview Lab → · Contrast checker → · Palette generator →

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