#4B199E#4B199E

#4B199E is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.4% C 0.191 H 291.4°. Best body text is #FFFFFF at 10.87:1 contrast (WCAG AA passes).

Color values

HEX#4B199E
RGBrgb(75, 25, 158)
HSLhsl(263, 73%, 36%)
HSVhsv(263, 84%, 62%)
CMYKcmyk(52.5%, 84.2%, 0%, 38%)
CIE-LABlab(25.74, 51.46, -62.03)
CIE-LCHlch(25.74, 80.59, 309.68°)
OKLaboklab(38.36% 0.0698 -0.1783)
OKLCHoklch(38.36% 0.191 291.4)
XYZxyz(9.4191, 4.6594, 32.7442)
Luminance0.0466 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B199E #6C9E19
analogous
#192A9E #4B199E #8D199E
triadic
#4B199E #9E4B19 #199E4B
tetradic
#4B199E #9E192A #6C9E19 #199E8D
square
#4B199E #9E192A #6C9E19 #199E8D
split-complementary
#4B199E #9E8D19 #2A9E19
monochromatic
#190834 #321169 #4B199E #6421D3 #864EE3

Accessibility & contrast

On white

10.87
#4B199E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#4B199E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B199E
10.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B199E#FFFFFF#000000##FFFFFF
##4B199E1.0010.871.9310.87
#FFFFFF10.871.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003FA2
Deuteranopia (green-blind)
#003A9C
Tritanopia (blue-blind)
#2D425E
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #4b199e;
/* rgb */ color: rgb(75, 25, 158);
/* oklch */ color: oklch(38.4% 0.191 291.4);
Tailwind
colors: {
  custom: {
    50: '#875ebc',
    500: '#4b199e',
    950: '#000000',
  },
}
SCSS
$custom: #4b199e;
$custom-light: #875ebc;
$custom-dark: #000000;
JSON
{
  "hex": "#4b199e",
  "rgb": {
    "r": 75,
    "g": 25,
    "b": 158
  },
  "hsl": {
    "h": 262.556,
    "s": 72.678,
    "l": 35.882
  },
  "oklch": {
    "l": 0.38362,
    "c": 0.19145,
    "h": 291.4
  },
  "luminance": 0.0466
}

Semantic roles & 50–950 ramp

primary
#4B199E
secondary
#98C54E
accent
#EF38AB
background
#F8F5FB
surface
#F0E9F7
border
#CBC5D0
text
#0C0512
muted
#7D7981

Preview Lab

Preview with #4B199E

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

Preview Lab → · Contrast checker → · Palette generator →

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