#4F2E9A#4F2E9A

#4F2E9A is a dark, vivid violet. Relative luminance 0.059; OKLCH L 40.8% C 0.165 H 291.3°. Best body text is #FFFFFF at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#4F2E9A
RGBrgb(79, 46, 154)
HSLhsl(258, 54%, 39%)
HSVhsv(258, 70%, 60%)
CMYKcmyk(48.7%, 70.1%, 0%, 39.6%)
CIE-LABlab(29.28, 41.11, -53.76)
CIE-LCHlch(29.28, 67.68, 307.41°)
OKLaboklab(40.84% 0.0602 -0.1541)
OKLCHoklch(40.84% 0.165 291.3)
XYZxyz(10.0325, 5.9490, 31.1852)
Luminance0.0595 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2E9A #799A2E
analogous
#2E439A #4F2E9A #852E9A
triadic
#4F2E9A #9A4F2E #2E9A4F
tetradic
#4F2E9A #9A2E43 #799A2E #2E9A85
square
#4F2E9A #9A2E43 #799A2E #2E9A85
split-complementary
#4F2E9A #9A852E #439A2E
monochromatic
#1F123C #37206B #4F2E9A #683FC6 #8E6FD4

Accessibility & contrast

On white

9.59
#4F2E9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#4F2E9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2E9A
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2E9A#FFFFFF#000000##FFFFFF
##4F2E9A1.009.592.199.59
#FFFFFF9.591.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479D
Deuteranopia (green-blind)
#004398
Tritanopia (blue-blind)
#374960
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4f2e9a;
/* rgb */ color: rgb(79, 46, 154);
/* oklch */ color: oklch(40.8% 0.165 291.3);
Tailwind
colors: {
  custom: {
    50: '#8769b9',
    500: '#4f2e9a',
    950: '#000000',
  },
}
SCSS
$custom: #4f2e9a;
$custom-light: #8769b9;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2e9a",
  "rgb": {
    "r": 79,
    "g": 46,
    "b": 154
  },
  "hsl": {
    "h": 258.333,
    "s": 54,
    "l": 39.216
  },
  "oklch": {
    "l": 0.40838,
    "c": 0.16541,
    "h": 291.3
  },
  "luminance": 0.05949
}

Semantic roles & 50–950 ramp

primary
#4F2E9A
secondary
#A2BB69
accent
#DD4AB0
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #4F2E9A

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

Preview Lab → · Contrast checker → · Palette generator →

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