#4F368A#4F368A

#4F368A is a dark, vivid violet. Relative luminance 0.061; OKLCH L 40.8% C 0.134 H 293.3°. Best body text is #FFFFFF at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#4F368A
RGBrgb(79, 54, 138)
HSLhsl(258, 44%, 38%)
HSVhsv(258, 61%, 54%)
CMYKcmyk(42.8%, 60.9%, 0%, 45.9%)
CIE-LABlab(29.75, 31.78, -43.17)
CIE-LCHlch(29.75, 53.60, 306.36°)
OKLaboklab(40.78% 0.0529 -0.1229)
OKLCHoklch(40.78% 0.134 293.3)
XYZxyz(9.1298, 6.1353, 24.7430)
Luminance0.0614 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F368A #718A36
analogous
#36478A #4F368A #79368A
triadic
#4F368A #8A4F36 #368A4F
tetradic
#4F368A #8A3647 #718A36 #368A79
square
#4F368A #8A3647 #718A36 #368A79
split-complementary
#4F368A #8A7936 #478A36
monochromatic
#1D1432 #36255E #4F368A #6847B6 #8C72C8

Accessibility & contrast

On white

9.43
#4F368A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#4F368A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F368A
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F368A#FFFFFF#000000##FFFFFF
##4F368A1.009.432.239.43
#FFFFFF9.431.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00478D
Deuteranopia (green-blind)
#084588
Tritanopia (blue-blind)
#3F495A
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #4f368a;
/* rgb */ color: rgb(79, 54, 138);
/* oklch */ color: oklch(40.8% 0.134 293.3);
Tailwind
colors: {
  custom: {
    50: '#856ead',
    500: '#4f368a',
    950: '#000000',
  },
}
SCSS
$custom: #4f368a;
$custom-light: #856ead;
$custom-dark: #000000;
JSON
{
  "hex": "#4f368a",
  "rgb": {
    "r": 79,
    "g": 54,
    "b": 138
  },
  "hsl": {
    "h": 257.857,
    "s": 43.75,
    "l": 37.647
  },
  "oklch": {
    "l": 0.40784,
    "c": 0.13384,
    "h": 293.3
  },
  "luminance": 0.06136
}

Semantic roles & 50–950 ramp

primary
#4F368A
secondary
#9CB16B
accent
#D354AE
background
#F8F6FA
surface
#F0ECF4
border
#CBC7CE
text
#0B0710
muted
#7C7A7F

Preview Lab

Preview with #4F368A

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

Preview Lab → · Contrast checker → · Palette generator →

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