#4A4262#4A4262

#4A4262 is a dark, muted violet. Relative luminance 0.062; OKLCH L 40.1% C 0.054 H 295.3°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#4A4262
RGBrgb(74, 66, 98)
HSLhsl(255, 20%, 32%)
HSVhsv(255, 33%, 38%)
CMYKcmyk(24.5%, 32.7%, 0%, 61.6%)
CIE-LABlab(30.00, 11.09, -17.61)
CIE-LCHlch(30.00, 20.81, 302.20°)
OKLaboklab(40.08% 0.023 -0.0486)
OKLCHoklch(40.08% 0.054 295.3)
XYZxyz(6.9764, 6.2341, 12.3887)
Luminance0.0623 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A4262 #5A6242
analogous
#424A62 #4A4262 #5A4262
triadic
#4A4262 #624A42 #42624A
tetradic
#4A4262 #62424A #5A6242 #42625A
square
#4A4262 #62424A #5A6242 #42625A
split-complementary
#4A4262 #625A42 #4A6242
monochromatic
#131119 #2E293D #4A4262 #665B87 #8479A5

Accessibility & contrast

On white

9.35
#4A4262 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#4A4262 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A4262
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A4262#FFFFFF#000000##FFFFFF
##4A42621.009.352.259.35
#FFFFFF9.351.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A4763
Deuteranopia (green-blind)
#3B4661
Tritanopia (blue-blind)
#45474D
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #4a4262;
/* rgb */ color: rgb(74, 66, 98);
/* oklch */ color: oklch(40.1% 0.054 295.3);
Tailwind
colors: {
  custom: {
    50: '#7d768e',
    500: '#4a4262',
    950: '#000000',
  },
}
SCSS
$custom: #4a4262;
$custom-light: #7d768e;
$custom-dark: #000000;
JSON
{
  "hex": "#4a4262",
  "rgb": {
    "r": 74,
    "g": 66,
    "b": 98
  },
  "hsl": {
    "h": 255,
    "s": 19.512,
    "l": 32.157
  },
  "oklch": {
    "l": 0.40081,
    "c": 0.05383,
    "h": 295.3
  },
  "luminance": 0.06234
}

Semantic roles & 50–950 ramp

primary
#4A4262
secondary
#89916F
accent
#BC6CA8
background
#F7F7F8
surface
#EEEDF0
border
#C9C8CB
text
#09080C
muted
#7B7B7D

Preview Lab

Preview with #4A4262

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

Preview Lab → · Contrast checker → · Palette generator →

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