#4B146A#4B146A

#4B146A is a dark, vivid violet. Relative luminance 0.030; OKLCH L 33.0% C 0.141 H 309.7°. Best body text is #FFFFFF at 13.06:1 contrast (WCAG AA passes).

Color values

HEX#4B146A
RGBrgb(75, 20, 106)
HSLhsl(278, 68%, 25%)
HSVhsv(278, 81%, 42%)
CMYKcmyk(29.2%, 81.1%, 0%, 58.4%)
CIE-LABlab(20.19, 40.32, -38.34)
CIE-LCHlch(20.19, 55.64, 316.44°)
OKLaboklab(33.02% 0.0903 -0.1088)
OKLCHoklch(33.02% 0.141 309.7)
XYZxyz(5.7528, 3.0369, 13.9160)
Luminance0.0304 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B146A #336A14
analogous
#20146A #4B146A #6A145E
triadic
#4B146A #6A4B14 #146A4B
tetradic
#4B146A #6A2014 #336A14 #145E6A
square
#4B146A #6A2014 #336A14 #145E6A
split-complementary
#4B146A #5E6A14 #146A20
monochromatic
#12051A #270A37 #4B146A #6F1E9D #9427D1

Accessibility & contrast

On white

13.06
#4B146A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#4B146A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B146A
13.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B146A#FFFFFF#000000##FFFFFF
##4B146A1.0013.061.6113.06
#FFFFFF13.061.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E6C
Deuteranopia (green-blind)
#003168
Tritanopia (blue-blind)
#46293F
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #4b146a;
/* rgb */ color: rgb(75, 20, 106);
/* oklch */ color: oklch(33.0% 0.141 309.7);
Tailwind
colors: {
  custom: {
    50: '#815995',
    500: '#4b146a',
    950: '#000000',
  },
}
SCSS
$custom: #4b146a;
$custom-light: #815995;
$custom-dark: #000000;
JSON
{
  "hex": "#4b146a",
  "rgb": {
    "r": 75,
    "g": 20,
    "b": 106
  },
  "hsl": {
    "h": 278.372,
    "s": 68.254,
    "l": 24.706
  },
  "oklch": {
    "l": 0.33016,
    "c": 0.1414,
    "h": 309.7
  },
  "luminance": 0.03037
}

Semantic roles & 50–950 ramp

primary
#4B146A
secondary
#5EA139
accent
#EB3D7C
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #4B146A

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

Preview Lab → · Contrast checker → · Palette generator →

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