#4F328B#4F328B

#4F328B is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.2% C 0.141 H 294.1°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#4F328B
RGBrgb(79, 50, 139)
HSLhsl(260, 47%, 37%)
HSVhsv(260, 64%, 55%)
CMYKcmyk(43.2%, 64%, 0%, 45.5%)
CIE-LABlab(28.92, 34.47, -45.13)
CIE-LCHlch(28.92, 56.79, 307.38°)
OKLaboklab(40.2% 0.0577 -0.1287)
OKLCHoklch(40.2% 0.141 294.1)
XYZxyz(9.0240, 5.8073, 25.0666)
Luminance0.0581 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F328B #6E8B32
analogous
#32418B #4F328B #7C328B
triadic
#4F328B #8B4F32 #328B4F
tetradic
#4F328B #8B3241 #6E8B32 #328B7C
square
#4F328B #8B3241 #6E8B32 #328B7C
split-complementary
#4F328B #8B7C32 #418B32
monochromatic
#1C1231 #35225E #4F328B #6942B8 #8B6DCA

Accessibility & contrast

On white

9.72
#4F328B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#4F328B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F328B
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F328B#FFFFFF#000000##FFFFFF
##4F328B1.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458E
Deuteranopia (green-blind)
#004389
Tritanopia (blue-blind)
#3F4659
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #4f328b;
/* rgb */ color: rgb(79, 50, 139);
/* oklch */ color: oklch(40.2% 0.141 294.1);
Tailwind
colors: {
  custom: {
    50: '#856bae',
    500: '#4f328b',
    950: '#000000',
  },
}
SCSS
$custom: #4f328b;
$custom-light: #856bae;
$custom-dark: #000000;
JSON
{
  "hex": "#4f328b",
  "rgb": {
    "r": 79,
    "g": 50,
    "b": 139
  },
  "hsl": {
    "h": 259.551,
    "s": 47.09,
    "l": 37.059
  },
  "oklch": {
    "l": 0.40201,
    "c": 0.14106,
    "h": 294.1
  },
  "luminance": 0.05808
}

Semantic roles & 50–950 ramp

primary
#4F328B
secondary
#9AB267
accent
#D751AB
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0B0710
muted
#7C7A7F

Preview Lab

Preview with #4F328B

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

Preview Lab → · Contrast checker → · Palette generator →

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