#4F348D#4F348D

#4F348D is a dark, vivid violet. Relative luminance 0.060; OKLCH L 40.7% C 0.141 H 293.1°. Best body text is #FFFFFF at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#4F348D
RGBrgb(79, 52, 141)
HSLhsl(258, 46%, 38%)
HSVhsv(258, 63%, 55%)
CMYKcmyk(44%, 63.1%, 0%, 44.7%)
CIE-LABlab(29.52, 33.87, -45.40)
CIE-LCHlch(29.52, 56.64, 306.73°)
OKLaboklab(40.68% 0.0552 -0.1295)
OKLCHoklch(40.68% 0.141 293.1)
XYZxyz(9.2589, 6.0411, 25.8724)
Luminance0.0604 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F348D #728D34
analogous
#34468D #4F348D #7B348D
triadic
#4F348D #8D4F34 #348D4F
tetradic
#4F348D #8D3446 #728D34 #348D7B
square
#4F348D #8D3446 #728D34 #348D7B
split-complementary
#4F348D #8D7B34 #468D34
monochromatic
#1D1334 #362460 #4F348D #6844BA #8C71CB

Accessibility & contrast

On white

9.51
#4F348D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#4F348D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F348D
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F348D#FFFFFF#000000##FFFFFF
##4F348D1.009.512.219.51
#FFFFFF9.511.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004790
Deuteranopia (green-blind)
#00448B
Tritanopia (blue-blind)
#3E485B
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #4f348d;
/* rgb */ color: rgb(79, 52, 141);
/* oklch */ color: oklch(40.7% 0.141 293.1);
Tailwind
colors: {
  custom: {
    50: '#856daf',
    500: '#4f348d',
    950: '#000000',
  },
}
SCSS
$custom: #4f348d;
$custom-light: #856daf;
$custom-dark: #000000;
JSON
{
  "hex": "#4f348d",
  "rgb": {
    "r": 79,
    "g": 52,
    "b": 141
  },
  "hsl": {
    "h": 258.202,
    "s": 46.114,
    "l": 37.843
  },
  "oklch": {
    "l": 0.40681,
    "c": 0.14079,
    "h": 293.1
  },
  "luminance": 0.06041
}

Semantic roles & 50–950 ramp

primary
#4F348D
secondary
#9DB36A
accent
#D652AE
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0B0710
muted
#7C7A7F

Preview Lab

Preview with #4F348D

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

Preview Lab → · Contrast checker → · Palette generator →

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