#4B105A#4B105A

#4B105A is a dark, vivid purple. Relative luminance 0.026; OKLCH L 31.3% C 0.130 H 318.4°. Best body text is #FFFFFF at 13.81:1 contrast (WCAG AA passes).

Color values

HEX#4B105A
RGBrgb(75, 16, 90)
HSLhsl(288, 70%, 21%)
HSVhsv(288, 82%, 35%)
CMYKcmyk(16.7%, 82.2%, 0%, 64.7%)
CIE-LABlab(18.39, 38.28, -30.69)
CIE-LCHlch(18.39, 49.06, 321.28°)
OKLaboklab(31.35% 0.0972 -0.0863)
OKLCHoklch(31.35% 0.13 318.4)
XYZxyz(4.9322, 2.6049, 9.9139)
Luminance0.0261 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B105A #1F5A10
analogous
#26105A #4B105A #5A1044
triadic
#4B105A #5A4B10 #105A4B
tetradic
#4B105A #5A2610 #1F5A10 #10445A
square
#4B105A #5A2610 #1F5A10 #10445A
split-complementary
#4B105A #445A10 #105A26
monochromatic
#16051A #200726 #4B105A #76198E #A222C2

Accessibility & contrast

On white

13.81
#4B105A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#4B105A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B105A
13.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B105A#FFFFFF#000000##FFFFFF
##4B105A1.0013.811.5213.81
#FFFFFF13.811.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00295C
Deuteranopia (green-blind)
#142F58
Tritanopia (blue-blind)
#4B2035
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #4b105a;
/* rgb */ color: rgb(75, 16, 90);
/* oklch */ color: oklch(31.3% 0.130 318.4);
Tailwind
colors: {
  custom: {
    50: '#805689',
    500: '#4b105a',
    950: '#000000',
  },
}
SCSS
$custom: #4b105a;
$custom-light: #805689;
$custom-dark: #000000;
JSON
{
  "hex": "#4b105a",
  "rgb": {
    "r": 75,
    "g": 16,
    "b": 90
  },
  "hsl": {
    "h": 287.838,
    "s": 69.811,
    "l": 20.784
  },
  "oklch": {
    "l": 0.31345,
    "c": 0.12996,
    "h": 318.4
  },
  "luminance": 0.02605
}

Semantic roles & 50–950 ramp

primary
#4B105A
secondary
#469333
accent
#ED3B5F
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B030B
muted
#7C787C

Preview Lab

Preview with #4B105A

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

Preview Lab → · Contrast checker → · Palette generator →

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