#4F2F95#4F2F95

#4F2F95 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 40.6% C 0.158 H 292.3°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#4F2F95
RGBrgb(79, 47, 149)
HSLhsl(259, 52%, 38%)
HSVhsv(259, 68%, 58%)
CMYKcmyk(47%, 68.5%, 0%, 41.6%)
CIE-LABlab(29.07, 39.11, -51.05)
CIE-LCHlch(29.07, 64.31, 307.46°)
OKLaboklab(40.56% 0.06 -0.1461)
OKLCHoklch(40.56% 0.158 292.3)
XYZxyz(9.6643, 5.8649, 29.0508)
Luminance0.0587 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2F95 #75952F
analogous
#2F4295 #4F2F95 #822F95
triadic
#4F2F95 #954F2F #2F954F
tetradic
#4F2F95 #952F42 #75952F #2F9582
square
#4F2F95 #952F42 #75952F #2F9582
split-complementary
#4F2F95 #95822F #42952F
monochromatic
#1E1238 #362066 #4F2F95 #683FC2 #8D6DD1

Accessibility & contrast

On white

9.66
#4F2F95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#4F2F95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2F95
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2F95#FFFFFF#000000##FFFFFF
##4F2F951.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4f2f95;
/* rgb */ color: rgb(79, 47, 149);
/* oklch */ color: oklch(40.6% 0.158 292.3);
Tailwind
colors: {
  custom: {
    50: '#876ab5',
    500: '#4f2f95',
    950: '#000000',
  },
}
SCSS
$custom: #4f2f95;
$custom-light: #876ab5;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2f95",
  "rgb": {
    "r": 79,
    "g": 47,
    "b": 149
  },
  "hsl": {
    "h": 258.824,
    "s": 52.041,
    "l": 38.431
  },
  "oklch": {
    "l": 0.40555,
    "c": 0.15795,
    "h": 292.3
  },
  "luminance": 0.05865
}

Semantic roles & 50–950 ramp

primary
#4F2F95
secondary
#9FB867
accent
#DB4CAF
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #4F2F95

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

Preview Lab → · Contrast checker → · Palette generator →

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