#4B1165#4B1165

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

Color values

HEX#4B1165
RGBrgb(75, 17, 101)
HSLhsl(281, 71%, 23%)
HSVhsv(281, 83%, 40%)
CMYKcmyk(25.7%, 83.2%, 0%, 60.4%)
CIE-LABlab(19.38, 40.33, -36.39)
CIE-LCHlch(19.38, 54.32, 317.94°)
OKLaboklab(32.32% 0.0942 -0.103)
OKLCHoklch(32.32% 0.14 312.4)
XYZxyz(5.4506, 2.8365, 12.5698)
Luminance0.0284 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B1165 #2B6511
analogous
#211165 #4B1165 #651155
triadic
#4B1165 #654B11 #11654B
tetradic
#4B1165 #652111 #2B6511 #115565
square
#4B1165 #652111 #2B6511 #115565
split-complementary
#4B1165 #556511 #116521
monochromatic
#13041A #240831 #4B1165 #721A99 #9923CE

Accessibility & contrast

On white

13.40
#4B1165 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#4B1165 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B1165
13.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B1165#FFFFFF#000000##FFFFFF
##4B11651.0013.401.5713.40
#FFFFFF13.401.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C67
Deuteranopia (green-blind)
#033063
Tritanopia (blue-blind)
#48253B
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #4b1165;
/* rgb */ color: rgb(75, 17, 101);
/* oklch */ color: oklch(32.3% 0.140 312.4);
Tailwind
colors: {
  custom: {
    50: '#815791',
    500: '#4b1165',
    950: '#000000',
  },
}
SCSS
$custom: #4b1165;
$custom-light: #815791;
$custom-dark: #000000;
JSON
{
  "hex": "#4b1165",
  "rgb": {
    "r": 75,
    "g": 17,
    "b": 101
  },
  "hsl": {
    "h": 281.429,
    "s": 71.186,
    "l": 23.137
  },
  "oklch": {
    "l": 0.32315,
    "c": 0.13962,
    "h": 312.4
  },
  "luminance": 0.02836
}

Semantic roles & 50–950 ramp

primary
#4B1165
secondary
#559D35
accent
#EE3A72
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0B030D
muted
#7C787E

Preview Lab

Preview with #4B1165

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

Preview Lab → · Contrast checker → · Palette generator →

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