#4B1679#4B1679

#4B1679 is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.5% C 0.155 H 303.1°. Best body text is #FFFFFF at 12.43:1 contrast (WCAG AA passes).

Color values

HEX#4B1679
RGBrgb(75, 22, 121)
HSLhsl(272, 69%, 28%)
HSVhsv(272, 82%, 47%)
CMYKcmyk(38%, 81.8%, 0%, 52.5%)
CIE-LABlab(21.76, 43.14, -45.47)
CIE-LCHlch(21.76, 62.68, 313.50°)
OKLaboklab(34.52% 0.0846 -0.1297)
OKLCHoklch(34.52% 0.155 303.1)
XYZxyz(6.6389, 3.4501, 18.4016)
Luminance0.0345 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B1679 #447916
analogous
#191679 #4B1679 #791675
triadic
#4B1679 #794B16 #16794B
tetradic
#4B1679 #791916 #447916 #167579
square
#4B1679 #791916 #447916 #167579
split-complementary
#4B1679 #757916 #167919
monochromatic
#10051A #2B0D45 #4B1679 #6B1FAD #8B30D9

Accessibility & contrast

On white

12.43
#4B1679 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#4B1679 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B1679
12.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B1679#FFFFFF#000000##FFFFFF
##4B16791.0012.431.6912.43
#FFFFFF12.431.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00337C
Deuteranopia (green-blind)
#003477
Tritanopia (blue-blind)
#413148
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #4b1679;
/* rgb */ color: rgb(75, 22, 121);
/* oklch */ color: oklch(34.5% 0.155 303.1);
Tailwind
colors: {
  custom: {
    50: '#825aa1',
    500: '#4b1679',
    950: '#000000',
  },
}
SCSS
$custom: #4b1679;
$custom-light: #825aa1;
$custom-dark: #000000;
JSON
{
  "hex": "#4b1679",
  "rgb": {
    "r": 75,
    "g": 22,
    "b": 121
  },
  "hsl": {
    "h": 272.121,
    "s": 69.231,
    "l": 28.039
  },
  "oklch": {
    "l": 0.3452,
    "c": 0.15487,
    "h": 303.1
  },
  "luminance": 0.0345
}

Semantic roles & 50–950 ramp

primary
#4B1679
secondary
#71AE3D
accent
#EC3C8E
background
#F8F5FA
surface
#EFE9F3
border
#CAC5CD
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #4B1679

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

Preview Lab → · Contrast checker → · Palette generator →

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