#4B366F#4B366F

#4B366F is a dark, moderate violet. Relative luminance 0.053; OKLCH L 38.5% C 0.096 H 298.8°. Best body text is #FFFFFF at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#4B366F
RGBrgb(75, 54, 111)
HSLhsl(262, 35%, 32%)
HSVhsv(262, 51%, 44%)
CMYKcmyk(32.4%, 51.4%, 0%, 56.5%)
CIE-LABlab(27.52, 22.87, -29.80)
CIE-LCHlch(27.52, 37.56, 307.51°)
OKLaboklab(38.46% 0.0462 -0.0839)
OKLCHoklch(38.46% 0.096 298.8)
XYZxyz(7.0894, 5.2818, 15.6818)
Luminance0.0528 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B366F #5A6F36
analogous
#363E6F #4B366F #67366F
triadic
#4B366F #6F4B36 #366F4B
tetradic
#4B366F #6F363E #5A6F36 #366F67
square
#4B366F #6F363E #5A6F36 #366F67
split-complementary
#4B366F #6F6736 #3E6F36
monochromatic
#130E1D #2F2246 #4B366F #674A98 #8669B6

Accessibility & contrast

On white

10.21
#4B366F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#4B366F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B366F
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B366F#FFFFFF#000000##FFFFFF
##4B366F1.0010.212.0610.21
#FFFFFF10.211.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.211.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4b366f;
/* rgb */ color: rgb(75, 54, 111);
/* oklch */ color: oklch(38.5% 0.096 298.8);
Tailwind
colors: {
  custom: {
    50: '#7f6d98',
    500: '#4b366f',
    950: '#000000',
  },
}
SCSS
$custom: #4b366f;
$custom-light: #7f6d98;
$custom-dark: #000000;
JSON
{
  "hex": "#4b366f",
  "rgb": {
    "r": 75,
    "g": 54,
    "b": 111
  },
  "hsl": {
    "h": 262.105,
    "s": 34.545,
    "l": 32.353
  },
  "oklch": {
    "l": 0.38458,
    "c": 0.09572,
    "h": 298.8
  },
  "luminance": 0.05282
}

Semantic roles & 50–950 ramp

primary
#4B366F
secondary
#889F62
accent
#CB5DA2
background
#F7F6F9
surface
#EEEBF2
border
#C9C6CC
text
#0A070E
muted
#7C7A7E

Preview Lab

Preview with #4B366F

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

Preview Lab → · Contrast checker → · Palette generator →

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