#4F2696#4F2696

#4F2696 is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.4% C 0.170 H 293.8°. Best body text is #FFFFFF at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#4F2696
RGBrgb(79, 38, 150)
HSLhsl(262, 60%, 37%)
HSVhsv(262, 75%, 59%)
CMYKcmyk(47.3%, 74.7%, 0%, 41.2%)
CIE-LABlab(27.44, 44.17, -54.33)
CIE-LCHlch(27.44, 70.02, 309.11°)
OKLaboklab(39.42% 0.0687 -0.1557)
OKLCHoklch(39.42% 0.17 293.8)
XYZxyz(9.4211, 5.2502, 29.3653)
Luminance0.0525 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2696 #6D9626
analogous
#263596 #4F2696 #872696
triadic
#4F2696 #964F26 #26964F
tetradic
#4F2696 #962635 #6D9626 #269687
square
#4F2696 #962635 #6D9626 #269687
split-complementary
#4F2696 #968726 #359626
monochromatic
#1C0D34 #351A65 #4F2696 #6932C7 #8B60D7

Accessibility & contrast

On white

10.24
#4F2696 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#4F2696 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2696
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2696#FFFFFF#000000##FFFFFF
##4F26961.0010.242.0510.24
#FFFFFF10.241.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004299
Deuteranopia (green-blind)
#003F94
Tritanopia (blue-blind)
#3A435C
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4f2696;
/* rgb */ color: rgb(79, 38, 150);
/* oklch */ color: oklch(39.4% 0.170 293.8);
Tailwind
colors: {
  custom: {
    50: '#8764b6',
    500: '#4f2696',
    950: '#000000',
  },
}
SCSS
$custom: #4f2696;
$custom-light: #8764b6;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2696",
  "rgb": {
    "r": 79,
    "g": 38,
    "b": 150
  },
  "hsl": {
    "h": 261.964,
    "s": 59.574,
    "l": 36.863
  },
  "oklch": {
    "l": 0.39419,
    "c": 0.17018,
    "h": 293.8
  },
  "luminance": 0.0525
}

Semantic roles & 50–950 ramp

primary
#4F2696
secondary
#99BC5C
accent
#E345A9
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #4F2696

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

Preview Lab → · Contrast checker → · Palette generator →

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