#4B1867#4B1867

#4B1867 is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.2% C 0.133 H 310.6°. Best body text is #FFFFFF at 12.92:1 contrast (WCAG AA passes).

Color values

HEX#4B1867
RGBrgb(75, 24, 103)
HSLhsl(279, 62%, 25%)
HSVhsv(279, 77%, 40%)
CMYKcmyk(27.2%, 76.7%, 0%, 59.6%)
CIE-LABlab(20.55, 37.89, -35.80)
CIE-LCHlch(20.55, 52.13, 316.62°)
OKLaboklab(33.2% 0.0868 -0.1013)
OKLCHoklch(33.2% 0.133 310.6)
XYZxyz(5.6760, 3.1285, 13.1342)
Luminance0.0313 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B1867 #346718
analogous
#231867 #4B1867 #67185C
triadic
#4B1867 #674B18 #18674B
tetradic
#4B1867 #672318 #346718 #185C67
square
#4B1867 #672318 #346718 #185C67
split-complementary
#4B1867 #5C6718 #186723
monochromatic
#120619 #270C35 #4B1867 #6F2499 #932FCA

Accessibility & contrast

On white

12.92
#4B1867 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#4B1867 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B1867
12.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B1867#FFFFFF#000000##FFFFFF
##4B18671.0012.921.6312.92
#FFFFFF12.921.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F69
Deuteranopia (green-blind)
#093265
Tritanopia (blue-blind)
#472A3E
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #4b1867;
/* rgb */ color: rgb(75, 24, 103);
/* oklch */ color: oklch(33.2% 0.133 310.6);
Tailwind
colors: {
  custom: {
    50: '#815a93',
    500: '#4b1867',
    950: '#000000',
  },
}
SCSS
$custom: #4b1867;
$custom-light: #815a93;
$custom-dark: #000000;
JSON
{
  "hex": "#4b1867",
  "rgb": {
    "r": 75,
    "g": 24,
    "b": 103
  },
  "hsl": {
    "h": 278.734,
    "s": 62.205,
    "l": 24.902
  },
  "oklch": {
    "l": 0.33195,
    "c": 0.13344,
    "h": 310.6
  },
  "luminance": 0.03128
}

Semantic roles & 50–950 ramp

primary
#4B1867
secondary
#609D3E
accent
#E5437C
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #4B1867

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

Preview Lab → · Contrast checker → · Palette generator →

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