#4B146C#4B146C

#4B146C is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.2% C 0.143 H 308.8°. Best body text is #FFFFFF at 13.00:1 contrast (WCAG AA passes).

Color values

HEX#4B146C
RGBrgb(75, 20, 108)
HSLhsl(278, 69%, 25%)
HSVhsv(278, 81%, 42%)
CMYKcmyk(30.6%, 81.5%, 0%, 57.6%)
CIE-LABlab(20.36, 40.79, -39.38)
CIE-LCHlch(20.36, 56.70, 316.01°)
OKLaboklab(33.18% 0.0899 -0.1118)
OKLCHoklch(33.18% 0.143 308.8)
XYZxyz(5.8580, 3.0790, 14.4702)
Luminance0.0308 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B146C #356C14
analogous
#1F146C #4B146C #6C1461
triadic
#4B146C #6C4B14 #146C4B
tetradic
#4B146C #6C1F14 #356C14 #14616C
square
#4B146C #6C1F14 #356C14 #14616C
split-complementary
#4B146C #616C14 #146C1F
monochromatic
#12051A #270A38 #4B146C #6F1EA0 #9327D3

Accessibility & contrast

On white

13.00
#4B146C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4B146C
13.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B146C#FFFFFF#000000##FFFFFF
##4B146C1.0013.001.6213.00
#FFFFFF13.001.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF13.001.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4b146c;
/* rgb */ color: rgb(75, 20, 108);
/* oklch */ color: oklch(33.2% 0.143 308.8);
Tailwind
colors: {
  custom: {
    50: '#815997',
    500: '#4b146c',
    950: '#000000',
  },
}
SCSS
$custom: #4b146c;
$custom-light: #815997;
$custom-dark: #000000;
JSON
{
  "hex": "#4b146c",
  "rgb": {
    "r": 75,
    "g": 20,
    "b": 108
  },
  "hsl": {
    "h": 277.5,
    "s": 68.75,
    "l": 25.098
  },
  "oklch": {
    "l": 0.33185,
    "c": 0.14345,
    "h": 308.8
  },
  "luminance": 0.03079
}

Semantic roles & 50–950 ramp

primary
#4B146C
secondary
#61A339
accent
#EC3C7E
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #4B146C

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

Preview Lab → · Contrast checker → · Palette generator →

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