#4F3E95#4F3E95

#4F3E95 is a dark, vivid violet. Relative luminance 0.073; OKLCH L 43.0% C 0.137 H 288.2°. Best body text is #FFFFFF at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#4F3E95
RGBrgb(79, 62, 149)
HSLhsl(252, 41%, 41%)
HSVhsv(252, 58%, 58%)
CMYKcmyk(47%, 58.4%, 0%, 41.6%)
CIE-LABlab(32.43, 30.17, -45.60)
CIE-LCHlch(32.43, 54.68, 303.49°)
OKLaboklab(43% 0.0429 -0.1301)
OKLCHoklch(43% 0.137 288.2)
XYZxyz(10.3703, 7.2770, 29.2861)
Luminance0.0728 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F3E95 #84953E
analogous
#3E5995 #4F3E95 #7B3E95
triadic
#4F3E95 #954F3E #3E954F
tetradic
#4F3E95 #953E59 #84953E #3E957B
square
#4F3E95 #953E59 #84953E #3E957B
split-complementary
#4F3E95 #957B3E #59953E
monochromatic
#211A3F #382C6A #4F3E95 #6A57B9 #9182CB

Accessibility & contrast

On white

8.55
#4F3E95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#4F3E95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F3E95
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F3E95#FFFFFF#000000##FFFFFF
##4F3E951.008.552.468.55
#FFFFFF8.551.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#034E98
Deuteranopia (green-blind)
#054A93
Tritanopia (blue-blind)
#395163
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4f3e95;
/* rgb */ color: rgb(79, 62, 149);
/* oklch */ color: oklch(43.0% 0.137 288.2);
Tailwind
colors: {
  custom: {
    50: '#8674b5',
    500: '#4f3e95',
    950: '#000000',
  },
}
SCSS
$custom: #4f3e95;
$custom-light: #8674b5;
$custom-dark: #000000;
JSON
{
  "hex": "#4f3e95",
  "rgb": {
    "r": 79,
    "g": 62,
    "b": 149
  },
  "hsl": {
    "h": 251.724,
    "s": 41.232,
    "l": 41.373
  },
  "oklch": {
    "l": 0.43002,
    "c": 0.13698,
    "h": 288.2
  },
  "luminance": 0.07277
}

Semantic roles & 50–950 ramp

primary
#4F3E95
secondary
#AAB57A
accent
#D157B9
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0C0811
muted
#7D7B80

Preview Lab

Preview with #4F3E95

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

Preview Lab → · Contrast checker → · Palette generator →

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