#4C427B#4C427B

#4C427B is a dark, moderate violet. Relative luminance 0.069; OKLCH L 41.7% C 0.093 H 289.8°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#4C427B
RGBrgb(76, 66, 123)
HSLhsl(251, 30%, 37%)
HSVhsv(251, 46%, 48%)
CMYKcmyk(38.2%, 46.3%, 0%, 51.8%)
CIE-LABlab(31.49, 18.91, -31.07)
CIE-LCHlch(31.49, 36.37, 301.33°)
OKLaboklab(41.7% 0.0315 -0.0875)
OKLCHoklch(41.7% 0.093 289.8)
XYZxyz(8.5029, 6.8628, 19.6117)
Luminance0.0686 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C427B #717B42
analogous
#42557B #4C427B #69427B
triadic
#4C427B #7B4C42 #427B4C
tetradic
#4C427B #7B4255 #717B42 #427B69
square
#4C427B #7B4255 #717B42 #427B69
split-complementary
#4C427B #7B6942 #557B42
monochromatic
#1B172B #332D53 #4C427B #6557A3 #887EBA

Accessibility & contrast

On white

8.85
#4C427B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#4C427B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C427B
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C427B#FFFFFF#000000##FFFFFF
##4C427B1.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4B7D
Deuteranopia (green-blind)
#2F497A
Tritanopia (blue-blind)
#404D58
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4c427b;
/* rgb */ color: rgb(76, 66, 123);
/* oklch */ color: oklch(41.7% 0.093 289.8);
Tailwind
colors: {
  custom: {
    50: '#8076a1',
    500: '#4c427b',
    950: '#000000',
  },
}
SCSS
$custom: #4c427b;
$custom-light: #8076a1;
$custom-dark: #000000;
JSON
{
  "hex": "#4c427b",
  "rgb": {
    "r": 76,
    "g": 66,
    "b": 123
  },
  "hsl": {
    "h": 250.526,
    "s": 30.159,
    "l": 37.059
  },
  "oklch": {
    "l": 0.41695,
    "c": 0.09304,
    "h": 289.8
  },
  "luminance": 0.06863
}

Semantic roles & 50–950 ramp

primary
#4C427B
secondary
#9CA574
accent
#C661B5
background
#F8F7F9
surface
#EFEDF2
border
#CAC8CC
text
#0A080F
muted
#7C7B7E

Preview Lab

Preview with #4C427B

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

Preview Lab → · Contrast checker → · Palette generator →

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