#4F347C#4F347C

#4F347C is a dark, moderate violet. Relative luminance 0.056; OKLCH L 39.4% C 0.118 H 298.1°. Best body text is #FFFFFF at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#4F347C
RGBrgb(79, 52, 124)
HSLhsl(263, 41%, 35%)
HSVhsv(263, 58%, 49%)
CMYKcmyk(36.3%, 58.1%, 0%, 51.4%)
CIE-LABlab(28.31, 28.95, -36.75)
CIE-LCHlch(28.31, 46.78, 308.23°)
OKLaboklab(39.41% 0.0556 -0.1041)
OKLCHoklch(39.41% 0.118 298.1)
XYZxyz(8.0896, 5.5734, 19.7144)
Luminance0.0557 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F347C #617C34
analogous
#343D7C #4F347C #73347C
triadic
#4F347C #7C4F34 #347C4F
tetradic
#4F347C #7C343D #617C34 #347C73
square
#4F347C #7C343D #617C34 #347C73
split-complementary
#4F347C #7C7334 #3D7C34
monochromatic
#181026 #342251 #4F347C #6A46A7 #8A6AC0

Accessibility & contrast

On white

9.93
#4F347C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#4F347C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F347C
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F347C#FFFFFF#000000##FFFFFF
##4F347C1.009.932.119.93
#FFFFFF9.931.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14437E
Deuteranopia (green-blind)
#1D427A
Tritanopia (blue-blind)
#454352
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4f347c;
/* rgb */ color: rgb(79, 52, 124);
/* oklch */ color: oklch(39.4% 0.118 298.1);
Tailwind
colors: {
  custom: {
    50: '#836ca2',
    500: '#4f347c',
    950: '#000000',
  },
}
SCSS
$custom: #4f347c;
$custom-light: #836ca2;
$custom-dark: #000000;
JSON
{
  "hex": "#4f347c",
  "rgb": {
    "r": 79,
    "g": 52,
    "b": 124
  },
  "hsl": {
    "h": 262.5,
    "s": 40.909,
    "l": 34.51
  },
  "oklch": {
    "l": 0.39413,
    "c": 0.118,
    "h": 298.1
  },
  "luminance": 0.05573
}

Semantic roles & 50–950 ramp

primary
#4F347C
secondary
#8FA963
accent
#D157A3
background
#F8F6FA
surface
#EFEBF3
border
#CAC6CD
text
#0B070F
muted
#7C7A7F

Preview Lab

Preview with #4F347C

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

Preview Lab → · Contrast checker → · Palette generator →

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