#4B1E97#4B1E97

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

Color values

HEX#4B1E97
RGBrgb(75, 30, 151)
HSLhsl(262, 67%, 35%)
HSVhsv(262, 80%, 59%)
CMYKcmyk(50.3%, 80.1%, 0%, 40.8%)
CIE-LABlab(25.74, 47.57, -57.74)
CIE-LCHlch(25.74, 74.81, 309.48°)
OKLaboklab(38.15% 0.0688 -0.1658)
OKLCHoklch(38.15% 0.18 292.5)
XYZxyz(8.9503, 4.6584, 29.6997)
Luminance0.0466 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B1E97 #6A971E
analogous
#1E2D97 #4B1E97 #871E97
triadic
#4B1E97 #974B1E #1E974B
tetradic
#4B1E97 #971E2D #6A971E #1E9787
square
#4B1E97 #971E2D #6A971E #1E9787
split-complementary
#4B1E97 #97871E #2D971E
monochromatic
#180A31 #321464 #4B1E97 #6428CA #8653DD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4B1E97#FFFFFF#000000##FFFFFF
##4B1E971.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)
#003F9A
Deuteranopia (green-blind)
#003B95
Tritanopia (blue-blind)
#32415A
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #4b1e97;
/* rgb */ color: rgb(75, 30, 151);
/* oklch */ color: oklch(38.1% 0.180 292.5);
Tailwind
colors: {
  custom: {
    50: '#8660b7',
    500: '#4b1e97',
    950: '#000000',
  },
}
SCSS
$custom: #4b1e97;
$custom-light: #8660b7;
$custom-dark: #000000;
JSON
{
  "hex": "#4b1e97",
  "rgb": {
    "r": 75,
    "g": 30,
    "b": 151
  },
  "hsl": {
    "h": 262.314,
    "s": 66.851,
    "l": 35.49
  },
  "oklch": {
    "l": 0.38149,
    "c": 0.17952,
    "h": 292.5
  },
  "luminance": 0.04659
}

Semantic roles & 50–950 ramp

primary
#4B1E97
secondary
#97C051
accent
#EA3EAA
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #4B1E97

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

Preview Lab → · Contrast checker → · Palette generator →

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