#4F367F#4F367F

#4F367F is a dark, moderate violet. Relative luminance 0.058; OKLCH L 40.0% C 0.119 H 296.4°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#4F367F
RGBrgb(79, 54, 127)
HSLhsl(261, 40%, 35%)
HSVhsv(261, 57%, 50%)
CMYKcmyk(37.8%, 57.5%, 0%, 50.2%)
CIE-LABlab(28.99, 28.57, -37.55)
CIE-LCHlch(28.99, 47.18, 307.27°)
OKLaboklab(39.98% 0.0529 -0.1064)
OKLCHoklch(39.98% 0.119 296.4)
XYZxyz(8.3734, 5.8328, 20.7592)
Luminance0.0583 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F367F #667F36
analogous
#36417F #4F367F #73367F
triadic
#4F367F #7F4F36 #367F4F
tetradic
#4F367F #7F3641 #667F36 #367F73
square
#4F367F #7F3641 #667F36 #367F73
split-complementary
#4F367F #7F7336 #417F36
monochromatic
#1A1129 #342454 #4F367F #6A48AA #8B6EC1

Accessibility & contrast

On white

9.69
#4F367F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#4F367F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F367F
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F367F#FFFFFF#000000##FFFFFF
##4F367F1.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154581
Deuteranopia (green-blind)
#1D437D
Tritanopia (blue-blind)
#444555
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #4f367f;
/* rgb */ color: rgb(79, 54, 127);
/* oklch */ color: oklch(40.0% 0.119 296.4);
Tailwind
colors: {
  custom: {
    50: '#836ea5',
    500: '#4f367f',
    950: '#000000',
  },
}
SCSS
$custom: #4f367f;
$custom-light: #836ea5;
$custom-dark: #000000;
JSON
{
  "hex": "#4f367f",
  "rgb": {
    "r": 79,
    "g": 54,
    "b": 127
  },
  "hsl": {
    "h": 260.548,
    "s": 40.331,
    "l": 35.49
  },
  "oklch": {
    "l": 0.39977,
    "c": 0.11887,
    "h": 296.4
  },
  "luminance": 0.05833
}

Semantic roles & 50–950 ramp

primary
#4F367F
secondary
#93AA67
accent
#D058A7
background
#F8F6FA
surface
#EFECF4
border
#CAC7CE
text
#0B070F
muted
#7C7A7F

Preview Lab

Preview with #4F367F

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

Preview Lab → · Contrast checker → · Palette generator →

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