#4F2096#4F2096

#4F2096 is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.7% C 0.177 H 294.7°. Best body text is #FFFFFF at 10.61:1 contrast (WCAG AA passes).

Color values

HEX#4F2096
RGBrgb(79, 32, 150)
HSLhsl(264, 65%, 36%)
HSVhsv(264, 79%, 59%)
CMYKcmyk(47.3%, 78.7%, 0%, 41.2%)
CIE-LABlab(26.44, 47.01, -55.96)
CIE-LCHlch(26.44, 73.09, 310.03°)
OKLaboklab(38.72% 0.0739 -0.1605)
OKLCHoklch(38.72% 0.177 294.7)
XYZxyz(9.2445, 4.8970, 29.3064)
Luminance0.0490 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2096 #679620
analogous
#202C96 #4F2096 #8A2096
triadic
#4F2096 #964F20 #20964F
tetradic
#4F2096 #96202C #679620 #20968A
square
#4F2096 #96202C #679620 #20968A
split-complementary
#4F2096 #968A20 #2C9620
monochromatic
#1A0A31 #341564 #4F2096 #6A2BC8 #8B56DB

Accessibility & contrast

On white

10.61
#4F2096 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#4F2096 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2096
10.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2096#FFFFFF#000000##FFFFFF
##4F20961.0010.611.9810.61
#FFFFFF10.611.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004099
Deuteranopia (green-blind)
#003D94
Tritanopia (blue-blind)
#3A415A
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #4f2096;
/* rgb */ color: rgb(79, 32, 150);
/* oklch */ color: oklch(38.7% 0.177 294.7);
Tailwind
colors: {
  custom: {
    50: '#8861b6',
    500: '#4f2096',
    950: '#000000',
  },
}
SCSS
$custom: #4f2096;
$custom-light: #8861b6;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2096",
  "rgb": {
    "r": 79,
    "g": 32,
    "b": 150
  },
  "hsl": {
    "h": 263.898,
    "s": 64.835,
    "l": 35.686
  },
  "oklch": {
    "l": 0.38719,
    "c": 0.17664,
    "h": 294.7
  },
  "luminance": 0.04897
}

Semantic roles & 50–950 ramp

primary
#4F2096
secondary
#94BE53
accent
#E840A5
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0511
muted
#7D7A80

Preview Lab

Preview with #4F2096

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

Preview Lab → · Contrast checker → · Palette generator →

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