#4B105E#4B105E

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

Color values

HEX#4B105E
RGBrgb(75, 16, 94)
HSLhsl(285, 71%, 22%)
HSVhsv(285, 83%, 37%)
CMYKcmyk(20.2%, 83%, 0%, 63.1%)
CIE-LABlab(18.69, 39.14, -32.87)
CIE-LCHlch(18.69, 51.11, 319.98°)
OKLaboklab(31.66% 0.0966 -0.0927)
OKLCHoklch(31.66% 0.134 316.2)
XYZxyz(5.1070, 2.6748, 10.8348)
Luminance0.0267 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B105E #235E10
analogous
#24105E #4B105E #5E104A
triadic
#4B105E #5E4B10 #105E4B
tetradic
#4B105E #5E2410 #235E10 #104A5E
square
#4B105E #5E2410 #235E10 #104A5E
split-complementary
#4B105E #4A5E10 #105E24
monochromatic
#15041A #21072A #4B105E #751992 #9E22C7

Accessibility & contrast

On white

13.68
#4B105E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4B105E
13.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B105E#FFFFFF#000000##FFFFFF
##4B105E1.0013.681.5413.68
#FFFFFF13.681.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A60
Deuteranopia (green-blind)
#0F2F5C
Tritanopia (blue-blind)
#4A2237
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #4b105e;
/* rgb */ color: rgb(75, 16, 94);
/* oklch */ color: oklch(31.7% 0.134 316.2);
Tailwind
colors: {
  custom: {
    50: '#81568c',
    500: '#4b105e',
    950: '#000000',
  },
}
SCSS
$custom: #4b105e;
$custom-light: #81568c;
$custom-dark: #000000;
JSON
{
  "hex": "#4b105e",
  "rgb": {
    "r": 75,
    "g": 16,
    "b": 94
  },
  "hsl": {
    "h": 285.385,
    "s": 70.909,
    "l": 21.569
  },
  "oklch": {
    "l": 0.31657,
    "c": 0.13383,
    "h": 316.2
  },
  "luminance": 0.02675
}

Semantic roles & 50–950 ramp

primary
#4B105E
secondary
#4B9733
accent
#EE3A66
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B030C
muted
#7C787D

Preview Lab

Preview with #4B105E

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

Preview Lab → · Contrast checker → · Palette generator →

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