#4F368F#4F368F

#4F368F is a dark, vivid violet. Relative luminance 0.063; OKLCH L 41.2% C 0.141 H 292.0°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#4F368F
RGBrgb(79, 54, 143)
HSLhsl(257, 45%, 39%)
HSVhsv(257, 62%, 56%)
CMYKcmyk(44.8%, 62.2%, 0%, 43.9%)
CIE-LABlab(30.12, 33.26, -45.66)
CIE-LCHlch(30.12, 56.49, 306.07°)
OKLaboklab(41.17% 0.0527 -0.1303)
OKLCHoklch(41.17% 0.141 292)
XYZxyz(9.5002, 6.2835, 26.6936)
Luminance0.0628 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F368F #768F36
analogous
#36498F #4F368F #7B368F
triadic
#4F368F #8F4F36 #368F4F
tetradic
#4F368F #8F3649 #768F36 #368F7B
square
#4F368F #8F3649 #768F36 #368F7B
split-complementary
#4F368F #8F7B36 #498F36
monochromatic
#1E1436 #362563 #4F368F #6848BA #8D75CB

Accessibility & contrast

On white

9.31
#4F368F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#4F368F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F368F
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F368F#FFFFFF#000000##FFFFFF
##4F368F1.009.312.269.31
#FFFFFF9.311.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004892
Deuteranopia (green-blind)
#00458D
Tritanopia (blue-blind)
#3D4A5D
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #4f368f;
/* rgb */ color: rgb(79, 54, 143);
/* oklch */ color: oklch(41.2% 0.141 292.0);
Tailwind
colors: {
  custom: {
    50: '#856eb0',
    500: '#4f368f',
    950: '#000000',
  },
}
SCSS
$custom: #4f368f;
$custom-light: #856eb0;
$custom-dark: #000000;
JSON
{
  "hex": "#4f368f",
  "rgb": {
    "r": 79,
    "g": 54,
    "b": 143
  },
  "hsl": {
    "h": 256.854,
    "s": 45.178,
    "l": 38.627
  },
  "oklch": {
    "l": 0.41167,
    "c": 0.14054,
    "h": 292
  },
  "luminance": 0.06284
}

Semantic roles & 50–950 ramp

primary
#4F368F
secondary
#A0B36D
accent
#D553B0
background
#F8F6FA
surface
#F0ECF5
border
#CBC7CF
text
#0B0711
muted
#7C7A80

Preview Lab

Preview with #4F368F

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

Preview Lab → · Contrast checker → · Palette generator →

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