#4F2B97#4F2B97

#4F2B97 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.2% C 0.165 H 292.6°. Best body text is #FFFFFF at 9.88:1 contrast (WCAG AA passes).

Color values

HEX#4F2B97
RGBrgb(79, 43, 151)
HSLhsl(260, 56%, 38%)
HSVhsv(260, 72%, 59%)
CMYKcmyk(47.7%, 71.5%, 0%, 40.8%)
CIE-LABlab(28.44, 41.87, -53.30)
CIE-LCHlch(28.44, 67.78, 308.16°)
OKLaboklab(40.16% 0.0637 -0.1527)
OKLCHoklch(40.16% 0.165 292.6)
XYZxyz(9.6727, 5.6241, 29.8481)
Luminance0.0562 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2B97 #73972B
analogous
#2B3D97 #4F2B97 #852B97
triadic
#4F2B97 #974F2B #2B974F
tetradic
#4F2B97 #972B3D #73972B #2B9785
square
#4F2B97 #972B3D #73972B #2B9785
split-complementary
#4F2B97 #97852B #3D972B
monochromatic
#1D1038 #361D67 #4F2B97 #6839C7 #8C68D4

Accessibility & contrast

On white

9.88
#4F2B97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#4F2B97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2B97
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2B97#FFFFFF#000000##FFFFFF
##4F2B971.009.882.129.88
#FFFFFF9.881.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449A
Deuteranopia (green-blind)
#004195
Tritanopia (blue-blind)
#39465E
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4f2b97;
/* rgb */ color: rgb(79, 43, 151);
/* oklch */ color: oklch(40.2% 0.165 292.6);
Tailwind
colors: {
  custom: {
    50: '#8767b6',
    500: '#4f2b97',
    950: '#000000',
  },
}
SCSS
$custom: #4f2b97;
$custom-light: #8767b6;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2b97",
  "rgb": {
    "r": 79,
    "g": 43,
    "b": 151
  },
  "hsl": {
    "h": 260,
    "s": 55.67,
    "l": 38.039
  },
  "oklch": {
    "l": 0.4016,
    "c": 0.16546,
    "h": 292.6
  },
  "luminance": 0.05624
}

Semantic roles & 50–950 ramp

primary
#4F2B97
secondary
#9DBB63
accent
#DF49AD
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #4F2B97

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

Preview Lab → · Contrast checker → · Palette generator →

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