#4B1A9F#4B1A9F

#4B1A9F is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.6% C 0.192 H 291.0°. Best body text is #FFFFFF at 10.78:1 contrast (WCAG AA passes).

Color values

HEX#4B1A9F
RGBrgb(75, 26, 159)
HSLhsl(262, 72%, 36%)
HSVhsv(262, 84%, 62%)
CMYKcmyk(52.8%, 83.6%, 0%, 37.6%)
CIE-LABlab(25.97, 51.34, -62.26)
CIE-LCHlch(25.97, 80.70, 309.51°)
OKLaboklab(38.55% 0.0688 -0.179)
OKLCHoklch(38.55% 0.192 291)
XYZxyz(9.5273, 4.7374, 33.2066)
Luminance0.0474 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B1A9F #6E9F1A
analogous
#1A2C9F #4B1A9F #8E1A9F
triadic
#4B1A9F #9F4B1A #1A9F4B
tetradic
#4B1A9F #9F1A2C #6E9F1A #1A9F8E
square
#4B1A9F #9F1A2C #6E9F1A #1A9F8E
split-complementary
#4B1A9F #9F8E1A #2C9F1A
monochromatic
#190936 #32116A #4B1A9F #6423D4 #8751E3

Accessibility & contrast

On white

10.78
#4B1A9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#4B1A9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B1A9F
10.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B1A9F#FFFFFF#000000##FFFFFF
##4B1A9F1.0010.781.9510.78
#FFFFFF10.781.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040A3
Deuteranopia (green-blind)
#003B9D
Tritanopia (blue-blind)
#2C425E
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #4b1a9f;
/* rgb */ color: rgb(75, 26, 159);
/* oklch */ color: oklch(38.6% 0.192 291.0);
Tailwind
colors: {
  custom: {
    50: '#875fbd',
    500: '#4b1a9f',
    950: '#000000',
  },
}
SCSS
$custom: #4b1a9f;
$custom-light: #875fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#4b1a9f",
  "rgb": {
    "r": 75,
    "g": 26,
    "b": 159
  },
  "hsl": {
    "h": 262.105,
    "s": 71.892,
    "l": 36.275
  },
  "oklch": {
    "l": 0.38552,
    "c": 0.19174,
    "h": 291
  },
  "luminance": 0.04738
}

Semantic roles & 50–950 ramp

primary
#4B1A9F
secondary
#9AC550
accent
#EF39AC
background
#F8F5FB
surface
#F0EAF7
border
#CBC6D0
text
#0C0512
muted
#7D7981

Preview Lab

Preview with #4B1A9F

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

Preview Lab → · Contrast checker → · Palette generator →

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