#4B105F#4B105F

#4B105F is a dark, vivid purple. Relative luminance 0.027; OKLCH L 31.7% C 0.135 H 315.6°. Best body text is #FFFFFF at 13.65:1 contrast (WCAG AA passes).

Color values

HEX#4B105F
RGBrgb(75, 16, 95)
HSLhsl(285, 71%, 22%)
HSVhsv(285, 83%, 37%)
CMYKcmyk(21.1%, 83.2%, 0%, 62.7%)
CIE-LABlab(18.77, 39.36, -33.41)
CIE-LCHlch(18.77, 51.63, 319.68°)
OKLaboklab(31.74% 0.0964 -0.0942)
OKLCHoklch(31.74% 0.135 315.6)
XYZxyz(5.1522, 2.6929, 11.0726)
Luminance0.0269 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B105F #245F10
analogous
#24105F #4B105F #5F104C
triadic
#4B105F #5F4B10 #105F4B
tetradic
#4B105F #5F2410 #245F10 #104C5F
square
#4B105F #5F2410 #245F10 #104C5F
split-complementary
#4B105F #4C5F10 #105F24
monochromatic
#15041A #22072B #4B105F #741993 #9E22C8

Accessibility & contrast

On white

13.65
#4B105F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#4B105F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B105F
13.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B105F#FFFFFF#000000##FFFFFF
##4B105F1.0013.651.5413.65
#FFFFFF13.651.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A61
Deuteranopia (green-blind)
#0E2F5D
Tritanopia (blue-blind)
#492237
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #4b105f;
/* rgb */ color: rgb(75, 16, 95);
/* oklch */ color: oklch(31.7% 0.135 315.6);
Tailwind
colors: {
  custom: {
    50: '#81568d',
    500: '#4b105f',
    950: '#000000',
  },
}
SCSS
$custom: #4b105f;
$custom-light: #81568d;
$custom-dark: #000000;
JSON
{
  "hex": "#4b105f",
  "rgb": {
    "r": 75,
    "g": 16,
    "b": 95
  },
  "hsl": {
    "h": 284.81,
    "s": 71.171,
    "l": 21.765
  },
  "oklch": {
    "l": 0.31737,
    "c": 0.1348,
    "h": 315.6
  },
  "luminance": 0.02693
}

Semantic roles & 50–950 ramp

primary
#4B105F
secondary
#4C9833
accent
#EE3A67
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B030C
muted
#7C787D

Preview Lab

Preview with #4B105F

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

Preview Lab → · Contrast checker → · Palette generator →

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