#4A366A#4A366A

#4A366A is a dark, moderate violet. Relative luminance 0.051; OKLCH L 38.0% C 0.088 H 300.0°. Best body text is #FFFFFF at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#4A366A
RGBrgb(74, 54, 106)
HSLhsl(263, 33%, 31%)
HSVhsv(263, 49%, 42%)
CMYKcmyk(30.2%, 49.1%, 0%, 58.4%)
CIE-LABlab(27.12, 21.16, -27.25)
CIE-LCHlch(27.12, 34.50, 307.82°)
OKLaboklab(38.03% 0.0441 -0.0765)
OKLCHoklch(38.03% 0.088 300)
XYZxyz(6.7441, 5.1347, 14.2687)
Luminance0.0513 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A366A #566A36
analogous
#363C6A #4A366A #64366A
triadic
#4A366A #6A4A36 #366A4A
tetradic
#4A366A #6A363C #566A36 #366A64
square
#4A366A #6A363C #566A36 #366A64
split-complementary
#4A366A #6A6436 #3C6A36
monochromatic
#110D19 #2E2141 #4A366A #664B93 #8568B2

Accessibility & contrast

On white

10.36
#4A366A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#4A366A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A366A
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A366A#FFFFFF#000000##FFFFFF
##4A366A1.0010.362.0310.36
#FFFFFF10.361.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26406C
Deuteranopia (green-blind)
#2B4069
Tritanopia (blue-blind)
#443F4B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #4a366a;
/* rgb */ color: rgb(74, 54, 106);
/* oklch */ color: oklch(38.0% 0.088 300.0);
Tailwind
colors: {
  custom: {
    50: '#7e6d95',
    500: '#4a366a',
    950: '#000000',
  },
}
SCSS
$custom: #4a366a;
$custom-light: #7e6d95;
$custom-dark: #000000;
JSON
{
  "hex": "#4a366a",
  "rgb": {
    "r": 74,
    "g": 54,
    "b": 106
  },
  "hsl": {
    "h": 263.077,
    "s": 32.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.3803,
    "c": 0.08827,
    "h": 300
  },
  "luminance": 0.05135
}

Semantic roles & 50–950 ramp

primary
#4A366A
secondary
#859B61
accent
#C95FA0
background
#F7F6F9
surface
#EEEBF1
border
#C9C6CB
text
#0A070D
muted
#7C7A7E

Preview Lab

Preview with #4A366A

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

Preview Lab → · Contrast checker → · Palette generator →

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