#4B1869#4B1869

#4B1869 is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.4% C 0.136 H 309.6°. Best body text is #FFFFFF at 12.85:1 contrast (WCAG AA passes).

Color values

HEX#4B1869
RGBrgb(75, 24, 105)
HSLhsl(278, 63%, 25%)
HSVhsv(278, 77%, 41%)
CMYKcmyk(28.6%, 77.1%, 0%, 58.8%)
CIE-LABlab(20.71, 38.37, -36.85)
CIE-LCHlch(20.71, 53.20, 316.15°)
OKLaboklab(33.36% 0.0865 -0.1044)
OKLCHoklch(33.36% 0.136 309.6)
XYZxyz(5.7776, 3.1692, 13.6692)
Luminance0.0317 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B1869 #366918
analogous
#221869 #4B1869 #69185E
triadic
#4B1869 #694B18 #18694B
tetradic
#4B1869 #692218 #366918 #185E69
square
#4B1869 #692218 #366918 #185E69
split-complementary
#4B1869 #5E6918 #186922
monochromatic
#120619 #270D37 #4B1869 #6F239B #922FCD

Accessibility & contrast

On white

12.85
#4B1869 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#4B1869 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B1869
12.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B1869#FFFFFF#000000##FFFFFF
##4B18691.0012.851.6312.85
#FFFFFF12.851.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00306B
Deuteranopia (green-blind)
#053367
Tritanopia (blue-blind)
#472B3F
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #4b1869;
/* rgb */ color: rgb(75, 24, 105);
/* oklch */ color: oklch(33.4% 0.136 309.6);
Tailwind
colors: {
  custom: {
    50: '#815a94',
    500: '#4b1869',
    950: '#000000',
  },
}
SCSS
$custom: #4b1869;
$custom-light: #815a94;
$custom-dark: #000000;
JSON
{
  "hex": "#4b1869",
  "rgb": {
    "r": 75,
    "g": 24,
    "b": 105
  },
  "hsl": {
    "h": 277.778,
    "s": 62.791,
    "l": 25.294
  },
  "oklch": {
    "l": 0.33356,
    "c": 0.13558,
    "h": 309.6
  },
  "luminance": 0.03169
}

Semantic roles & 50–950 ramp

primary
#4B1869
secondary
#629F3E
accent
#E6427F
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #4B1869

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

Preview Lab → · Contrast checker → · Palette generator →

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