#4B1964#4B1964

#4B1964 is a dark, vivid purple. Relative luminance 0.031; OKLCH L 33.1% C 0.129 H 311.9°. Best body text is #FFFFFF at 12.95:1 contrast (WCAG AA passes).

Color values

HEX#4B1964
RGBrgb(75, 25, 100)
HSLhsl(280, 60%, 25%)
HSVhsv(280, 75%, 39%)
CMYKcmyk(25%, 75%, 0%, 60.8%)
CIE-LABlab(20.48, 36.71, -33.94)
CIE-LCHlch(20.48, 49.99, 317.24°)
OKLaboklab(33.07% 0.0861 -0.0959)
OKLCHoklch(33.07% 0.129 311.9)
XYZxyz(5.5491, 3.1114, 12.3624)
Luminance0.0311 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B1964 #326419
analogous
#261964 #4B1964 #641958
triadic
#4B1964 #644B19 #19644B
tetradic
#4B1964 #642619 #326419 #195864
square
#4B1964 #642619 #326419 #195864
split-complementary
#4B1964 #586419 #196426
monochromatic
#120618 #260D33 #4B1964 #702595 #9431C6

Accessibility & contrast

On white

12.95
#4B1964 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4B1964
12.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B1964#FFFFFF#000000##FFFFFF
##4B19641.0012.951.6212.95
#FFFFFF12.951.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F66
Deuteranopia (green-blind)
#103262
Tritanopia (blue-blind)
#48293C
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #4b1964;
/* rgb */ color: rgb(75, 25, 100);
/* oklch */ color: oklch(33.1% 0.129 311.9);
Tailwind
colors: {
  custom: {
    50: '#805b91',
    500: '#4b1964',
    950: '#000000',
  },
}
SCSS
$custom: #4b1964;
$custom-light: #805b91;
$custom-dark: #000000;
JSON
{
  "hex": "#4b1964",
  "rgb": {
    "r": 75,
    "g": 25,
    "b": 100
  },
  "hsl": {
    "h": 280,
    "s": 60,
    "l": 24.51
  },
  "oklch": {
    "l": 0.33074,
    "c": 0.1289,
    "h": 311.9
  },
  "luminance": 0.03111
}

Semantic roles & 50–950 ramp

primary
#4B1964
secondary
#5D9A3F
accent
#E34579
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040D
muted
#7C797D

Preview Lab

Preview with #4B1964

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

Preview Lab → · Contrast checker → · Palette generator →

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