#4B146F#4B146F

#4B146F is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.4% C 0.147 H 307.4°. Best body text is #FFFFFF at 12.89:1 contrast (WCAG AA passes).

Color values

HEX#4B146F
RGBrgb(75, 20, 111)
HSLhsl(276, 69%, 26%)
HSVhsv(276, 82%, 44%)
CMYKcmyk(32.4%, 82%, 0%, 56.5%)
CIE-LABlab(20.61, 41.50, -40.91)
CIE-LCHlch(20.61, 58.28, 315.41°)
OKLaboklab(33.44% 0.0891 -0.1163)
OKLCHoklch(33.44% 0.147 307.4)
XYZxyz(6.0204, 3.1439, 15.3255)
Luminance0.0314 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B146F #386F14
analogous
#1D146F #4B146F #6F1465
triadic
#4B146F #6F4B14 #146F4B
tetradic
#4B146F #6F1D14 #386F14 #14656F
square
#4B146F #6F1D14 #386F14 #14656F
split-complementary
#4B146F #656F14 #146F1D
monochromatic
#12051A #280B3B #4B146F #6E1DA3 #9127D7

Accessibility & contrast

On white

12.89
#4B146F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#4B146F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B146F
12.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B146F#FFFFFF#000000##FFFFFF
##4B146F1.0012.891.6312.89
#FFFFFF12.891.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003071
Deuteranopia (green-blind)
#00326D
Tritanopia (blue-blind)
#452B41
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #4b146f;
/* rgb */ color: rgb(75, 20, 111);
/* oklch */ color: oklch(33.4% 0.147 307.4);
Tailwind
colors: {
  custom: {
    50: '#825999',
    500: '#4b146f',
    950: '#000000',
  },
}
SCSS
$custom: #4b146f;
$custom-light: #825999;
$custom-dark: #000000;
JSON
{
  "hex": "#4b146f",
  "rgb": {
    "r": 75,
    "g": 20,
    "b": 111
  },
  "hsl": {
    "h": 276.264,
    "s": 69.466,
    "l": 25.686
  },
  "oklch": {
    "l": 0.33443,
    "c": 0.14653,
    "h": 307.4
  },
  "luminance": 0.03144
}

Semantic roles & 50–950 ramp

primary
#4B146F
secondary
#64A639
accent
#EC3C81
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #4B146F

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

Preview Lab → · Contrast checker → · Palette generator →

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