#4F2A94#4F2A94

#4F2A94 is a dark, vivid violet. Relative luminance 0.055; OKLCH L 39.8% C 0.163 H 293.6°. Best body text is #FFFFFF at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#4F2A94
RGBrgb(79, 42, 148)
HSLhsl(261, 56%, 37%)
HSVhsv(261, 72%, 58%)
CMYKcmyk(46.6%, 71.6%, 0%, 42%)
CIE-LABlab(28.00, 41.55, -52.18)
CIE-LCHlch(28.00, 66.71, 308.53°)
OKLaboklab(39.76% 0.0653 -0.1494)
OKLCHoklch(39.76% 0.163 293.6)
XYZxyz(9.3962, 5.4560, 28.5693)
Luminance0.0546 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2A94 #6F942A
analogous
#2A3A94 #4F2A94 #842A94
triadic
#4F2A94 #944F2A #2A944F
tetradic
#4F2A94 #942A3A #6F942A #2A9484
square
#4F2A94 #942A3A #6F942A #2A9484
split-complementary
#4F2A94 #94842A #3A942A
monochromatic
#1C0F35 #361C64 #4F2A94 #6838C4 #8C65D3

Accessibility & contrast

On white

10.04
#4F2A94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#4F2A94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2A94
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2A94#FFFFFF#000000##FFFFFF
##4F2A941.0010.042.0910.04
#FFFFFF10.041.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004397
Deuteranopia (green-blind)
#004092
Tritanopia (blue-blind)
#3B455C
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4f2a94;
/* rgb */ color: rgb(79, 42, 148);
/* oklch */ color: oklch(39.8% 0.163 293.6);
Tailwind
colors: {
  custom: {
    50: '#8767b4',
    500: '#4f2a94',
    950: '#000000',
  },
}
SCSS
$custom: #4f2a94;
$custom-light: #8767b4;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2a94",
  "rgb": {
    "r": 79,
    "g": 42,
    "b": 148
  },
  "hsl": {
    "h": 260.943,
    "s": 55.789,
    "l": 37.255
  },
  "oklch": {
    "l": 0.39762,
    "c": 0.16307,
    "h": 293.6
  },
  "luminance": 0.05456
}

Semantic roles & 50–950 ramp

primary
#4F2A94
secondary
#9AB960
accent
#DF49AB
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #4F2A94

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

Preview Lab → · Contrast checker → · Palette generator →

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