#4F367E#4F367E

#4F367E is a dark, moderate violet. Relative luminance 0.058; OKLCH L 39.9% C 0.117 H 296.7°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#4F367E
RGBrgb(79, 54, 126)
HSLhsl(261, 40%, 35%)
HSVhsv(261, 57%, 49%)
CMYKcmyk(37.3%, 57.1%, 0%, 50.6%)
CIE-LABlab(28.92, 28.29, -37.03)
CIE-LCHlch(28.92, 46.60, 307.38°)
OKLaboklab(39.91% 0.0529 -0.1049)
OKLCHoklch(39.91% 0.117 296.7)
XYZxyz(8.3086, 5.8068, 20.4177)
Luminance0.0581 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F367E #657E36
analogous
#36417E #4F367E #73367E
triadic
#4F367E #7E4F36 #367E4F
tetradic
#4F367E #7E3641 #657E36 #367E73
square
#4F367E #7E3641 #657E36 #367E73
split-complementary
#4F367E #7E7336 #417E36
monochromatic
#191128 #342453 #4F367E #6A48A9 #8B6EC1

Accessibility & contrast

On white

9.72
#4F367E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#4F367E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F367E
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F367E#FFFFFF#000000##FFFFFF
##4F367E1.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#164580
Deuteranopia (green-blind)
#1E437C
Tritanopia (blue-blind)
#444554
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #4f367e;
/* rgb */ color: rgb(79, 54, 126);
/* oklch */ color: oklch(39.9% 0.117 296.7);
Tailwind
colors: {
  custom: {
    50: '#836ea4',
    500: '#4f367e',
    950: '#000000',
  },
}
SCSS
$custom: #4f367e;
$custom-light: #836ea4;
$custom-dark: #000000;
JSON
{
  "hex": "#4f367e",
  "rgb": {
    "r": 79,
    "g": 54,
    "b": 126
  },
  "hsl": {
    "h": 260.833,
    "s": 40,
    "l": 35.294
  },
  "oklch": {
    "l": 0.39906,
    "c": 0.11749,
    "h": 296.7
  },
  "luminance": 0.05807
}

Semantic roles & 50–950 ramp

primary
#4F367E
secondary
#92A967
accent
#D058A6
background
#F8F6FA
surface
#EFECF4
border
#CAC7CE
text
#0B070F
muted
#7C7A7F

Preview Lab

Preview with #4F367E

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

Preview Lab → · Contrast checker → · Palette generator →

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