#4F366B#4F366B

#4F366B is a dark, moderate violet. Relative luminance 0.054; OKLCH L 38.7% C 0.091 H 304.2°. Best body text is #FFFFFF at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#4F366B
RGBrgb(79, 54, 107)
HSLhsl(268, 33%, 32%)
HSVhsv(268, 50%, 42%)
CMYKcmyk(26.2%, 49.5%, 0%, 58%)
CIE-LABlab(27.74, 22.98, -26.86)
CIE-LCHlch(27.74, 35.35, 310.55°)
OKLaboklab(38.65% 0.0512 -0.0752)
OKLCHoklch(38.65% 0.091 304.2)
XYZxyz(7.1969, 5.3622, 14.5629)
Luminance0.0536 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F366B #526B36
analogous
#36386B #4F366B #6A366B
triadic
#4F366B #6B4F36 #366B4F
tetradic
#4F366B #6B3638 #526B36 #366B6A
square
#4F366B #6B3638 #526B36 #366B6A
split-complementary
#4F366B #6B6A36 #386B36
monochromatic
#130D1A #312142 #4F366B #6D4B94 #8C68B3

Accessibility & contrast

On white

10.13
#4F366B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#4F366B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F366B
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F366B#FFFFFF#000000##FFFFFF
##4F366B1.0010.132.0710.13
#FFFFFF10.131.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27416D
Deuteranopia (green-blind)
#2E426A
Tritanopia (blue-blind)
#4A3F4B
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4f366b;
/* rgb */ color: rgb(79, 54, 107);
/* oklch */ color: oklch(38.7% 0.091 304.2);
Tailwind
colors: {
  custom: {
    50: '#826d95',
    500: '#4f366b',
    950: '#000000',
  },
}
SCSS
$custom: #4f366b;
$custom-light: #826d95;
$custom-dark: #000000;
JSON
{
  "hex": "#4f366b",
  "rgb": {
    "r": 79,
    "g": 54,
    "b": 107
  },
  "hsl": {
    "h": 268.302,
    "s": 32.919,
    "l": 31.569
  },
  "oklch": {
    "l": 0.38651,
    "c": 0.09096,
    "h": 304.2
  },
  "luminance": 0.05362
}

Semantic roles & 50–950 ramp

primary
#4F366B
secondary
#809C61
accent
#C95F97
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0A070D
muted
#7C7A7E

Preview Lab

Preview with #4F366B

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

Preview Lab → · Contrast checker → · Palette generator →

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