#4F367A#4F367A

#4F367A is a dark, moderate violet. Relative luminance 0.057; OKLCH L 39.6% C 0.112 H 298.1°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#4F367A
RGBrgb(79, 54, 122)
HSLhsl(262, 39%, 35%)
HSVhsv(262, 56%, 48%)
CMYKcmyk(35.2%, 55.7%, 0%, 52.2%)
CIE-LABlab(28.66, 27.14, -34.93)
CIE-LCHlch(28.66, 44.24, 307.84°)
OKLaboklab(39.63% 0.0527 -0.0988)
OKLCHoklch(39.63% 0.112 298.1)
XYZxyz(8.0556, 5.7056, 19.0855)
Luminance0.0571 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F367A #617A36
analogous
#363F7A #4F367A #71367A
triadic
#4F367A #7A4F36 #367A4F
tetradic
#4F367A #7A363F #617A36 #367A71
square
#4F367A #7A363F #617A36 #367A71
split-complementary
#4F367A #7A7136 #3F7A36
monochromatic
#181025 #342350 #4F367A #6A49A4 #8A6CBE

Accessibility & contrast

On white

9.81
#4F367A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#4F367A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F367A
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F367A#FFFFFF#000000##FFFFFF
##4F367A1.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B447C
Deuteranopia (green-blind)
#224378
Tritanopia (blue-blind)
#464352
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #4f367a;
/* rgb */ color: rgb(79, 54, 122);
/* oklch */ color: oklch(39.6% 0.112 298.1);
Tailwind
colors: {
  custom: {
    50: '#836ea1',
    500: '#4f367a',
    950: '#000000',
  },
}
SCSS
$custom: #4f367a;
$custom-light: #836ea1;
$custom-dark: #000000;
JSON
{
  "hex": "#4f367a",
  "rgb": {
    "r": 79,
    "g": 54,
    "b": 122
  },
  "hsl": {
    "h": 262.059,
    "s": 38.636,
    "l": 34.51
  },
  "oklch": {
    "l": 0.39628,
    "c": 0.11196,
    "h": 298.1
  },
  "luminance": 0.05706
}

Semantic roles & 50–950 ramp

primary
#4F367A
secondary
#8FA765
accent
#CF59A3
background
#F8F6F9
surface
#EFECF2
border
#CAC7CC
text
#0B070F
muted
#7C7A7E

Preview Lab

Preview with #4F367A

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

Preview Lab → · Contrast checker → · Palette generator →

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