#4A366F#4A366F

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

Color values

HEX#4A366F
RGBrgb(74, 54, 111)
HSLhsl(261, 35%, 32%)
HSVhsv(261, 51%, 44%)
CMYKcmyk(33.3%, 51.4%, 0%, 56.5%)
CIE-LABlab(27.41, 22.58, -29.98)
CIE-LCHlch(27.41, 37.53, 306.98°)
OKLaboklab(38.35% 0.0448 -0.0844)
OKLCHoklch(38.35% 0.096 297.9)
XYZxyz(7.0118, 5.2418, 15.6782)
Luminance0.0524 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A366F #5B6F36
analogous
#363F6F #4A366F #67366F
triadic
#4A366F #6F4A36 #366F4A
tetradic
#4A366F #6F363F #5B6F36 #366F67
square
#4A366F #6F363F #5B6F36 #366F67
split-complementary
#4A366F #6F6736 #3F6F36
monochromatic
#130E1D #2F2246 #4A366F #654A98 #8469B6

Accessibility & contrast

On white

10.25
#4A366F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#4A366F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A366F
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A366F#FFFFFF#000000##FFFFFF
##4A366F1.0010.252.0510.25
#FFFFFF10.251.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234171
Deuteranopia (green-blind)
#27406E
Tritanopia (blue-blind)
#42414D
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4a366f;
/* rgb */ color: rgb(74, 54, 111);
/* oklch */ color: oklch(38.3% 0.096 297.9);
Tailwind
colors: {
  custom: {
    50: '#7e6d99',
    500: '#4a366f',
    950: '#000000',
  },
}
SCSS
$custom: #4a366f;
$custom-light: #7e6d99;
$custom-dark: #000000;
JSON
{
  "hex": "#4a366f",
  "rgb": {
    "r": 74,
    "g": 54,
    "b": 111
  },
  "hsl": {
    "h": 261.053,
    "s": 34.545,
    "l": 32.353
  },
  "oklch": {
    "l": 0.38349,
    "c": 0.09556,
    "h": 297.9
  },
  "luminance": 0.05242
}

Semantic roles & 50–950 ramp

primary
#4A366F
secondary
#8A9F62
accent
#CB5DA4
background
#F7F6F9
surface
#EEEBF2
border
#C9C6CC
text
#0A070E
muted
#7C7A7E

Preview Lab

Preview with #4A366F

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

Preview Lab → · Contrast checker → · Palette generator →

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