#4B2979#4B2979

#4B2979 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 36.9% C 0.131 H 299.5°. Best body text is #FFFFFF at 11.10:1 contrast (WCAG AA passes).

Color values

HEX#4B2979
RGBrgb(75, 41, 121)
HSLhsl(266, 49%, 32%)
HSVhsv(266, 66%, 47%)
CMYKcmyk(38%, 66.1%, 0%, 52.5%)
CIE-LABlab(25.14, 33.68, -39.98)
CIE-LCHlch(25.14, 52.27, 310.11°)
OKLaboklab(36.93% 0.0643 -0.1137)
OKLCHoklch(36.93% 0.131 299.5)
XYZxyz(7.1449, 4.4621, 18.5703)
Luminance0.0446 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2979 #577929
analogous
#292F79 #4B2979 #732979
triadic
#4B2979 #794B29 #29794B
tetradic
#4B2979 #79292F #577929 #297973
square
#4B2979 #79292F #577929 #297973
split-complementary
#4B2979 #797329 #2F7929
monochromatic
#120A1E #2F1A4B #4B2979 #6738A7 #8656C6

Accessibility & contrast

On white

11.10
#4B2979 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#4B2979 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2979
11.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2979#FFFFFF#000000##FFFFFF
##4B29791.0011.101.8911.10
#FFFFFF11.101.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C7B
Deuteranopia (green-blind)
#043B77
Tritanopia (blue-blind)
#413B4D
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #4b2979;
/* rgb */ color: rgb(75, 41, 121);
/* oklch */ color: oklch(36.9% 0.131 299.5);
Tailwind
colors: {
  custom: {
    50: '#8165a0',
    500: '#4b2979',
    950: '#000000',
  },
}
SCSS
$custom: #4b2979;
$custom-light: #8165a0;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2979",
  "rgb": {
    "r": 75,
    "g": 41,
    "b": 121
  },
  "hsl": {
    "h": 265.5,
    "s": 49.383,
    "l": 31.765
  },
  "oklch": {
    "l": 0.36925,
    "c": 0.13062,
    "h": 299.5
  },
  "luminance": 0.04462
}

Semantic roles & 50–950 ramp

primary
#4B2979
secondary
#85AB53
accent
#D94F9E
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0B060F
muted
#7C7A7E

Preview Lab

Preview with #4B2979

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

Preview Lab → · Contrast checker → · Palette generator →

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