#4F2E9D#4F2E9D

#4F2E9D is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.1% C 0.169 H 290.6°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#4F2E9D
RGBrgb(79, 46, 157)
HSLhsl(258, 55%, 40%)
HSVhsv(258, 71%, 62%)
CMYKcmyk(49.7%, 70.7%, 0%, 38.4%)
CIE-LABlab(29.54, 41.98, -55.17)
CIE-LCHlch(29.54, 69.33, 307.27°)
OKLaboklab(41.1% 0.0596 -0.1582)
OKLCHoklch(41.1% 0.169 290.6)
XYZxyz(10.2855, 6.0502, 32.5176)
Luminance0.0605 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2E9D #7C9D2E
analogous
#2E449D #4F2E9D #872E9D
triadic
#4F2E9D #9D4F2E #2E9D4F
tetradic
#4F2E9D #9D2E44 #7C9D2E #2E9D87
square
#4F2E9D #9D2E44 #7C9D2E #2E9D87
split-complementary
#4F2E9D #9D872E #449D2E
monochromatic
#1F123E #37206E #4F2E9D #6941C7 #8E70D5

Accessibility & contrast

On white

9.50
#4F2E9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#4F2E9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2E9D
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2E9D#FFFFFF#000000##FFFFFF
##4F2E9D1.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A0
Deuteranopia (green-blind)
#00439B
Tritanopia (blue-blind)
#354A62
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #4f2e9d;
/* rgb */ color: rgb(79, 46, 157);
/* oklch */ color: oklch(41.1% 0.169 290.6);
Tailwind
colors: {
  custom: {
    50: '#8869bb',
    500: '#4f2e9d',
    950: '#000000',
  },
}
SCSS
$custom: #4f2e9d;
$custom-light: #8869bb;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2e9d",
  "rgb": {
    "r": 79,
    "g": 46,
    "b": 157
  },
  "hsl": {
    "h": 257.838,
    "s": 54.68,
    "l": 39.804
  },
  "oklch": {
    "l": 0.411,
    "c": 0.16909,
    "h": 290.6
  },
  "luminance": 0.06051
}

Semantic roles & 50–950 ramp

primary
#4F2E9D
secondary
#A4BD6A
accent
#DE4AB2
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4F2E9D

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

Preview Lab → · Contrast checker → · Palette generator →

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