#4B1966#4B1966

#4B1966 is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.2% C 0.131 H 310.9°. Best body text is #FFFFFF at 12.88:1 contrast (WCAG AA passes).

Color values

HEX#4B1966
RGBrgb(75, 25, 102)
HSLhsl(279, 61%, 25%)
HSVhsv(279, 75%, 40%)
CMYKcmyk(26.5%, 75.5%, 0%, 60%)
CIE-LABlab(20.64, 37.18, -35.01)
CIE-LCHlch(20.64, 51.07, 316.73°)
OKLaboklab(33.23% 0.0859 -0.099)
OKLCHoklch(33.23% 0.131 310.9)
XYZxyz(5.6471, 3.1506, 12.8784)
Luminance0.0315 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B1966 #346619
analogous
#241966 #4B1966 #66195B
triadic
#4B1966 #664B19 #19664B
tetradic
#4B1966 #662419 #346619 #195B66
square
#4B1966 #662419 #346619 #195B66
split-complementary
#4B1966 #5B6619 #196624
monochromatic
#120619 #270D35 #4B1966 #6F2597 #9331C8

Accessibility & contrast

On white

12.88
#4B1966 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4B1966
12.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B1966#FFFFFF#000000##FFFFFF
##4B19661.0012.881.6312.88
#FFFFFF12.881.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F68
Deuteranopia (green-blind)
#0D3364
Tritanopia (blue-blind)
#472A3E
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #4b1966;
/* rgb */ color: rgb(75, 25, 102);
/* oklch */ color: oklch(33.2% 0.131 310.9);
Tailwind
colors: {
  custom: {
    50: '#805b92',
    500: '#4b1966',
    950: '#000000',
  },
}
SCSS
$custom: #4b1966;
$custom-light: #805b92;
$custom-dark: #000000;
JSON
{
  "hex": "#4b1966",
  "rgb": {
    "r": 75,
    "g": 25,
    "b": 102
  },
  "hsl": {
    "h": 278.961,
    "s": 60.63,
    "l": 24.902
  },
  "oklch": {
    "l": 0.33231,
    "c": 0.13106,
    "h": 310.9
  },
  "luminance": 0.0315
}

Semantic roles & 50–950 ramp

primary
#4B1966
secondary
#609C3F
accent
#E4447C
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #4B1966

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

Preview Lab → · Contrast checker → · Palette generator →

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