#4F357D#4F357D

#4F357D is a dark, moderate violet. Relative luminance 0.057; OKLCH L 39.7% C 0.118 H 297.4°. Best body text is #FFFFFF at 9.82:1 contrast (WCAG AA passes).

Color values

HEX#4F357D
RGBrgb(79, 53, 125)
HSLhsl(262, 40%, 35%)
HSVhsv(262, 58%, 49%)
CMYKcmyk(36.8%, 57.6%, 0%, 51%)
CIE-LABlab(28.61, 28.62, -36.89)
CIE-LCHlch(28.61, 46.69, 307.80°)
OKLaboklab(39.66% 0.0542 -0.1045)
OKLCHoklch(39.66% 0.118 297.4)
XYZxyz(8.1983, 5.6890, 20.0642)
Luminance0.0569 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F357D #637D35
analogous
#353F7D #4F357D #73357D
triadic
#4F357D #7D4F35 #357D4F
tetradic
#4F357D #7D353F #637D35 #357D73
square
#4F357D #7D353F #637D35 #357D73
split-complementary
#4F357D #7D7335 #3F7D35
monochromatic
#191127 #342352 #4F357D #6A47A8 #8A6CC1

Accessibility & contrast

On white

9.82
#4F357D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#4F357D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F357D
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F357D#FFFFFF#000000##FFFFFF
##4F357D1.009.822.149.82
#FFFFFF9.821.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15447F
Deuteranopia (green-blind)
#1D437B
Tritanopia (blue-blind)
#454453
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4f357d;
/* rgb */ color: rgb(79, 53, 125);
/* oklch */ color: oklch(39.7% 0.118 297.4);
Tailwind
colors: {
  custom: {
    50: '#836da3',
    500: '#4f357d',
    950: '#000000',
  },
}
SCSS
$custom: #4f357d;
$custom-light: #836da3;
$custom-dark: #000000;
JSON
{
  "hex": "#4f357d",
  "rgb": {
    "r": 79,
    "g": 53,
    "b": 125
  },
  "hsl": {
    "h": 261.667,
    "s": 40.449,
    "l": 34.902
  },
  "oklch": {
    "l": 0.39659,
    "c": 0.11775,
    "h": 297.4
  },
  "luminance": 0.05689
}

Semantic roles & 50–950 ramp

primary
#4F357D
secondary
#90A965
accent
#D057A5
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B070F
muted
#7C7A7F

Preview Lab

Preview with #4F357D

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

Preview Lab → · Contrast checker → · Palette generator →

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