#4F2294#4F2294

#4F2294 is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.8% C 0.172 H 295.0°. Best body text is #FFFFFF at 10.56:1 contrast (WCAG AA passes).

Color values

HEX#4F2294
RGBrgb(79, 34, 148)
HSLhsl(264, 63%, 36%)
HSVhsv(264, 77%, 58%)
CMYKcmyk(46.6%, 77%, 0%, 42%)
CIE-LABlab(26.58, 45.56, -54.51)
CIE-LCHlch(26.58, 71.04, 309.89°)
OKLaboklab(38.76% 0.0727 -0.1562)
OKLCHoklch(38.76% 0.172 295)
XYZxyz(9.1403, 4.9442, 28.4840)
Luminance0.0494 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2294 #679422
analogous
#222E94 #4F2294 #882294
triadic
#4F2294 #944F22 #22944F
tetradic
#4F2294 #94222E #679422 #229488
square
#4F2294 #94222E #679422 #229488
split-complementary
#4F2294 #948822 #2E9422
monochromatic
#1A0B30 #341762 #4F2294 #6A2DC6 #8B58D9

Accessibility & contrast

On white

10.56
#4F2294 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#4F2294 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2294
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2294#FFFFFF#000000##FFFFFF
##4F22941.0010.561.9910.56
#FFFFFF10.561.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004097
Deuteranopia (green-blind)
#003D92
Tritanopia (blue-blind)
#3B415A
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #4f2294;
/* rgb */ color: rgb(79, 34, 148);
/* oklch */ color: oklch(38.8% 0.172 295.0);
Tailwind
colors: {
  custom: {
    50: '#8762b4',
    500: '#4f2294',
    950: '#000000',
  },
}
SCSS
$custom: #4f2294;
$custom-light: #8762b4;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2294",
  "rgb": {
    "r": 79,
    "g": 34,
    "b": 148
  },
  "hsl": {
    "h": 263.684,
    "s": 62.637,
    "l": 35.686
  },
  "oklch": {
    "l": 0.38758,
    "c": 0.17232,
    "h": 295
  },
  "luminance": 0.04944
}

Semantic roles & 50–950 ramp

primary
#4F2294
secondary
#94BD55
accent
#E642A5
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0511
muted
#7D7A80

Preview Lab

Preview with #4F2294

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

Preview Lab → · Contrast checker → · Palette generator →

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