#4B1767#4B1767

#4B1767 is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.1% C 0.135 H 310.7°. Best body text is #FFFFFF at 12.98:1 contrast (WCAG AA passes).

Color values

HEX#4B1767
RGBrgb(75, 23, 103)
HSLhsl(279, 63%, 25%)
HSVhsv(279, 78%, 40%)
CMYKcmyk(27.2%, 77.7%, 0%, 59.6%)
CIE-LABlab(20.39, 38.34, -36.06)
CIE-LCHlch(20.39, 52.63, 316.76°)
OKLaboklab(33.08% 0.0879 -0.1021)
OKLCHoklch(33.08% 0.135 310.7)
XYZxyz(5.6558, 3.0881, 13.1274)
Luminance0.0309 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B1767 #336717
analogous
#231767 #4B1767 #67175B
triadic
#4B1767 #674B17 #17674B
tetradic
#4B1767 #672317 #336717 #175B67
square
#4B1767 #672317 #336717 #175B67
split-complementary
#4B1767 #5B6717 #176723
monochromatic
#120619 #270C35 #4B1767 #6F2299 #942DCB

Accessibility & contrast

On white

12.98
#4B1767 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#4B1767 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B1767
12.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B1767#FFFFFF#000000##FFFFFF
##4B17671.0012.981.6212.98
#FFFFFF12.981.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F69
Deuteranopia (green-blind)
#083265
Tritanopia (blue-blind)
#47293E
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #4b1767;
/* rgb */ color: rgb(75, 23, 103);
/* oklch */ color: oklch(33.1% 0.135 310.7);
Tailwind
colors: {
  custom: {
    50: '#815a93',
    500: '#4b1767',
    950: '#000000',
  },
}
SCSS
$custom: #4b1767;
$custom-light: #815a93;
$custom-dark: #000000;
JSON
{
  "hex": "#4b1767",
  "rgb": {
    "r": 75,
    "g": 23,
    "b": 103
  },
  "hsl": {
    "h": 279,
    "s": 63.492,
    "l": 24.706
  },
  "oklch": {
    "l": 0.33082,
    "c": 0.13472,
    "h": 310.7
  },
  "luminance": 0.03088
}

Semantic roles & 50–950 ramp

primary
#4B1767
secondary
#5E9D3D
accent
#E7417B
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #4B1767

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

Preview Lab → · Contrast checker → · Palette generator →

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