#4F2793#4F2793

#4F2793 is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.3% C 0.166 H 294.4°. Best body text is #FFFFFF at 10.27:1 contrast (WCAG AA passes).

Color values

HEX#4F2793
RGBrgb(79, 39, 147)
HSLhsl(262, 58%, 36%)
HSVhsv(262, 73%, 58%)
CMYKcmyk(46.3%, 73.5%, 0%, 42.4%)
CIE-LABlab(27.35, 42.84, -52.62)
CIE-LCHlch(27.35, 67.85, 309.15°)
OKLaboklab(39.28% 0.0684 -0.1507)
OKLCHoklch(39.28% 0.166 294.4)
XYZxyz(9.2150, 5.2196, 28.1201)
Luminance0.0522 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2793 #6B9327
analogous
#273593 #4F2793 #852793
triadic
#4F2793 #934F27 #27934F
tetradic
#4F2793 #932735 #6B9327 #279385
square
#4F2793 #932735 #6B9327 #279385
split-complementary
#4F2793 #938527 #359327
monochromatic
#1B0D32 #351A63 #4F2793 #6934C3 #8B60D5

Accessibility & contrast

On white

10.27
#4F2793 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#4F2793 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2793
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2793#FFFFFF#000000##FFFFFF
##4F27931.0010.272.0410.27
#FFFFFF10.271.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004296
Deuteranopia (green-blind)
#003F91
Tritanopia (blue-blind)
#3B435A
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4f2793;
/* rgb */ color: rgb(79, 39, 147);
/* oklch */ color: oklch(39.3% 0.166 294.4);
Tailwind
colors: {
  custom: {
    50: '#8765b4',
    500: '#4f2793',
    950: '#000000',
  },
}
SCSS
$custom: #4f2793;
$custom-light: #8765b4;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2793",
  "rgb": {
    "r": 79,
    "g": 39,
    "b": 147
  },
  "hsl": {
    "h": 262.222,
    "s": 58.065,
    "l": 36.471
  },
  "oklch": {
    "l": 0.39278,
    "c": 0.16551,
    "h": 294.4
  },
  "luminance": 0.0522
}

Semantic roles & 50–950 ramp

primary
#4F2793
secondary
#97BA5C
accent
#E147A8
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #4F2793

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

Preview Lab → · Contrast checker → · Palette generator →

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