#4B146B#4B146B

#4B146B is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.1% C 0.142 H 309.2°. Best body text is #FFFFFF at 13.03:1 contrast (WCAG AA passes).

Color values

HEX#4B146B
RGBrgb(75, 20, 107)
HSLhsl(278, 69%, 25%)
HSVhsv(278, 81%, 42%)
CMYKcmyk(29.9%, 81.3%, 0%, 58%)
CIE-LABlab(20.27, 40.55, -38.86)
CIE-LCHlch(20.27, 56.17, 316.22°)
OKLaboklab(33.1% 0.0901 -0.1103)
OKLCHoklch(33.1% 0.142 309.2)
XYZxyz(5.8051, 3.0578, 14.1915)
Luminance0.0306 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B146B #346B14
analogous
#1F146B #4B146B #6B1460
triadic
#4B146B #6B4B14 #146B4B
tetradic
#4B146B #6B1F14 #346B14 #14606B
square
#4B146B #6B1F14 #346B14 #14606B
split-complementary
#4B146B #606B14 #146B1F
monochromatic
#12051A #270A37 #4B146B #6F1E9F #9327D2

Accessibility & contrast

On white

13.03
#4B146B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4B146B
13.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B146B#FFFFFF#000000##FFFFFF
##4B146B1.0013.031.6113.03
#FFFFFF13.031.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F6D
Deuteranopia (green-blind)
#003269
Tritanopia (blue-blind)
#462A3F
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #4b146b;
/* rgb */ color: rgb(75, 20, 107);
/* oklch */ color: oklch(33.1% 0.142 309.2);
Tailwind
colors: {
  custom: {
    50: '#815996',
    500: '#4b146b',
    950: '#000000',
  },
}
SCSS
$custom: #4b146b;
$custom-light: #815996;
$custom-dark: #000000;
JSON
{
  "hex": "#4b146b",
  "rgb": {
    "r": 75,
    "g": 20,
    "b": 107
  },
  "hsl": {
    "h": 277.931,
    "s": 68.504,
    "l": 24.902
  },
  "oklch": {
    "l": 0.331,
    "c": 0.14242,
    "h": 309.2
  },
  "luminance": 0.03058
}

Semantic roles & 50–950 ramp

primary
#4B146B
secondary
#60A239
accent
#EB3C7D
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #4B146B

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

Preview Lab → · Contrast checker → · Palette generator →

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