#4F348E#4F348E

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

Color values

HEX#4F348E
RGBrgb(79, 52, 142)
HSLhsl(258, 46%, 38%)
HSVhsv(258, 63%, 56%)
CMYKcmyk(44.4%, 63.4%, 0%, 44.3%)
CIE-LABlab(29.59, 34.17, -45.90)
CIE-LCHlch(29.59, 57.22, 306.66°)
OKLaboklab(40.76% 0.0551 -0.131)
OKLCHoklch(40.76% 0.142 292.8)
XYZxyz(9.3336, 6.0710, 26.2660)
Luminance0.0607 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F348E #738E34
analogous
#34468E #4F348E #7C348E
triadic
#4F348E #8E4F34 #348E4F
tetradic
#4F348E #8E3446 #738E34 #348E7C
square
#4F348E #8E3446 #738E34 #348E7C
split-complementary
#4F348E #8E7C34 #468E34
monochromatic
#1D1334 #362461 #4F348E #6844BB #8C71CB

Accessibility & contrast

On white

9.48
#4F348E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F348E
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F348E#FFFFFF#000000##FFFFFF
##4F348E1.009.482.219.48
#FFFFFF9.481.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004791
Deuteranopia (green-blind)
#00448C
Tritanopia (blue-blind)
#3D495C
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #4f348e;
/* rgb */ color: rgb(79, 52, 142);
/* oklch */ color: oklch(40.8% 0.142 292.8);
Tailwind
colors: {
  custom: {
    50: '#856db0',
    500: '#4f348e',
    950: '#000000',
  },
}
SCSS
$custom: #4f348e;
$custom-light: #856db0;
$custom-dark: #000000;
JSON
{
  "hex": "#4f348e",
  "rgb": {
    "r": 79,
    "g": 52,
    "b": 142
  },
  "hsl": {
    "h": 258,
    "s": 46.392,
    "l": 38.039
  },
  "oklch": {
    "l": 0.4076,
    "c": 0.14211,
    "h": 292.8
  },
  "luminance": 0.06071
}

Semantic roles & 50–950 ramp

primary
#4F348E
secondary
#9DB36A
accent
#D652AE
background
#F8F6FA
surface
#F0EBF5
border
#CBC6CF
text
#0B0710
muted
#7C7A7F

Preview Lab

Preview with #4F348E

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

Preview Lab → · Contrast checker → · Palette generator →

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