#4A366D#4A366D

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

Color values

HEX#4A366D
RGBrgb(74, 54, 109)
HSLhsl(262, 34%, 32%)
HSVhsv(262, 50%, 43%)
CMYKcmyk(32.1%, 50.5%, 0%, 57.3%)
CIE-LABlab(27.29, 22.01, -28.89)
CIE-LCHlch(27.29, 36.32, 307.29°)
OKLaboklab(38.22% 0.0445 -0.0812)
OKLCHoklch(38.22% 0.093 298.7)
XYZxyz(6.9029, 5.1982, 15.1047)
Luminance0.0520 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A366D #596D36
analogous
#363E6D #4A366D #66366D
triadic
#4A366D #6D4A36 #366D4A
tetradic
#4A366D #6D363E #596D36 #366D66
square
#4A366D #6D363E #596D36 #366D66
split-complementary
#4A366D #6D6636 #3E6D36
monochromatic
#120D1B #2E2244 #4A366D #664A96 #8469B5

Accessibility & contrast

On white

10.30
#4A366D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A366D
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A366D#FFFFFF#000000##FFFFFF
##4A366D1.0010.302.0410.30
#FFFFFF10.301.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24406F
Deuteranopia (green-blind)
#29406C
Tritanopia (blue-blind)
#43404C
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #4a366d;
/* rgb */ color: rgb(74, 54, 109);
/* oklch */ color: oklch(38.2% 0.093 298.7);
Tailwind
colors: {
  custom: {
    50: '#7e6d97',
    500: '#4a366d',
    950: '#000000',
  },
}
SCSS
$custom: #4a366d;
$custom-light: #7e6d97;
$custom-dark: #000000;
JSON
{
  "hex": "#4a366d",
  "rgb": {
    "r": 74,
    "g": 54,
    "b": 109
  },
  "hsl": {
    "h": 261.818,
    "s": 33.742,
    "l": 31.961
  },
  "oklch": {
    "l": 0.3822,
    "c": 0.09265,
    "h": 298.7
  },
  "luminance": 0.05198
}

Semantic roles & 50–950 ramp

primary
#4A366D
secondary
#889D61
accent
#CA5EA3
background
#F7F6F9
surface
#EEEBF2
border
#C9C6CC
text
#0A070D
muted
#7C7A7E

Preview Lab

Preview with #4A366D

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

Preview Lab → · Contrast checker → · Palette generator →

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