#4F2B95#4F2B95

#4F2B95 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.0% C 0.163 H 293.1°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#4F2B95
RGBrgb(79, 43, 149)
HSLhsl(260, 55%, 38%)
HSVhsv(260, 71%, 58%)
CMYKcmyk(47%, 71.1%, 0%, 41.6%)
CIE-LABlab(28.27, 41.30, -52.35)
CIE-LCHlch(28.27, 66.68, 308.27°)
OKLaboklab(39.99% 0.0641 -0.1499)
OKLCHoklch(39.99% 0.163 293.1)
XYZxyz(9.5116, 5.5596, 28.9999)
Luminance0.0556 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2B95 #71952B
analogous
#2B3C95 #4F2B95 #842B95
triadic
#4F2B95 #954F2B #2B954F
tetradic
#4F2B95 #952B3C #71952B #2B9584
square
#4F2B95 #952B3C #71952B #2B9584
split-complementary
#4F2B95 #95842B #3C952B
monochromatic
#1D1036 #361D66 #4F2B95 #6839C4 #8C67D3

Accessibility & contrast

On white

9.94
#4F2B95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#4F2B95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2B95
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2B95#FFFFFF#000000##FFFFFF
##4F2B951.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004498
Deuteranopia (green-blind)
#004193
Tritanopia (blue-blind)
#3A465D
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4f2b95;
/* rgb */ color: rgb(79, 43, 149);
/* oklch */ color: oklch(40.0% 0.163 293.1);
Tailwind
colors: {
  custom: {
    50: '#8767b5',
    500: '#4f2b95',
    950: '#000000',
  },
}
SCSS
$custom: #4f2b95;
$custom-light: #8767b5;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2b95",
  "rgb": {
    "r": 79,
    "g": 43,
    "b": 149
  },
  "hsl": {
    "h": 260.377,
    "s": 55.208,
    "l": 37.647
  },
  "oklch": {
    "l": 0.39986,
    "c": 0.16304,
    "h": 293.1
  },
  "luminance": 0.0556
}

Semantic roles & 50–950 ramp

primary
#4F2B95
secondary
#9CBA62
accent
#DF49AC
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #4F2B95

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

Preview Lab → · Contrast checker → · Palette generator →

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