#4F2E95#4F2E95

#4F2E95 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.4% C 0.159 H 292.5°. Best body text is #FFFFFF at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#4F2E95
RGBrgb(79, 46, 149)
HSLhsl(259, 53%, 38%)
HSVhsv(259, 69%, 58%)
CMYKcmyk(47%, 69.1%, 0%, 41.6%)
CIE-LABlab(28.87, 39.67, -51.38)
CIE-LCHlch(28.87, 64.91, 307.67°)
OKLaboklab(40.41% 0.061 -0.1471)
OKLCHoklch(40.41% 0.159 292.5)
XYZxyz(9.6248, 5.7859, 29.0376)
Luminance0.0579 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2E95 #74952E
analogous
#2E4095 #4F2E95 #822E95
triadic
#4F2E95 #954F2E #2E954F
tetradic
#4F2E95 #952E40 #74952E #2E9582
square
#4F2E95 #952E40 #74952E #2E9582
split-complementary
#4F2E95 #95822E #40952E
monochromatic
#1D1137 #362066 #4F2E95 #683DC3 #8C6CD2

Accessibility & contrast

On white

9.73
#4F2E95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F2E95
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2E95#FFFFFF#000000##FFFFFF
##4F2E951.009.732.169.73
#FFFFFF9.731.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004598
Deuteranopia (green-blind)
#004293
Tritanopia (blue-blind)
#3A475D
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #4f2e95;
/* rgb */ color: rgb(79, 46, 149);
/* oklch */ color: oklch(40.4% 0.159 292.5);
Tailwind
colors: {
  custom: {
    50: '#8769b5',
    500: '#4f2e95',
    950: '#000000',
  },
}
SCSS
$custom: #4f2e95;
$custom-light: #8769b5;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2e95",
  "rgb": {
    "r": 79,
    "g": 46,
    "b": 149
  },
  "hsl": {
    "h": 259.223,
    "s": 52.821,
    "l": 38.235
  },
  "oklch": {
    "l": 0.40409,
    "c": 0.15924,
    "h": 292.5
  },
  "luminance": 0.05786
}

Semantic roles & 50–950 ramp

primary
#4F2E95
secondary
#9EB966
accent
#DC4CAE
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #4F2E95

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

Preview Lab → · Contrast checker → · Palette generator →

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