#4F346A#4F346A

#4F346A is a dark, moderate violet. Relative luminance 0.052; OKLCH L 38.2% C 0.093 H 305.5°. Best body text is #FFFFFF at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#4F346A
RGBrgb(79, 52, 106)
HSLhsl(270, 34%, 31%)
HSVhsv(270, 51%, 42%)
CMYKcmyk(25.5%, 50.9%, 0%, 58.4%)
CIE-LABlab(27.18, 23.98, -27.11)
CIE-LCHlch(27.18, 36.19, 311.50°)
OKLaboklab(38.21% 0.0542 -0.0759)
OKLCHoklch(38.21% 0.093 305.5)
XYZxyz(7.0534, 5.1589, 14.2571)
Luminance0.0516 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F346A #4F6A34
analogous
#34346A #4F346A #6A346A
triadic
#4F346A #6A4F34 #346A4F
tetradic
#4F346A #6A3434 #4F6A34 #346A6A
square
#4F346A #6A3434 #4F6A34 #346A6A
split-complementary
#4F346A #6A6A34 #346A34
monochromatic
#120C18 #302041 #4F346A #6E4893 #8C65B3

Accessibility & contrast

On white

10.34
#4F346A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#4F346A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F346A
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F346A#FFFFFF#000000##FFFFFF
##4F346A1.0010.342.0310.34
#FFFFFF10.341.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#253F6C
Deuteranopia (green-blind)
#2C4069
Tritanopia (blue-blind)
#4B3D4A
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #4f346a;
/* rgb */ color: rgb(79, 52, 106);
/* oklch */ color: oklch(38.2% 0.093 305.5);
Tailwind
colors: {
  custom: {
    50: '#826c95',
    500: '#4f346a',
    950: '#000000',
  },
}
SCSS
$custom: #4f346a;
$custom-light: #826c95;
$custom-dark: #000000;
JSON
{
  "hex": "#4f346a",
  "rgb": {
    "r": 79,
    "g": 52,
    "b": 106
  },
  "hsl": {
    "h": 270,
    "s": 34.177,
    "l": 30.98
  },
  "oklch": {
    "l": 0.38214,
    "c": 0.09323,
    "h": 305.5
  },
  "luminance": 0.05159
}

Semantic roles & 50–950 ramp

primary
#4F346A
secondary
#7D9B5F
accent
#CA5E94
background
#F8F6F9
surface
#EFEBF1
border
#CAC6CB
text
#0A070D
muted
#7C7A7E

Preview Lab

Preview with #4F346A

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

Preview Lab → · Contrast checker → · Palette generator →

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