#4B1977#4B1977

#4B1977 is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.6% C 0.149 H 303.5°. Best body text is #FFFFFF at 12.32:1 contrast (WCAG AA passes).

Color values

HEX#4B1977
RGBrgb(75, 25, 119)
HSLhsl(272, 65%, 28%)
HSVhsv(272, 79%, 47%)
CMYKcmyk(37%, 79%, 0%, 53.3%)
CIE-LABlab(22.03, 41.38, -43.76)
CIE-LCHlch(22.03, 60.22, 313.40°)
OKLaboklab(34.65% 0.0824 -0.1247)
OKLCHoklch(34.65% 0.15 303.5)
XYZxyz(6.5783, 3.5230, 17.7826)
Luminance0.0352 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B1977 #457719
analogous
#1C1977 #4B1977 #771974
triadic
#4B1977 #774B19 #19774B
tetradic
#4B1977 #771C19 #457719 #197477
square
#4B1977 #771C19 #457719 #197477
split-complementary
#4B1977 #747719 #19771C
monochromatic
#100519 #2B0E44 #4B1977 #6B24AA #8A36D5

Accessibility & contrast

On white

12.32
#4B1977 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#4B1977 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B1977
12.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B1977#FFFFFF#000000##FFFFFF
##4B19771.0012.321.7012.32
#FFFFFF12.321.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00347A
Deuteranopia (green-blind)
#003575
Tritanopia (blue-blind)
#423147
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #4b1977;
/* rgb */ color: rgb(75, 25, 119);
/* oklch */ color: oklch(34.6% 0.149 303.5);
Tailwind
colors: {
  custom: {
    50: '#825c9f',
    500: '#4b1977',
    950: '#000000',
  },
}
SCSS
$custom: #4b1977;
$custom-light: #825c9f;
$custom-dark: #000000;
JSON
{
  "hex": "#4b1977",
  "rgb": {
    "r": 75,
    "g": 25,
    "b": 119
  },
  "hsl": {
    "h": 271.915,
    "s": 65.278,
    "l": 28.235
  },
  "oklch": {
    "l": 0.3465,
    "c": 0.1495,
    "h": 303.5
  },
  "luminance": 0.03523
}

Semantic roles & 50–950 ramp

primary
#4B1977
secondary
#72AC40
accent
#E8408F
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040F
muted
#7C797E

Preview Lab

Preview with #4B1977

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

Preview Lab → · Contrast checker → · Palette generator →

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