#4F366F#4F366F

#4F366F is a dark, moderate violet. Relative luminance 0.054; OKLCH L 38.9% C 0.097 H 302.4°. Best body text is #FFFFFF at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#4F366F
RGBrgb(79, 54, 111)
HSLhsl(266, 35%, 32%)
HSVhsv(266, 51%, 44%)
CMYKcmyk(28.8%, 51.4%, 0%, 56.5%)
CIE-LABlab(27.98, 24.07, -29.05)
CIE-LCHlch(27.98, 37.73, 309.64°)
OKLaboklab(38.9% 0.0517 -0.0816)
OKLCHoklch(38.9% 0.097 302.4)
XYZxyz(7.4122, 5.4483, 15.6970)
Luminance0.0545 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F366F #566F36
analogous
#363A6F #4F366F #6C366F
triadic
#4F366F #6F4F36 #366F4F
tetradic
#4F366F #6F363A #566F36 #366F6C
square
#4F366F #6F363A #566F36 #366F6C
split-complementary
#4F366F #6F6C36 #3A6F36
monochromatic
#140E1D #322246 #4F366F #6C4A98 #8B69B6

Accessibility & contrast

On white

10.05
#4F366F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#4F366F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F366F
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F366F#FFFFFF#000000##FFFFFF
##4F366F1.0010.052.0910.05
#FFFFFF10.051.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254271
Deuteranopia (green-blind)
#2B426E
Tritanopia (blue-blind)
#49404D
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4f366f;
/* rgb */ color: rgb(79, 54, 111);
/* oklch */ color: oklch(38.9% 0.097 302.4);
Tailwind
colors: {
  custom: {
    50: '#826d98',
    500: '#4f366f',
    950: '#000000',
  },
}
SCSS
$custom: #4f366f;
$custom-light: #826d98;
$custom-dark: #000000;
JSON
{
  "hex": "#4f366f",
  "rgb": {
    "r": 79,
    "g": 54,
    "b": 111
  },
  "hsl": {
    "h": 266.316,
    "s": 34.545,
    "l": 32.353
  },
  "oklch": {
    "l": 0.389,
    "c": 0.09658,
    "h": 302.4
  },
  "luminance": 0.05448
}

Semantic roles & 50–950 ramp

primary
#4F366F
secondary
#849F62
accent
#CB5D9B
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0B070E
muted
#7C7A7E

Preview Lab

Preview with #4F366F

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

Preview Lab → · Contrast checker → · Palette generator →

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