#4B107F#4B107F

#4B107F is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.6% C 0.166 H 301.6°. Best body text is #FFFFFF at 12.50:1 contrast (WCAG AA passes).

Color values

HEX#4B107F
RGBrgb(75, 16, 127)
HSLhsl(272, 78%, 28%)
HSVhsv(272, 87%, 50%)
CMYKcmyk(40.9%, 87.4%, 0%, 50.2%)
CIE-LABlab(21.57, 46.79, -49.60)
CIE-LCHlch(21.57, 68.18, 313.33°)
OKLaboklab(34.56% 0.0871 -0.1418)
OKLCHoklch(34.56% 0.166 301.6)
XYZxyz(6.9168, 3.3987, 20.3662)
Luminance0.0340 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B107F #447F10
analogous
#14107F #4B107F #7F107B
triadic
#4B107F #7F4B10 #107F4B
tetradic
#4B107F #7F1410 #447F10 #107B7F
square
#4B107F #7F1410 #447F10 #107B7F
split-complementary
#4B107F #7B7F10 #107F14
monochromatic
#10031B #2B0949 #4B107F #6B17B5 #8B26E4

Accessibility & contrast

On white

12.50
#4B107F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#4B107F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B107F
12.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B107F#FFFFFF#000000##FFFFFF
##4B107F1.0012.501.6812.50
#FFFFFF12.501.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003382
Deuteranopia (green-blind)
#00337D
Tritanopia (blue-blind)
#3F314A
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #4b107f;
/* rgb */ color: rgb(75, 16, 127);
/* oklch */ color: oklch(34.6% 0.166 301.6);
Tailwind
colors: {
  custom: {
    50: '#8358a5',
    500: '#4b107f',
    950: '#000000',
  },
}
SCSS
$custom: #4b107f;
$custom-light: #8358a5;
$custom-dark: #000000;
JSON
{
  "hex": "#4b107f",
  "rgb": {
    "r": 75,
    "g": 16,
    "b": 127
  },
  "hsl": {
    "h": 271.892,
    "s": 77.622,
    "l": 28.039
  },
  "oklch": {
    "l": 0.3456,
    "c": 0.16642,
    "h": 301.6
  },
  "luminance": 0.03399
}

Semantic roles & 50–950 ramp

primary
#4B107F
secondary
#71B536
accent
#F4348E
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #4B107F

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

Preview Lab → · Contrast checker → · Palette generator →

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