#4A366C#4A366C

#4A366C is a dark, moderate violet. Relative luminance 0.052; OKLCH L 38.2% C 0.091 H 299.1°. Best body text is #FFFFFF at 10.32:1 contrast (WCAG AA passes).

Color values

HEX#4A366C
RGBrgb(74, 54, 108)
HSLhsl(262, 33%, 32%)
HSVhsv(262, 50%, 42%)
CMYKcmyk(31.5%, 50%, 0%, 57.6%)
CIE-LABlab(27.23, 21.72, -28.35)
CIE-LCHlch(27.23, 35.71, 307.46°)
OKLaboklab(38.16% 0.0444 -0.0796)
OKLCHoklch(38.16% 0.091 299.1)
XYZxyz(6.8493, 5.1768, 14.8228)
Luminance0.0518 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A366C #586C36
analogous
#363D6C #4A366C #65366C
triadic
#4A366C #6C4A36 #366C4A
tetradic
#4A366C #6C363D #586C36 #366C65
square
#4A366C #6C363D #586C36 #366C65
split-complementary
#4A366C #6C6536 #3D6C36
monochromatic
#120D1A #2E2243 #4A366C #664A95 #8469B4

Accessibility & contrast

On white

10.32
#4A366C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#4A366C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A366C
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A366C#FFFFFF#000000##FFFFFF
##4A366C1.0010.322.0410.32
#FFFFFF10.321.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25406E
Deuteranopia (green-blind)
#2A406B
Tritanopia (blue-blind)
#43404C
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #4a366c;
/* rgb */ color: rgb(74, 54, 108);
/* oklch */ color: oklch(38.2% 0.091 299.1);
Tailwind
colors: {
  custom: {
    50: '#7e6d96',
    500: '#4a366c',
    950: '#000000',
  },
}
SCSS
$custom: #4a366c;
$custom-light: #7e6d96;
$custom-dark: #000000;
JSON
{
  "hex": "#4a366c",
  "rgb": {
    "r": 74,
    "g": 54,
    "b": 108
  },
  "hsl": {
    "h": 262.222,
    "s": 33.333,
    "l": 31.765
  },
  "oklch": {
    "l": 0.38156,
    "c": 0.09118,
    "h": 299.1
  },
  "luminance": 0.05177
}

Semantic roles & 50–950 ramp

primary
#4A366C
secondary
#879D61
accent
#C95EA2
background
#F7F6F9
surface
#EEEBF2
border
#C9C6CC
text
#0A070D
muted
#7C7A7E

Preview Lab

Preview with #4A366C

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

Preview Lab → · Contrast checker → · Palette generator →

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