#4B1864#4B1864

#4B1864 is a dark, vivid purple. Relative luminance 0.031; OKLCH L 33.0% C 0.130 H 312.1°. Best body text is #FFFFFF at 13.01:1 contrast (WCAG AA passes).

Color values

HEX#4B1864
RGBrgb(75, 24, 100)
HSLhsl(280, 61%, 24%)
HSVhsv(280, 76%, 39%)
CMYKcmyk(25%, 76%, 0%, 60.8%)
CIE-LABlab(20.32, 37.17, -34.21)
CIE-LCHlch(20.32, 50.52, 317.38°)
OKLaboklab(32.96% 0.0873 -0.0967)
OKLCHoklch(32.96% 0.13 312.1)
XYZxyz(5.5281, 3.0694, 12.3554)
Luminance0.0307 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B1864 #316418
analogous
#251864 #4B1864 #641857
triadic
#4B1864 #644B18 #18644B
tetradic
#4B1864 #642518 #316418 #185764
square
#4B1864 #642518 #316418 #185764
split-complementary
#4B1864 #576418 #186425
monochromatic
#130619 #260C33 #4B1864 #702495 #9530C7

Accessibility & contrast

On white

13.01
#4B1864 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#4B1864 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B1864
13.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B1864#FFFFFF#000000##FFFFFF
##4B18641.0013.011.6113.01
#FFFFFF13.011.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.011.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4b1864;
/* rgb */ color: rgb(75, 24, 100);
/* oklch */ color: oklch(33.0% 0.130 312.1);
Tailwind
colors: {
  custom: {
    50: '#805a91',
    500: '#4b1864',
    950: '#000000',
  },
}
SCSS
$custom: #4b1864;
$custom-light: #805a91;
$custom-dark: #000000;
JSON
{
  "hex": "#4b1864",
  "rgb": {
    "r": 75,
    "g": 24,
    "b": 100
  },
  "hsl": {
    "h": 280.263,
    "s": 61.29,
    "l": 24.314
  },
  "oklch": {
    "l": 0.32957,
    "c": 0.13023,
    "h": 312.1
  },
  "luminance": 0.03069
}

Semantic roles & 50–950 ramp

primary
#4B1864
secondary
#5C9A3E
accent
#E44378
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040D
muted
#7C797D

Preview Lab

Preview with #4B1864

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

Preview Lab → · Contrast checker → · Palette generator →

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