#4B1064#4B1064

#4B1064 is a dark, vivid purple. Relative luminance 0.028; OKLCH L 32.1% C 0.140 H 313.0°. Best body text is #FFFFFF at 13.48:1 contrast (WCAG AA passes).

Color values

HEX#4B1064
RGBrgb(75, 16, 100)
HSLhsl(282, 72%, 23%)
HSVhsv(282, 84%, 39%)
CMYKcmyk(25%, 84%, 0%, 60.8%)
CIE-LABlab(19.17, 40.47, -36.07)
CIE-LCHlch(19.17, 54.21, 318.29°)
OKLaboklab(32.14% 0.0953 -0.1021)
OKLCHoklch(32.14% 0.14 313)
XYZxyz(5.3868, 2.7867, 12.3082)
Luminance0.0279 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B1064 #296410
analogous
#211064 #4B1064 #641053
triadic
#4B1064 #644B10 #10644B
tetradic
#4B1064 #642110 #296410 #105364
square
#4B1064 #642110 #296410 #105364
split-complementary
#4B1064 #536410 #106421
monochromatic
#14041A #23082F #4B1064 #731899 #9A21CE

Accessibility & contrast

On white

13.48
#4B1064 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#4B1064 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B1064
13.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B1064#FFFFFF#000000##FFFFFF
##4B10641.0013.481.5613.48
#FFFFFF13.481.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C66
Deuteranopia (green-blind)
#043062
Tritanopia (blue-blind)
#48253A
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #4b1064;
/* rgb */ color: rgb(75, 16, 100);
/* oklch */ color: oklch(32.1% 0.140 313.0);
Tailwind
colors: {
  custom: {
    50: '#815791',
    500: '#4b1064',
    950: '#000000',
  },
}
SCSS
$custom: #4b1064;
$custom-light: #815791;
$custom-dark: #000000;
JSON
{
  "hex": "#4b1064",
  "rgb": {
    "r": 75,
    "g": 16,
    "b": 100
  },
  "hsl": {
    "h": 282.143,
    "s": 72.414,
    "l": 22.745
  },
  "oklch": {
    "l": 0.32143,
    "c": 0.13967,
    "h": 313
  },
  "luminance": 0.02787
}

Semantic roles & 50–950 ramp

primary
#4B1064
secondary
#539D33
accent
#EF396F
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B030D
muted
#7C787D

Preview Lab

Preview with #4B1064

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

Preview Lab → · Contrast checker → · Palette generator →

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