#4B1777#4B1777

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

Color values

HEX#4B1777
RGBrgb(75, 23, 119)
HSLhsl(273, 68%, 28%)
HSVhsv(273, 81%, 47%)
CMYKcmyk(37%, 80.7%, 0%, 53.3%)
CIE-LABlab(21.73, 42.23, -44.24)
CIE-LCHlch(21.73, 61.17, 313.67°)
OKLaboklab(34.44% 0.0843 -0.1262)
OKLCHoklch(34.44% 0.152 303.7)
XYZxyz(6.5370, 3.4406, 17.7689)
Luminance0.0344 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B1777 #437717
analogous
#1B1777 #4B1777 #771773
triadic
#4B1777 #774B17 #17774B
tetradic
#4B1777 #771B17 #437717 #177377
square
#4B1777 #771B17 #437717 #177377
split-complementary
#4B1777 #737717 #17771B
monochromatic
#10051A #2B0D44 #4B1777 #6B21AA #8B31D7

Accessibility & contrast

On white

12.44
#4B1777 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4B1777
12.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B1777#FFFFFF#000000##FFFFFF
##4B17771.0012.441.6912.44
#FFFFFF12.441.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.441.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4b1777;
/* rgb */ color: rgb(75, 23, 119);
/* oklch */ color: oklch(34.4% 0.152 303.7);
Tailwind
colors: {
  custom: {
    50: '#825b9f',
    500: '#4b1777',
    950: '#000000',
  },
}
SCSS
$custom: #4b1777;
$custom-light: #825b9f;
$custom-dark: #000000;
JSON
{
  "hex": "#4b1777",
  "rgb": {
    "r": 75,
    "g": 23,
    "b": 119
  },
  "hsl": {
    "h": 272.5,
    "s": 67.606,
    "l": 27.843
  },
  "oklch": {
    "l": 0.34441,
    "c": 0.15171,
    "h": 303.7
  },
  "luminance": 0.03441
}

Semantic roles & 50–950 ramp

primary
#4B1777
secondary
#70AC3E
accent
#EA3D8D
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040F
muted
#7C797E

Preview Lab

Preview with #4B1777

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

Preview Lab → · Contrast checker → · Palette generator →

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