#4F2295#4F2295

#4F2295 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.8% C 0.173 H 294.7°. Best body text is #FFFFFF at 10.53:1 contrast (WCAG AA passes).

Color values

HEX#4F2295
RGBrgb(79, 34, 149)
HSLhsl(263, 63%, 36%)
HSVhsv(263, 77%, 58%)
CMYKcmyk(47%, 77.2%, 0%, 41.6%)
CIE-LABlab(26.67, 45.83, -54.97)
CIE-LCHlch(26.67, 71.57, 309.82°)
OKLaboklab(38.85% 0.0725 -0.1576)
OKLCHoklch(38.85% 0.173 294.7)
XYZxyz(9.2198, 4.9760, 28.9026)
Luminance0.0498 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2295 #689522
analogous
#222E95 #4F2295 #882295
triadic
#4F2295 #954F22 #22954F
tetradic
#4F2295 #95222E #689522 #229588
square
#4F2295 #95222E #689522 #229588
split-complementary
#4F2295 #958822 #2E9522
monochromatic
#1A0B31 #351763 #4F2295 #692DC7 #8B58D9

Accessibility & contrast

On white

10.53
#4F2295 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#4F2295 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2295
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2295#FFFFFF#000000##FFFFFF
##4F22951.0010.532.0010.53
#FFFFFF10.531.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.531.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4f2295;
/* rgb */ color: rgb(79, 34, 149);
/* oklch */ color: oklch(38.8% 0.173 294.7);
Tailwind
colors: {
  custom: {
    50: '#8862b5',
    500: '#4f2295',
    950: '#000000',
  },
}
SCSS
$custom: #4f2295;
$custom-light: #8862b5;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2295",
  "rgb": {
    "r": 79,
    "g": 34,
    "b": 149
  },
  "hsl": {
    "h": 263.478,
    "s": 62.842,
    "l": 35.882
  },
  "oklch": {
    "l": 0.38849,
    "c": 0.17345,
    "h": 294.7
  },
  "luminance": 0.04976
}

Semantic roles & 50–950 ramp

primary
#4F2295
secondary
#95BD56
accent
#E642A6
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0511
muted
#7D7A80

Preview Lab

Preview with #4F2295

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

Preview Lab → · Contrast checker → · Palette generator →

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