#4F2382#4F2382

#4F2382 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.3% C 0.151 H 300.3°. Best body text is #FFFFFF at 11.08:1 contrast (WCAG AA passes).

Color values

HEX#4F2382
RGBrgb(79, 35, 130)
HSLhsl(268, 58%, 32%)
HSVhsv(268, 73%, 51%)
CMYKcmyk(39.2%, 73.1%, 0%, 49%)
CIE-LABlab(25.19, 40.25, -45.57)
CIE-LCHlch(25.19, 60.80, 311.45°)
OKLaboklab(37.29% 0.076 -0.13)
OKLCHoklch(37.29% 0.151 300.3)
XYZxyz(7.8538, 4.4760, 21.5649)
Luminance0.0448 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2382 #568223
analogous
#232782 #4F2382 #7E2382
triadic
#4F2382 #824F23 #23824F
tetradic
#4F2382 #822327 #568223 #23827E
square
#4F2382 #822327 #568223 #23827E
split-complementary
#4F2382 #827E23 #278223
monochromatic
#140922 #321652 #4F2382 #6C30B2 #8B50D0

Accessibility & contrast

On white

11.08
#4F2382 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#4F2382 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2382
11.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2382#FFFFFF#000000##FFFFFF
##4F23821.0011.081.9011.08
#FFFFFF11.081.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.081.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4f2382;
/* rgb */ color: rgb(79, 35, 130);
/* oklch */ color: oklch(37.3% 0.151 300.3);
Tailwind
colors: {
  custom: {
    50: '#8562a7',
    500: '#4f2382',
    950: '#000000',
  },
}
SCSS
$custom: #4f2382;
$custom-light: #8562a7;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2382",
  "rgb": {
    "r": 79,
    "g": 35,
    "b": 130
  },
  "hsl": {
    "h": 267.789,
    "s": 57.576,
    "l": 32.353
  },
  "oklch": {
    "l": 0.37293,
    "c": 0.15055,
    "h": 300.3
  },
  "luminance": 0.04476
}

Semantic roles & 50–950 ramp

primary
#4F2382
secondary
#84B34D
accent
#E1479A
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0B050F
muted
#7C797F

Preview Lab

Preview with #4F2382

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

Preview Lab → · Contrast checker → · Palette generator →

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