#4B165E#4B165E

#4B165E is a dark, vivid purple. Relative luminance 0.029; OKLCH L 32.3% C 0.127 H 315.5°. Best body text is #FFFFFF at 13.33:1 contrast (WCAG AA passes).

Color values

HEX#4B165E
RGBrgb(75, 22, 94)
HSLhsl(284, 62%, 23%)
HSVhsv(284, 77%, 37%)
CMYKcmyk(20.2%, 76.6%, 0%, 63.1%)
CIE-LABlab(19.55, 36.69, -31.49)
CIE-LCHlch(19.55, 48.35, 319.37°)
OKLaboklab(32.27% 0.0903 -0.0887)
OKLCHoklch(32.27% 0.127 315.5)
XYZxyz(5.2086, 2.8780, 10.8686)
Luminance0.0288 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B165E #295E16
analogous
#27165E #4B165E #5E164D
triadic
#4B165E #5E4B16 #165E4B
tetradic
#4B165E #5E2716 #295E16 #164D5E
square
#4B165E #5E2716 #295E16 #164D5E
split-complementary
#4B165E #4D5E16 #165E27
monochromatic
#140619 #230A2C #4B165E #732290 #9A2DC1

Accessibility & contrast

On white

13.33
#4B165E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#4B165E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B165E
13.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B165E#FFFFFF#000000##FFFFFF
##4B165E1.0013.331.5813.33
#FFFFFF13.331.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C60
Deuteranopia (green-blind)
#14315C
Tritanopia (blue-blind)
#4A2538
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #4b165e;
/* rgb */ color: rgb(75, 22, 94);
/* oklch */ color: oklch(32.3% 0.127 315.5);
Tailwind
colors: {
  custom: {
    50: '#80598c',
    500: '#4b165e',
    950: '#000000',
  },
}
SCSS
$custom: #4b165e;
$custom-light: #80598c;
$custom-dark: #000000;
JSON
{
  "hex": "#4b165e",
  "rgb": {
    "r": 75,
    "g": 22,
    "b": 94
  },
  "hsl": {
    "h": 284.167,
    "s": 62.069,
    "l": 22.745
  },
  "oklch": {
    "l": 0.32265,
    "c": 0.12656,
    "h": 315.5
  },
  "luminance": 0.02878
}

Semantic roles & 50–950 ramp

primary
#4B165E
secondary
#53953B
accent
#E5436E
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0A040C
muted
#7C797D

Preview Lab

Preview with #4B165E

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

Preview Lab → · Contrast checker → · Palette generator →

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