#4B0843#4B0843

#4B0843 is a dark, moderate purple. Relative luminance 0.021; OKLCH L 29.1% C 0.118 H 333.9°. Best body text is #FFFFFF at 14.84:1 contrast (WCAG AA passes).

Color values

HEX#4B0843
RGBrgb(75, 8, 67)
HSLhsl(307, 81%, 16%)
HSVhsv(307, 89%, 29%)
CMYKcmyk(0%, 89.3%, 10.7%, 70.6%)
CIE-LABlab(15.88, 36.54, -18.97)
CIE-LCHlch(15.88, 41.17, 332.57°)
OKLaboklab(29.06% 0.1061 -0.0521)
OKLCHoklch(29.06% 0.118 333.9)
XYZxyz(4.0016, 2.0751, 5.4989)
Luminance0.0208 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B0843 #084B10
analogous
#32084B #4B0843 #4B0822
triadic
#4B0843 #434B08 #08434B
tetradic
#4B0843 #4B3208 #084B10 #08224B
square
#4B0843 #4B3208 #084B10 #08224B
split-complementary
#4B0843 #224B08 #084B32
monochromatic
#1C0319 #1C0319 #4B0843 #820E74 #BA14A6

Accessibility & contrast

On white

14.84
#4B0843 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#4B0843 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B0843
14.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B0843#FFFFFF#000000##FFFFFF
##4B08431.0014.841.4214.84
#FFFFFF14.841.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#062145
Deuteranopia (green-blind)
#212B41
Tritanopia (blue-blind)
#4F1026
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #4b0843;
/* rgb */ color: rgb(75, 8, 67);
/* oklch */ color: oklch(29.1% 0.118 333.9);
Tailwind
colors: {
  custom: {
    50: '#805277',
    500: '#4b0843',
    950: '#000000',
  },
}
SCSS
$custom: #4b0843;
$custom-light: #805277;
$custom-dark: #000000;
JSON
{
  "hex": "#4b0843",
  "rgb": {
    "r": 75,
    "g": 8,
    "b": 67
  },
  "hsl": {
    "h": 307.164,
    "s": 80.723,
    "l": 16.275
  },
  "oklch": {
    "l": 0.29056,
    "c": 0.11818,
    "h": 333.9
  },
  "luminance": 0.02075
}

Semantic roles & 50–950 ramp

primary
#4B0843
secondary
#268932
accent
#F74831
background
#F8F4F7
surface
#EFE7ED
border
#CAC3C8
text
#0B0208
muted
#7C787B

Preview Lab

Preview with #4B0843

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

Preview Lab → · Contrast checker → · Palette generator →

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