#4B1162#4B1162

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

Color values

HEX#4B1162
RGBrgb(75, 17, 98)
HSLhsl(283, 70%, 23%)
HSVhsv(283, 83%, 38%)
CMYKcmyk(23.5%, 82.7%, 0%, 61.6%)
CIE-LABlab(19.14, 39.65, -34.80)
CIE-LCHlch(19.14, 52.76, 318.73°)
OKLaboklab(32.07% 0.0949 -0.0984)
OKLCHoklch(32.07% 0.137 314)
XYZxyz(5.3063, 2.7788, 11.8097)
Luminance0.0278 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B1162 #286211
analogous
#221162 #4B1162 #621150
triadic
#4B1162 #624B11 #11624B
tetradic
#4B1162 #622211 #286211 #115062
square
#4B1162 #622211 #286211 #115062
split-complementary
#4B1162 #506211 #116222
monochromatic
#14051A #23082E #4B1162 #731A96 #9B23CA

Accessibility & contrast

On white

13.50
#4B1162 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4B1162
13.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B1162#FFFFFF#000000##FFFFFF
##4B11621.0013.501.5613.50
#FFFFFF13.501.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B64
Deuteranopia (green-blind)
#093060
Tritanopia (blue-blind)
#492439
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #4b1162;
/* rgb */ color: rgb(75, 17, 98);
/* oklch */ color: oklch(32.1% 0.137 314.0);
Tailwind
colors: {
  custom: {
    50: '#81578f',
    500: '#4b1162',
    950: '#000000',
  },
}
SCSS
$custom: #4b1162;
$custom-light: #81578f;
$custom-dark: #000000;
JSON
{
  "hex": "#4b1162",
  "rgb": {
    "r": 75,
    "g": 17,
    "b": 98
  },
  "hsl": {
    "h": 282.963,
    "s": 70.435,
    "l": 22.549
  },
  "oklch": {
    "l": 0.32069,
    "c": 0.13665,
    "h": 314
  },
  "luminance": 0.02779
}

Semantic roles & 50–950 ramp

primary
#4B1162
secondary
#519A34
accent
#ED3B6D
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B030C
muted
#7C787D

Preview Lab

Preview with #4B1162

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

Preview Lab → · Contrast checker → · Palette generator →

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