#4F348A#4F348A

#4F348A is a dark, vivid violet. Relative luminance 0.060; OKLCH L 40.4% C 0.137 H 293.9°. Best body text is #FFFFFF at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#4F348A
RGBrgb(79, 52, 138)
HSLhsl(259, 45%, 37%)
HSVhsv(259, 62%, 54%)
CMYKcmyk(42.8%, 62.3%, 0%, 45.9%)
CIE-LABlab(29.29, 32.99, -43.90)
CIE-LCHlch(29.29, 54.92, 306.92°)
OKLaboklab(40.45% 0.0554 -0.1251)
OKLCHoklch(40.45% 0.137 293.9)
XYZxyz(9.0387, 5.9530, 24.7126)
Luminance0.0595 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F348A #6F8A34
analogous
#34448A #4F348A #7A348A
triadic
#4F348A #8A4F34 #348A4F
tetradic
#4F348A #8A3444 #6F8A34 #348A7A
square
#4F348A #8A3444 #6F8A34 #348A7A
split-complementary
#4F348A #8A7A34 #448A34
monochromatic
#1C1331 #36235E #4F348A #6845B6 #8C6FC9

Accessibility & contrast

On white

9.59
#4F348A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#4F348A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F348A
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F348A#FFFFFF#000000##FFFFFF
##4F348A1.009.592.199.59
#FFFFFF9.591.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468D
Deuteranopia (green-blind)
#014488
Tritanopia (blue-blind)
#3F475A
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4f348a;
/* rgb */ color: rgb(79, 52, 138);
/* oklch */ color: oklch(40.4% 0.137 293.9);
Tailwind
colors: {
  custom: {
    50: '#856dad',
    500: '#4f348a',
    950: '#000000',
  },
}
SCSS
$custom: #4f348a;
$custom-light: #856dad;
$custom-dark: #000000;
JSON
{
  "hex": "#4f348a",
  "rgb": {
    "r": 79,
    "g": 52,
    "b": 138
  },
  "hsl": {
    "h": 258.837,
    "s": 45.263,
    "l": 37.255
  },
  "oklch": {
    "l": 0.40449,
    "c": 0.13683,
    "h": 293.9
  },
  "luminance": 0.05953
}

Semantic roles & 50–950 ramp

primary
#4F348A
secondary
#9AB169
accent
#D553AC
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0B0710
muted
#7C7A7F

Preview Lab

Preview with #4F348A

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

Preview Lab → · Contrast checker → · Palette generator →

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