#4B198D#4B198D

#4B198D is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.7% C 0.173 H 296.0°. Best body text is #FFFFFF at 11.52:1 contrast (WCAG AA passes).

Color values

HEX#4B198D
RGBrgb(75, 25, 141)
HSLhsl(266, 70%, 33%)
HSVhsv(266, 82%, 55%)
CMYKcmyk(46.8%, 82.3%, 0%, 44.7%)
CIE-LABlab(24.04, 47.02, -54.34)
CIE-LCHlch(24.04, 71.86, 310.87°)
OKLaboklab(36.68% 0.0758 -0.1558)
OKLCHoklch(36.68% 0.173 296)
XYZxyz(8.0557, 4.1140, 25.5638)
Luminance0.0411 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B198D #5B8D19
analogous
#19218D #4B198D #85198D
triadic
#4B198D #8D4B19 #198D4B
tetradic
#4B198D #8D1921 #5B8D19 #198D85
square
#4B198D #8D1921 #5B8D19 #198D85
split-complementary
#4B198D #8D8519 #218D19
monochromatic
#140725 #2F1059 #4B198D #6722C1 #8643DE

Accessibility & contrast

On white

11.52
#4B198D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#4B198D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B198D
11.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B198D#FFFFFF#000000##FFFFFF
##4B198D1.0011.521.8211.52
#FFFFFF11.521.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A90
Deuteranopia (green-blind)
#00388B
Tritanopia (blue-blind)
#383A54
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #4b198d;
/* rgb */ color: rgb(75, 25, 141);
/* oklch */ color: oklch(36.7% 0.173 296.0);
Tailwind
colors: {
  custom: {
    50: '#855daf',
    500: '#4b198d',
    950: '#000000',
  },
}
SCSS
$custom: #4b198d;
$custom-light: #855daf;
$custom-dark: #000000;
JSON
{
  "hex": "#4b198d",
  "rgb": {
    "r": 75,
    "g": 25,
    "b": 141
  },
  "hsl": {
    "h": 265.862,
    "s": 69.88,
    "l": 32.549
  },
  "oklch": {
    "l": 0.36679,
    "c": 0.17327,
    "h": 296
  },
  "luminance": 0.04114
}

Semantic roles & 50–950 ramp

primary
#4B198D
secondary
#89BF43
accent
#ED3BA0
background
#F8F5FA
surface
#F0E9F5
border
#CBC5CF
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #4B198D

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

Preview Lab → · Contrast checker → · Palette generator →

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