#4F349F#4F349F

#4F349F is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.1% C 0.164 H 289.0°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#4F349F
RGBrgb(79, 52, 159)
HSLhsl(255, 51%, 41%)
HSVhsv(255, 67%, 62%)
CMYKcmyk(50.3%, 67.3%, 0%, 37.6%)
CIE-LABlab(30.93, 39.22, -54.12)
CIE-LCHlch(30.93, 66.83, 305.93°)
OKLaboklab(42.15% 0.0533 -0.1552)
OKLCHoklch(42.15% 0.164 289)
XYZxyz(10.7086, 6.6210, 33.5079)
Luminance0.0662 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F349F #849F34
analogous
#344F9F #4F349F #85349F
triadic
#4F349F #9F4F34 #349F4F
tetradic
#4F349F #9F344F #849F34 #349F85
square
#4F349F #9F344F #849F34 #349F85
split-complementary
#4F349F #9F8534 #4F9F34
monochromatic
#211643 #382571 #4F349F #6A4CC4 #917AD3

Accessibility & contrast

On white

9.04
#4F349F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#4F349F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F349F
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F349F#FFFFFF#000000##FFFFFF
##4F349F1.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA2
Deuteranopia (green-blind)
#00469D
Tritanopia (blue-blind)
#334E65
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4f349f;
/* rgb */ color: rgb(79, 52, 159);
/* oklch */ color: oklch(42.1% 0.164 289.0);
Tailwind
colors: {
  custom: {
    50: '#886dbc',
    500: '#4f349f',
    950: '#000000',
  },
}
SCSS
$custom: #4f349f;
$custom-light: #886dbc;
$custom-dark: #000000;
JSON
{
  "hex": "#4f349f",
  "rgb": {
    "r": 79,
    "g": 52,
    "b": 159
  },
  "hsl": {
    "h": 255.14,
    "s": 50.711,
    "l": 41.373
  },
  "oklch": {
    "l": 0.42148,
    "c": 0.16407,
    "h": 289
  },
  "luminance": 0.06621
}

Semantic roles & 50–950 ramp

primary
#4F349F
secondary
#AABC73
accent
#DA4EB7
background
#F8F6FB
surface
#F0ECF6
border
#CBC7D0
text
#0C0712
muted
#7D7A81

Preview Lab

Preview with #4F349F

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

Preview Lab → · Contrast checker → · Palette generator →

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