#4B146E#4B146E

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

Color values

HEX#4B146E
RGBrgb(75, 20, 110)
HSLhsl(277, 69%, 25%)
HSVhsv(277, 82%, 43%)
CMYKcmyk(31.8%, 81.8%, 0%, 56.9%)
CIE-LABlab(20.53, 41.27, -40.40)
CIE-LCHlch(20.53, 57.75, 315.61°)
OKLaboklab(33.36% 0.0894 -0.1148)
OKLCHoklch(33.36% 0.146 307.9)
XYZxyz(5.9657, 3.1220, 15.0372)
Luminance0.0312 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B146E #376E14
analogous
#1E146E #4B146E #6E1464
triadic
#4B146E #6E4B14 #146E4B
tetradic
#4B146E #6E1E14 #376E14 #14646E
square
#4B146E #6E1E14 #376E14 #14646E
split-complementary
#4B146E #646E14 #146E1E
monochromatic
#12051A #280B3A #4B146E #6E1DA2 #9227D6

Accessibility & contrast

On white

12.93
#4B146E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4B146E
12.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B146E#FFFFFF#000000##FFFFFF
##4B146E1.0012.931.6212.93
#FFFFFF12.931.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003070
Deuteranopia (green-blind)
#00326C
Tritanopia (blue-blind)
#452B41
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #4b146e;
/* rgb */ color: rgb(75, 20, 110);
/* oklch */ color: oklch(33.4% 0.146 307.9);
Tailwind
colors: {
  custom: {
    50: '#815998',
    500: '#4b146e',
    950: '#000000',
  },
}
SCSS
$custom: #4b146e;
$custom-light: #815998;
$custom-dark: #000000;
JSON
{
  "hex": "#4b146e",
  "rgb": {
    "r": 75,
    "g": 20,
    "b": 110
  },
  "hsl": {
    "h": 276.667,
    "s": 69.231,
    "l": 25.49
  },
  "oklch": {
    "l": 0.33356,
    "c": 0.14551,
    "h": 307.9
  },
  "luminance": 0.03122
}

Semantic roles & 50–950 ramp

primary
#4B146E
secondary
#63A539
accent
#EC3C80
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #4B146E

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

Preview Lab → · Contrast checker → · Palette generator →

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