#4B417C#4B417C

#4B417C is a dark, moderate violet. Relative luminance 0.067; OKLCH L 41.5% C 0.096 H 289.3°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#4B417C
RGBrgb(75, 65, 124)
HSLhsl(250, 31%, 37%)
HSVhsv(250, 48%, 49%)
CMYKcmyk(39.5%, 47.6%, 0%, 51.4%)
CIE-LABlab(31.19, 19.58, -32.18)
CIE-LCHlch(31.19, 37.67, 301.31°)
OKLaboklab(41.46% 0.0318 -0.0908)
OKLCHoklch(41.46% 0.096 289.3)
XYZxyz(8.4290, 6.7314, 19.9201)
Luminance0.0673 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B417C #727C41
analogous
#41557C #4B417C #69417C
triadic
#4B417C #7C4B41 #417C4B
tetradic
#4B417C #7C4155 #727C41 #417C69
square
#4B417C #7C4155 #727C41 #417C69
split-complementary
#4B417C #7C6941 #557C41
monochromatic
#1A172C #332C54 #4B417C #6356A4 #877DBB

Accessibility & contrast

On white

8.95
#4B417C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#4B417C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B417C
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B417C#FFFFFF#000000##FFFFFF
##4B417C1.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4B7E
Deuteranopia (green-blind)
#2C487B
Tritanopia (blue-blind)
#3E4D58
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4b417c;
/* rgb */ color: rgb(75, 65, 124);
/* oklch */ color: oklch(41.5% 0.096 289.3);
Tailwind
colors: {
  custom: {
    50: '#8075a2',
    500: '#4b417c',
    950: '#000000',
  },
}
SCSS
$custom: #4b417c;
$custom-light: #8075a2;
$custom-dark: #000000;
JSON
{
  "hex": "#4b417c",
  "rgb": {
    "r": 75,
    "g": 65,
    "b": 124
  },
  "hsl": {
    "h": 250.169,
    "s": 31.217,
    "l": 37.059
  },
  "oklch": {
    "l": 0.41461,
    "c": 0.09623,
    "h": 289.3
  },
  "luminance": 0.06732
}

Semantic roles & 50–950 ramp

primary
#4B417C
secondary
#9DA573
accent
#C760B6
background
#F7F7FA
surface
#EEEDF3
border
#C9C8CD
text
#0A080F
muted
#7C7B7F

Preview Lab

Preview with #4B417C

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

Preview Lab → · Contrast checker → · Palette generator →

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