#4B198F#4B198F

#4B198F is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.9% C 0.175 H 295.4°. Best body text is #FFFFFF at 11.45:1 contrast (WCAG AA passes).

Color values

HEX#4B198F
RGBrgb(75, 25, 143)
HSLhsl(265, 70%, 33%)
HSVhsv(265, 83%, 56%)
CMYKcmyk(47.6%, 82.5%, 0%, 43.9%)
CIE-LABlab(24.24, 47.54, -55.26)
CIE-LCHlch(24.24, 72.90, 310.71°)
OKLaboklab(36.87% 0.0752 -0.1585)
OKLCHoklch(36.87% 0.175 295.4)
XYZxyz(8.2059, 4.1741, 26.3546)
Luminance0.0417 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B198F #5D8F19
analogous
#19228F #4B198F #86198F
triadic
#4B198F #8F4B19 #198F4B
tetradic
#4B198F #8F1922 #5D8F19 #198F86
square
#4B198F #8F1922 #5D8F19 #198F86
split-complementary
#4B198F #8F8619 #228F19
monochromatic
#140727 #30105B #4B198F #6622C3 #8544DE

Accessibility & contrast

On white

11.45
#4B198F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#4B198F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B198F
11.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B198F#FFFFFF#000000##FFFFFF
##4B198F1.0011.451.8311.45
#FFFFFF11.451.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A92
Deuteranopia (green-blind)
#00388D
Tritanopia (blue-blind)
#373B55
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #4b198f;
/* rgb */ color: rgb(75, 25, 143);
/* oklch */ color: oklch(36.9% 0.175 295.4);
Tailwind
colors: {
  custom: {
    50: '#855db1',
    500: '#4b198f',
    950: '#000000',
  },
}
SCSS
$custom: #4b198f;
$custom-light: #855db1;
$custom-dark: #000000;
JSON
{
  "hex": "#4b198f",
  "rgb": {
    "r": 75,
    "g": 25,
    "b": 143
  },
  "hsl": {
    "h": 265.424,
    "s": 70.238,
    "l": 32.941
  },
  "oklch": {
    "l": 0.36872,
    "c": 0.17542,
    "h": 295.4
  },
  "luminance": 0.04174
}

Semantic roles & 50–950 ramp

primary
#4B198F
secondary
#8BBF44
accent
#ED3BA1
background
#F8F5FB
surface
#F0E9F6
border
#CBC5D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #4B198F

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

Preview Lab → · Contrast checker → · Palette generator →

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