#4F2C94#4F2C94

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

Color values

HEX#4F2C94
RGBrgb(79, 44, 148)
HSLhsl(260, 54%, 38%)
HSVhsv(260, 70%, 58%)
CMYKcmyk(46.6%, 70.3%, 0%, 42%)
CIE-LABlab(28.38, 40.48, -51.55)
CIE-LCHlch(28.38, 65.54, 308.14°)
OKLaboklab(40.04% 0.0632 -0.1476)
OKLCHoklch(40.04% 0.161 293.2)
XYZxyz(9.4690, 5.6015, 28.5935)
Luminance0.0560 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2C94 #71942C
analogous
#2C3D94 #4F2C94 #832C94
triadic
#4F2C94 #944F2C #2C944F
tetradic
#4F2C94 #942C3D #71942C #2C9483
square
#4F2C94 #942C3D #71942C #2C9483
split-complementary
#4F2C94 #94832C #3D942C
monochromatic
#1D1036 #361E65 #4F2C94 #683AC3 #8C68D2

Accessibility & contrast

On white

9.90
#4F2C94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F2C94
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2C94#FFFFFF#000000##FFFFFF
##4F2C941.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004497
Deuteranopia (green-blind)
#004192
Tritanopia (blue-blind)
#3B465C
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4f2c94;
/* rgb */ color: rgb(79, 44, 148);
/* oklch */ color: oklch(40.0% 0.161 293.2);
Tailwind
colors: {
  custom: {
    50: '#8768b4',
    500: '#4f2c94',
    950: '#000000',
  },
}
SCSS
$custom: #4f2c94;
$custom-light: #8768b4;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2c94",
  "rgb": {
    "r": 79,
    "g": 44,
    "b": 148
  },
  "hsl": {
    "h": 260.192,
    "s": 54.167,
    "l": 37.647
  },
  "oklch": {
    "l": 0.40039,
    "c": 0.16057,
    "h": 293.2
  },
  "luminance": 0.05602
}

Semantic roles & 50–950 ramp

primary
#4F2C94
secondary
#9CB963
accent
#DE4AAC
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #4F2C94

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

Preview Lab → · Contrast checker → · Palette generator →

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