#4B105C#4B105C

#4B105C is a dark, vivid purple. Relative luminance 0.026; OKLCH L 31.5% C 0.132 H 317.3°. Best body text is #FFFFFF at 13.75:1 contrast (WCAG AA passes).

Color values

HEX#4B105C
RGBrgb(75, 16, 92)
HSLhsl(287, 70%, 21%)
HSVhsv(287, 83%, 36%)
CMYKcmyk(18.5%, 82.6%, 0%, 63.9%)
CIE-LABlab(18.54, 38.71, -31.78)
CIE-LCHlch(18.54, 50.08, 320.61°)
OKLaboklab(31.5% 0.0969 -0.0895)
OKLCHoklch(31.5% 0.132 317.3)
XYZxyz(5.0184, 2.6394, 10.3682)
Luminance0.0264 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B105C #215C10
analogous
#25105C #4B105C #5C1047
triadic
#4B105C #5C4B10 #105C4B
tetradic
#4B105C #5C2510 #215C10 #10475C
square
#4B105C #5C2510 #215C10 #10475C
split-complementary
#4B105C #475C10 #105C25
monochromatic
#15051A #200728 #4B105C #751990 #A022C4

Accessibility & contrast

On white

13.75
#4B105C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#4B105C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B105C
13.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B105C#FFFFFF#000000##FFFFFF
##4B105C1.0013.751.5313.75
#FFFFFF13.751.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A5E
Deuteranopia (green-blind)
#122F5A
Tritanopia (blue-blind)
#4A2136
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #4b105c;
/* rgb */ color: rgb(75, 16, 92);
/* oklch */ color: oklch(31.5% 0.132 317.3);
Tailwind
colors: {
  custom: {
    50: '#80568b',
    500: '#4b105c',
    950: '#000000',
  },
}
SCSS
$custom: #4b105c;
$custom-light: #80568b;
$custom-dark: #000000;
JSON
{
  "hex": "#4b105c",
  "rgb": {
    "r": 75,
    "g": 16,
    "b": 92
  },
  "hsl": {
    "h": 286.579,
    "s": 70.37,
    "l": 21.176
  },
  "oklch": {
    "l": 0.315,
    "c": 0.13189,
    "h": 317.3
  },
  "luminance": 0.02639
}

Semantic roles & 50–950 ramp

primary
#4B105C
secondary
#499533
accent
#ED3B63
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B030C
muted
#7C787D

Preview Lab

Preview with #4B105C

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

Preview Lab → · Contrast checker → · Palette generator →

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