#4B407E#4B407E

#4B407E is a dark, moderate violet. Relative luminance 0.067; OKLCH L 41.4% C 0.101 H 289.4°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#4B407E
RGBrgb(75, 64, 126)
HSLhsl(251, 33%, 37%)
HSVhsv(251, 49%, 49%)
CMYKcmyk(40.5%, 49.2%, 0%, 50.6%)
CIE-LABlab(31.04, 20.83, -33.66)
CIE-LCHlch(31.04, 39.59, 301.75°)
OKLaboklab(41.39% 0.0335 -0.0952)
OKLCHoklch(41.39% 0.101 289.4)
XYZxyz(8.4999, 6.6688, 20.5740)
Luminance0.0667 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B407E #737E40
analogous
#40547E #4B407E #6A407E
triadic
#4B407E #7E4B40 #407E4B
tetradic
#4B407E #7E4054 #737E40 #407E6A
square
#4B407E #7E4054 #737E40 #407E6A
split-complementary
#4B407E #7E6A40 #547E40
monochromatic
#1B172D #332B55 #4B407E #6355A7 #877CBC

Accessibility & contrast

On white

9.00
#4B407E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#4B407E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B407E
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B407E#FFFFFF#000000##FFFFFF
##4B407E1.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294A80
Deuteranopia (green-blind)
#29487D
Tritanopia (blue-blind)
#3D4C59
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4b407e;
/* rgb */ color: rgb(75, 64, 126);
/* oklch */ color: oklch(41.4% 0.101 289.4);
Tailwind
colors: {
  custom: {
    50: '#8075a4',
    500: '#4b407e',
    950: '#000000',
  },
}
SCSS
$custom: #4b407e;
$custom-light: #8075a4;
$custom-dark: #000000;
JSON
{
  "hex": "#4b407e",
  "rgb": {
    "r": 75,
    "g": 64,
    "b": 126
  },
  "hsl": {
    "h": 250.645,
    "s": 32.632,
    "l": 37.255
  },
  "oklch": {
    "l": 0.41389,
    "c": 0.10088,
    "h": 289.4
  },
  "luminance": 0.06669
}

Semantic roles & 50–950 ramp

primary
#4B407E
secondary
#9EA773
accent
#C95FB6
background
#F8F7FA
surface
#EFEDF4
border
#CAC8CE
text
#0A080F
muted
#7C7B7F

Preview Lab

Preview with #4B407E

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

Preview Lab → · Contrast checker → · Palette generator →

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