#4F2E9F#4F2E9F

#4F2E9F is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.3% C 0.172 H 290.2°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#4F2E9F
RGBrgb(79, 46, 159)
HSLhsl(258, 55%, 40%)
HSVhsv(258, 71%, 62%)
CMYKcmyk(50.3%, 71.1%, 0%, 37.6%)
CIE-LABlab(29.71, 42.56, -56.10)
CIE-LCHlch(29.71, 70.42, 307.18°)
OKLaboklab(41.28% 0.0592 -0.161)
OKLCHoklch(41.28% 0.172 290.2)
XYZxyz(10.4577, 6.1190, 33.4242)
Luminance0.0612 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2E9F #7E9F2E
analogous
#2E469F #4F2E9F #872E9F
triadic
#4F2E9F #9F4F2E #2E9F4F
tetradic
#4F2E9F #9F2E46 #7E9F2E #2E9F87
square
#4F2E9F #9F2E46 #7E9F2E #2E9F87
split-complementary
#4F2E9F #9F872E #469F2E
monochromatic
#201340 #372070 #4F2E9F #6942C8 #8F71D6

Accessibility & contrast

On white

9.44
#4F2E9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#4F2E9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2E9F
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2E9F#FFFFFF#000000##FFFFFF
##4F2E9F1.009.442.229.44
#FFFFFF9.441.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A2
Deuteranopia (green-blind)
#00439D
Tritanopia (blue-blind)
#344B63
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #4f2e9f;
/* rgb */ color: rgb(79, 46, 159);
/* oklch */ color: oklch(41.3% 0.172 290.2);
Tailwind
colors: {
  custom: {
    50: '#8869bc',
    500: '#4f2e9f',
    950: '#000000',
  },
}
SCSS
$custom: #4f2e9f;
$custom-light: #8869bc;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2e9f",
  "rgb": {
    "r": 79,
    "g": 46,
    "b": 159
  },
  "hsl": {
    "h": 257.522,
    "s": 55.122,
    "l": 40.196
  },
  "oklch": {
    "l": 0.41276,
    "c": 0.17153,
    "h": 290.2
  },
  "luminance": 0.06119
}

Semantic roles & 50–950 ramp

primary
#4F2E9F
secondary
#A6BE6B
accent
#DE49B3
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4F2E9F

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

Preview Lab → · Contrast checker → · Palette generator →

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