#4C429B#4C429B

#4C429B is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.9% C 0.140 H 284.1°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#4C429B
RGBrgb(76, 66, 155)
HSLhsl(247, 40%, 43%)
HSVhsv(247, 57%, 61%)
CMYKcmyk(51%, 57.4%, 0%, 39.2%)
CIE-LABlab(33.56, 28.88, -47.44)
CIE-LCHlch(33.56, 55.53, 301.33°)
OKLaboklab(43.91% 0.0342 -0.1356)
OKLCHoklch(43.91% 0.14 284.1)
XYZxyz(10.8433, 7.7989, 31.9380)
Luminance0.0780 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C429B #919B42
analogous
#42649B #4C429B #78429B
triadic
#4C429B #9B4C42 #429B4C
tetradic
#4C429B #9B4264 #919B42 #429B78
square
#4C429B #9B4264 #919B42 #429B78
split-complementary
#4C429B #9B7842 #649B42
monochromatic
#221D45 #373070 #4C429B #6A5FBB #928ACD

Accessibility & contrast

On white

8.20
#4C429B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#4C429B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C429B
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C429B#FFFFFF#000000##FFFFFF
##4C429B1.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#04529E
Deuteranopia (green-blind)
#004C99
Tritanopia (blue-blind)
#2F5668
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4c429b;
/* rgb */ color: rgb(76, 66, 155);
/* oklch */ color: oklch(43.9% 0.140 284.1);
Tailwind
colors: {
  custom: {
    50: '#8476b9',
    500: '#4c429b',
    950: '#000000',
  },
}
SCSS
$custom: #4c429b;
$custom-light: #8476b9;
$custom-dark: #000000;
JSON
{
  "hex": "#4c429b",
  "rgb": {
    "r": 76,
    "g": 66,
    "b": 155
  },
  "hsl": {
    "h": 246.742,
    "s": 40.271,
    "l": 43.333
  },
  "oklch": {
    "l": 0.43907,
    "c": 0.13981,
    "h": 284.1
  },
  "luminance": 0.07799
}

Semantic roles & 50–950 ramp

primary
#4C429B
secondary
#B2B881
accent
#D058C3
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0B0811
muted
#7C7B80

Preview Lab

Preview with #4C429B

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

Preview Lab → · Contrast checker → · Palette generator →

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