#4B1E95#4B1E95

#4B1E95 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 38.0% C 0.177 H 293.1°. Best body text is #FFFFFF at 10.94:1 contrast (WCAG AA passes).

Color values

HEX#4B1E95
RGBrgb(75, 30, 149)
HSLhsl(263, 66%, 35%)
HSVhsv(263, 80%, 58%)
CMYKcmyk(49.7%, 79.9%, 0%, 41.6%)
CIE-LABlab(25.55, 47.03, -56.83)
CIE-LCHlch(25.55, 73.77, 309.61°)
OKLaboklab(37.96% 0.0695 -0.1631)
OKLCHoklch(37.96% 0.177 293.1)
XYZxyz(8.7892, 4.5940, 28.8516)
Luminance0.0459 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B1E95 #68951E
analogous
#1E2D95 #4B1E95 #861E95
triadic
#4B1E95 #954B1E #1E954B
tetradic
#4B1E95 #951E2D #68951E #1E9586
square
#4B1E95 #951E2D #68951E #1E9586
split-complementary
#4B1E95 #95861E #2D951E
monochromatic
#18092F #311462 #4B1E95 #6528C8 #8651DC

Accessibility & contrast

On white

10.94
#4B1E95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#4B1E95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B1E95
10.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B1E95#FFFFFF#000000##FFFFFF
##4B1E951.0010.941.9210.94
#FFFFFF10.941.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E98
Deuteranopia (green-blind)
#003A93
Tritanopia (blue-blind)
#334059
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #4b1e95;
/* rgb */ color: rgb(75, 30, 149);
/* oklch */ color: oklch(38.0% 0.177 293.1);
Tailwind
colors: {
  custom: {
    50: '#8560b5',
    500: '#4b1e95',
    950: '#000000',
  },
}
SCSS
$custom: #4b1e95;
$custom-light: #8560b5;
$custom-dark: #000000;
JSON
{
  "hex": "#4b1e95",
  "rgb": {
    "r": 75,
    "g": 30,
    "b": 149
  },
  "hsl": {
    "h": 262.689,
    "s": 66.48,
    "l": 35.098
  },
  "oklch": {
    "l": 0.37956,
    "c": 0.17731,
    "h": 293.1
  },
  "luminance": 0.04594
}

Semantic roles & 50–950 ramp

primary
#4B1E95
secondary
#95BF50
accent
#E93EA9
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #4B1E95

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

Preview Lab → · Contrast checker → · Palette generator →

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