#4B1A67#4B1A67

#4B1A67 is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.4% C 0.131 H 310.3°. Best body text is #FFFFFF at 12.78:1 contrast (WCAG AA passes).

Color values

HEX#4B1A67
RGBrgb(75, 26, 103)
HSLhsl(278, 60%, 25%)
HSVhsv(278, 75%, 40%)
CMYKcmyk(27.2%, 74.8%, 0%, 59.6%)
CIE-LABlab(20.88, 36.95, -35.27)
CIE-LCHlch(20.88, 51.08, 316.34°)
OKLaboklab(33.43% 0.0846 -0.0998)
OKLCHoklch(33.43% 0.131 310.3)
XYZxyz(5.7188, 3.2140, 13.1484)
Luminance0.0321 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B1A67 #36671A
analogous
#251A67 #4B1A67 #671A5C
triadic
#4B1A67 #674B1A #1A674B
tetradic
#4B1A67 #67251A #36671A #1A5C67
square
#4B1A67 #67251A #36671A #1A5C67
split-complementary
#4B1A67 #5C671A #1A6725
monochromatic
#120618 #270E36 #4B1A67 #6F2698 #9233C9

Accessibility & contrast

On white

12.78
#4B1A67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#4B1A67 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B1A67
12.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B1A67#FFFFFF#000000##FFFFFF
##4B1A671.0012.781.6412.78
#FFFFFF12.781.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003069
Deuteranopia (green-blind)
#0C3365
Tritanopia (blue-blind)
#472B3E
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #4b1a67;
/* rgb */ color: rgb(75, 26, 103);
/* oklch */ color: oklch(33.4% 0.131 310.3);
Tailwind
colors: {
  custom: {
    50: '#815b93',
    500: '#4b1a67',
    950: '#000000',
  },
}
SCSS
$custom: #4b1a67;
$custom-light: #815b93;
$custom-dark: #000000;
JSON
{
  "hex": "#4b1a67",
  "rgb": {
    "r": 75,
    "g": 26,
    "b": 103
  },
  "hsl": {
    "h": 278.182,
    "s": 59.69,
    "l": 25.294
  },
  "oklch": {
    "l": 0.33429,
    "c": 0.13081,
    "h": 310.3
  },
  "luminance": 0.03214
}

Semantic roles & 50–950 ramp

primary
#4B1A67
secondary
#629D40
accent
#E3457E
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #4B1A67

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

Preview Lab → · Contrast checker → · Palette generator →

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