#4F367D#4F367D

#4F367D is a dark, moderate violet. Relative luminance 0.058; OKLCH L 39.8% C 0.116 H 297.1°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#4F367D
RGBrgb(79, 54, 125)
HSLhsl(261, 40%, 35%)
HSVhsv(261, 57%, 49%)
CMYKcmyk(36.8%, 56.8%, 0%, 51%)
CIE-LABlab(28.85, 28.00, -36.51)
CIE-LCHlch(28.85, 46.01, 307.49°)
OKLaboklab(39.84% 0.0528 -0.1034)
OKLCHoklch(39.84% 0.116 297.1)
XYZxyz(8.2444, 5.7811, 20.0796)
Luminance0.0578 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F367D #647D36
analogous
#36407D #4F367D #73367D
triadic
#4F367D #7D4F36 #367D4F
tetradic
#4F367D #7D3640 #647D36 #367D73
square
#4F367D #7D3640 #647D36 #367D73
split-complementary
#4F367D #7D7336 #407D36
monochromatic
#191128 #342452 #4F367D #6A48A8 #8A6DC0

Accessibility & contrast

On white

9.74
#4F367D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F367D
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F367D#FFFFFF#000000##FFFFFF
##4F367D1.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17447F
Deuteranopia (green-blind)
#1F437B
Tritanopia (blue-blind)
#454454
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #4f367d;
/* rgb */ color: rgb(79, 54, 125);
/* oklch */ color: oklch(39.8% 0.116 297.1);
Tailwind
colors: {
  custom: {
    50: '#836ea3',
    500: '#4f367d',
    950: '#000000',
  },
}
SCSS
$custom: #4f367d;
$custom-light: #836ea3;
$custom-dark: #000000;
JSON
{
  "hex": "#4f367d",
  "rgb": {
    "r": 79,
    "g": 54,
    "b": 125
  },
  "hsl": {
    "h": 261.127,
    "s": 39.665,
    "l": 35.098
  },
  "oklch": {
    "l": 0.39836,
    "c": 0.11611,
    "h": 297.1
  },
  "luminance": 0.05781
}

Semantic roles & 50–950 ramp

primary
#4F367D
secondary
#91A966
accent
#D058A6
background
#F8F6FA
surface
#EFECF4
border
#CAC7CE
text
#0B070F
muted
#7C7A7F

Preview Lab

Preview with #4F367D

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

Preview Lab → · Contrast checker → · Palette generator →

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