#4F347A#4F347A

#4F347A is a dark, moderate violet. Relative luminance 0.055; OKLCH L 39.3% C 0.115 H 298.8°. Best body text is #FFFFFF at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#4F347A
RGBrgb(79, 52, 122)
HSLhsl(263, 40%, 34%)
HSVhsv(263, 57%, 48%)
CMYKcmyk(35.2%, 57.4%, 0%, 52.2%)
CIE-LABlab(28.18, 28.38, -35.70)
CIE-LCHlch(28.18, 45.61, 308.48°)
OKLaboklab(39.27% 0.0555 -0.101)
OKLCHoklch(39.27% 0.115 298.8)
XYZxyz(7.9644, 5.5233, 19.0551)
Luminance0.0552 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F347A #5F7A34
analogous
#343C7A #4F347A #72347A
triadic
#4F347A #7A4F34 #347A4F
tetradic
#4F347A #7A343C #5F7A34 #347A72
square
#4F347A #7A343C #5F7A34 #347A72
split-complementary
#4F347A #7A7234 #3C7A34
monochromatic
#170F24 #33224F #4F347A #6B46A5 #8A69BF

Accessibility & contrast

On white

9.98
#4F347A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#4F347A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F347A
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F347A#FFFFFF#000000##FFFFFF
##4F347A1.009.982.109.98
#FFFFFF9.981.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16427C
Deuteranopia (green-blind)
#1F4278
Tritanopia (blue-blind)
#464251
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4f347a;
/* rgb */ color: rgb(79, 52, 122);
/* oklch */ color: oklch(39.3% 0.115 298.8);
Tailwind
colors: {
  custom: {
    50: '#836ca1',
    500: '#4f347a',
    950: '#000000',
  },
}
SCSS
$custom: #4f347a;
$custom-light: #836ca1;
$custom-dark: #000000;
JSON
{
  "hex": "#4f347a",
  "rgb": {
    "r": 79,
    "g": 52,
    "b": 122
  },
  "hsl": {
    "h": 263.143,
    "s": 40.23,
    "l": 34.118
  },
  "oklch": {
    "l": 0.39272,
    "c": 0.11527,
    "h": 298.8
  },
  "luminance": 0.05523
}

Semantic roles & 50–950 ramp

primary
#4F347A
secondary
#8DA763
accent
#D058A2
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0B070F
muted
#7C7A7E

Preview Lab

Preview with #4F347A

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

Preview Lab → · Contrast checker → · Palette generator →

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