#4B1678#4B1678

#4B1678 is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.4% C 0.154 H 303.5°. Best body text is #FFFFFF at 12.46:1 contrast (WCAG AA passes).

Color values

HEX#4B1678
RGBrgb(75, 22, 120)
HSLhsl(272, 69%, 28%)
HSVhsv(272, 82%, 47%)
CMYKcmyk(37.5%, 81.7%, 0%, 52.9%)
CIE-LABlab(21.67, 42.90, -44.97)
CIE-LCHlch(21.67, 62.15, 313.64°)
OKLaboklab(34.43% 0.0849 -0.1283)
OKLCHoklch(34.43% 0.154 303.5)
XYZxyz(6.5779, 3.4257, 18.0803)
Luminance0.0343 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B1678 #437816
analogous
#1A1678 #4B1678 #781674
triadic
#4B1678 #784B16 #16784B
tetradic
#4B1678 #781A16 #437816 #167478
square
#4B1678 #781A16 #437816 #167478
split-complementary
#4B1678 #747816 #16781A
monochromatic
#10051A #2B0D44 #4B1678 #6B1FAC #8B2FD9

Accessibility & contrast

On white

12.46
#4B1678 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4B1678
12.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B1678#FFFFFF#000000##FFFFFF
##4B16781.0012.461.6912.46
#FFFFFF12.461.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00337B
Deuteranopia (green-blind)
#003476
Tritanopia (blue-blind)
#423047
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #4b1678;
/* rgb */ color: rgb(75, 22, 120);
/* oklch */ color: oklch(34.4% 0.154 303.5);
Tailwind
colors: {
  custom: {
    50: '#825aa0',
    500: '#4b1678',
    950: '#000000',
  },
}
SCSS
$custom: #4b1678;
$custom-light: #825aa0;
$custom-dark: #000000;
JSON
{
  "hex": "#4b1678",
  "rgb": {
    "r": 75,
    "g": 22,
    "b": 120
  },
  "hsl": {
    "h": 272.449,
    "s": 69.014,
    "l": 27.843
  },
  "oklch": {
    "l": 0.3443,
    "c": 0.15382,
    "h": 303.5
  },
  "luminance": 0.03426
}

Semantic roles & 50–950 ramp

primary
#4B1678
secondary
#70AD3C
accent
#EC3C8D
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040F
muted
#7C797E

Preview Lab

Preview with #4B1678

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

Preview Lab → · Contrast checker → · Palette generator →

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