#4F369E#4F369E

#4F369E is a dark, vivid violet. Relative luminance 0.068; OKLCH L 42.4% C 0.160 H 288.7°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#4F369E
RGBrgb(79, 54, 158)
HSLhsl(254, 49%, 42%)
HSVhsv(254, 66%, 62%)
CMYKcmyk(50%, 65.8%, 0%, 38%)
CIE-LABlab(31.27, 37.76, -52.95)
CIE-LCHlch(31.27, 65.03, 305.49°)
OKLaboklab(42.37% 0.0514 -0.1517)
OKLCHoklch(42.37% 0.16 288.7)
XYZxyz(10.7134, 6.7688, 33.0831)
Luminance0.0677 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F369E #859E36
analogous
#36519E #4F369E #83369E
triadic
#4F369E #9E4F36 #369E4F
tetradic
#4F369E #9E3651 #859E36 #369E83
square
#4F369E #9E3651 #859E36 #369E83
split-complementary
#4F369E #9E8336 #519E36
monochromatic
#211743 #382670 #4F369E #6A4FC3 #917CD2

Accessibility & contrast

On white

8.92
#4F369E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#4F369E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F369E
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F369E#FFFFFF#000000##FFFFFF
##4F369E1.008.922.358.92
#FFFFFF8.921.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA1
Deuteranopia (green-blind)
#00479C
Tritanopia (blue-blind)
#344F65
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4f369e;
/* rgb */ color: rgb(79, 54, 158);
/* oklch */ color: oklch(42.4% 0.160 288.7);
Tailwind
colors: {
  custom: {
    50: '#876ebb',
    500: '#4f369e',
    950: '#000000',
  },
}
SCSS
$custom: #4f369e;
$custom-light: #876ebb;
$custom-dark: #000000;
JSON
{
  "hex": "#4f369e",
  "rgb": {
    "r": 79,
    "g": 54,
    "b": 158
  },
  "hsl": {
    "h": 254.423,
    "s": 49.057,
    "l": 41.569
  },
  "oklch": {
    "l": 0.42373,
    "c": 0.16018,
    "h": 288.7
  },
  "luminance": 0.06769
}

Semantic roles & 50–950 ramp

primary
#4F369E
secondary
#AABB74
accent
#D94FB8
background
#F8F6FB
surface
#F0ECF6
border
#CBC7D0
text
#0C0712
muted
#7D7A81

Preview Lab

Preview with #4F369E

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

Preview Lab → · Contrast checker → · Palette generator →

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