#4B1F95#4B1F95

#4B1F95 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 38.1% C 0.176 H 292.9°. Best body text is #FFFFFF at 10.89:1 contrast (WCAG AA passes).

Color values

HEX#4B1F95
RGBrgb(75, 31, 149)
HSLhsl(262, 66%, 35%)
HSVhsv(262, 79%, 58%)
CMYKcmyk(49.7%, 79.2%, 0%, 41.6%)
CIE-LABlab(25.70, 46.58, -56.58)
CIE-LCHlch(25.70, 73.29, 309.47°)
OKLaboklab(38.06% 0.0687 -0.1624)
OKLCHoklch(38.06% 0.176 292.9)
XYZxyz(8.8149, 4.6455, 28.8602)
Luminance0.0465 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B1F95 #69951F
analogous
#1F2E95 #4B1F95 #861F95
triadic
#4B1F95 #954B1F #1F954B
tetradic
#4B1F95 #951F2E #69951F #1F9586
square
#4B1F95 #951F2E #69951F #1F9586
split-complementary
#4B1F95 #95861F #2E951F
monochromatic
#180A30 #311462 #4B1F95 #642AC8 #8653DB

Accessibility & contrast

On white

10.89
#4B1F95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4B1F95
10.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B1F95#FFFFFF#000000##FFFFFF
##4B1F951.0010.891.9310.89
#FFFFFF10.891.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E98
Deuteranopia (green-blind)
#003B93
Tritanopia (blue-blind)
#33405A
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #4b1f95;
/* rgb */ color: rgb(75, 31, 149);
/* oklch */ color: oklch(38.1% 0.176 292.9);
Tailwind
colors: {
  custom: {
    50: '#8560b5',
    500: '#4b1f95',
    950: '#000000',
  },
}
SCSS
$custom: #4b1f95;
$custom-light: #8560b5;
$custom-dark: #000000;
JSON
{
  "hex": "#4b1f95",
  "rgb": {
    "r": 75,
    "g": 31,
    "b": 149
  },
  "hsl": {
    "h": 262.373,
    "s": 65.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.38063,
    "c": 0.17633,
    "h": 292.9
  },
  "luminance": 0.04646
}

Semantic roles & 50–950 ramp

primary
#4B1F95
secondary
#96BF51
accent
#E93FA9
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #4B1F95

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

Preview Lab → · Contrast checker → · Palette generator →

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