#4F366E#4F366E

#4F366E is a dark, moderate violet. Relative luminance 0.054; OKLCH L 38.8% C 0.095 H 302.8°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#4F366E
RGBrgb(79, 54, 110)
HSLhsl(267, 34%, 32%)
HSVhsv(267, 51%, 43%)
CMYKcmyk(28.2%, 50.9%, 0%, 56.9%)
CIE-LABlab(27.92, 23.80, -28.50)
CIE-LCHlch(27.92, 37.13, 309.86°)
OKLaboklab(38.84% 0.0516 -0.08)
OKLCHoklch(38.84% 0.095 302.8)
XYZxyz(7.3575, 5.4264, 15.4086)
Luminance0.0543 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F366E #556E36
analogous
#36396E #4F366E #6B366E
triadic
#4F366E #6E4F36 #366E4F
tetradic
#4F366E #6E3639 #556E36 #366E6B
square
#4F366E #6E3639 #556E36 #366E6B
split-complementary
#4F366E #6E6B36 #396E36
monochromatic
#140E1C #322245 #4F366E #6C4A97 #8B69B5

Accessibility & contrast

On white

10.07
#4F366E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F366E
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F366E#FFFFFF#000000##FFFFFF
##4F366E1.0010.072.0910.07
#FFFFFF10.071.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4f366e;
/* rgb */ color: rgb(79, 54, 110);
/* oklch */ color: oklch(38.8% 0.095 302.8);
Tailwind
colors: {
  custom: {
    50: '#826d98',
    500: '#4f366e',
    950: '#000000',
  },
}
SCSS
$custom: #4f366e;
$custom-light: #826d98;
$custom-dark: #000000;
JSON
{
  "hex": "#4f366e",
  "rgb": {
    "r": 79,
    "g": 54,
    "b": 110
  },
  "hsl": {
    "h": 266.786,
    "s": 34.146,
    "l": 32.157
  },
  "oklch": {
    "l": 0.38837,
    "c": 0.09518,
    "h": 302.8
  },
  "luminance": 0.05426
}

Semantic roles & 50–950 ramp

primary
#4F366E
secondary
#839E62
accent
#CA5E9A
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0A070D
muted
#7C7A7E

Preview Lab

Preview with #4F366E

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

Preview Lab → · Contrast checker → · Palette generator →

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