#4B146D#4B146D

#4B146D is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.3% C 0.144 H 308.3°. Best body text is #FFFFFF at 12.96:1 contrast (WCAG AA passes).

Color values

HEX#4B146D
RGBrgb(75, 20, 109)
HSLhsl(277, 69%, 25%)
HSVhsv(277, 82%, 43%)
CMYKcmyk(31.2%, 81.7%, 0%, 57.3%)
CIE-LABlab(20.44, 41.03, -39.89)
CIE-LCHlch(20.44, 57.22, 315.80°)
OKLaboklab(33.27% 0.0896 -0.1133)
OKLCHoklch(33.27% 0.144 308.3)
XYZxyz(5.9115, 3.1004, 14.7520)
Luminance0.0310 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B146D #366D14
analogous
#1F146D #4B146D #6D1462
triadic
#4B146D #6D4B14 #146D4B
tetradic
#4B146D #6D1F14 #366D14 #14626D
square
#4B146D #6D1F14 #366D14 #14626D
split-complementary
#4B146D #626D14 #146D1F
monochromatic
#12051A #270B39 #4B146D #6F1DA1 #9227D4

Accessibility & contrast

On white

12.96
#4B146D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#4B146D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B146D
12.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B146D#FFFFFF#000000##FFFFFF
##4B146D1.0012.961.6212.96
#FFFFFF12.961.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F6F
Deuteranopia (green-blind)
#00326B
Tritanopia (blue-blind)
#462A40
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #4b146d;
/* rgb */ color: rgb(75, 20, 109);
/* oklch */ color: oklch(33.3% 0.144 308.3);
Tailwind
colors: {
  custom: {
    50: '#815998',
    500: '#4b146d',
    950: '#000000',
  },
}
SCSS
$custom: #4b146d;
$custom-light: #815998;
$custom-dark: #000000;
JSON
{
  "hex": "#4b146d",
  "rgb": {
    "r": 75,
    "g": 20,
    "b": 109
  },
  "hsl": {
    "h": 277.079,
    "s": 68.992,
    "l": 25.294
  },
  "oklch": {
    "l": 0.33271,
    "c": 0.14448,
    "h": 308.3
  },
  "luminance": 0.031
}

Semantic roles & 50–950 ramp

primary
#4B146D
secondary
#62A439
accent
#EC3C7F
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #4B146D

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

Preview Lab → · Contrast checker → · Palette generator →

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