#4A366E#4A366E

#4A366E is a dark, moderate violet. Relative luminance 0.052; OKLCH L 38.3% C 0.094 H 298.3°. Best body text is #FFFFFF at 10.27:1 contrast (WCAG AA passes).

Color values

HEX#4A366E
RGBrgb(74, 54, 110)
HSLhsl(261, 34%, 32%)
HSVhsv(261, 51%, 43%)
CMYKcmyk(32.7%, 50.9%, 0%, 56.9%)
CIE-LABlab(27.35, 22.29, -29.44)
CIE-LCHlch(27.35, 36.92, 307.13°)
OKLaboklab(38.29% 0.0447 -0.0828)
OKLCHoklch(38.29% 0.094 298.3)
XYZxyz(6.9570, 5.2199, 15.3898)
Luminance0.0522 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A366E #5A6E36
analogous
#363E6E #4A366E #66366E
triadic
#4A366E #6E4A36 #366E4A
tetradic
#4A366E #6E363E #5A6E36 #366E66
square
#4A366E #6E363E #5A6E36 #366E66
split-complementary
#4A366E #6E6636 #3E6E36
monochromatic
#130E1C #2E2245 #4A366E #664A97 #8469B5

Accessibility & contrast

On white

10.27
#4A366E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A366E
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A366E#FFFFFF#000000##FFFFFF
##4A366E1.0010.272.0410.27
#FFFFFF10.271.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244170
Deuteranopia (green-blind)
#28406D
Tritanopia (blue-blind)
#42404C
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4a366e;
/* rgb */ color: rgb(74, 54, 110);
/* oklch */ color: oklch(38.3% 0.094 298.3);
Tailwind
colors: {
  custom: {
    50: '#7e6d98',
    500: '#4a366e',
    950: '#000000',
  },
}
SCSS
$custom: #4a366e;
$custom-light: #7e6d98;
$custom-dark: #000000;
JSON
{
  "hex": "#4a366e",
  "rgb": {
    "r": 74,
    "g": 54,
    "b": 110
  },
  "hsl": {
    "h": 261.429,
    "s": 34.146,
    "l": 32.157
  },
  "oklch": {
    "l": 0.38285,
    "c": 0.0941,
    "h": 298.3
  },
  "luminance": 0.0522
}

Semantic roles & 50–950 ramp

primary
#4A366E
secondary
#899E62
accent
#CA5EA3
background
#F7F6F9
surface
#EEEBF2
border
#C9C6CC
text
#0A070D
muted
#7C7A7E

Preview Lab

Preview with #4A366E

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

Preview Lab → · Contrast checker → · Palette generator →

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