#4F366A#4F366A

#4F366A is a dark, moderate violet. Relative luminance 0.053; OKLCH L 38.6% C 0.090 H 304.7°. Best body text is #FFFFFF at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#4F366A
RGBrgb(79, 54, 106)
HSLhsl(269, 33%, 31%)
HSVhsv(269, 49%, 42%)
CMYKcmyk(25.5%, 49.1%, 0%, 58.4%)
CIE-LABlab(27.69, 22.72, -26.31)
CIE-LCHlch(27.69, 34.76, 310.81°)
OKLaboklab(38.59% 0.051 -0.0736)
OKLCHoklch(38.59% 0.09 304.7)
XYZxyz(7.1446, 5.3412, 14.2874)
Luminance0.0534 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F366A #516A36
analogous
#36376A #4F366A #69366A
triadic
#4F366A #6A4F36 #366A4F
tetradic
#4F366A #6A3637 #516A36 #366A69
square
#4F366A #6A3637 #516A36 #366A69
split-complementary
#4F366A #6A6936 #376A36
monochromatic
#130D19 #312141 #4F366A #6D4B93 #8C68B2

Accessibility & contrast

On white

10.15
#4F366A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F366A
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F366A#FFFFFF#000000##FFFFFF
##4F366A1.0010.152.0710.15
#FFFFFF10.151.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28416C
Deuteranopia (green-blind)
#2E4169
Tritanopia (blue-blind)
#4B3F4B
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4f366a;
/* rgb */ color: rgb(79, 54, 106);
/* oklch */ color: oklch(38.6% 0.090 304.7);
Tailwind
colors: {
  custom: {
    50: '#826d95',
    500: '#4f366a',
    950: '#000000',
  },
}
SCSS
$custom: #4f366a;
$custom-light: #826d95;
$custom-dark: #000000;
JSON
{
  "hex": "#4f366a",
  "rgb": {
    "r": 79,
    "g": 54,
    "b": 106
  },
  "hsl": {
    "h": 268.846,
    "s": 32.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.38589,
    "c": 0.08955,
    "h": 304.7
  },
  "luminance": 0.05341
}

Semantic roles & 50–950 ramp

primary
#4F366A
secondary
#7F9B61
accent
#C95F96
background
#F8F6F9
surface
#EFEBF1
border
#CAC6CB
text
#0A070D
muted
#7C7A7E

Preview Lab

Preview with #4F366A

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

Preview Lab → · Contrast checker → · Palette generator →

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