#4F2694#4F2694

#4F2694 is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.2% C 0.168 H 294.3°. Best body text is #FFFFFF at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#4F2694
RGBrgb(79, 38, 148)
HSLhsl(262, 59%, 36%)
HSVhsv(262, 74%, 58%)
CMYKcmyk(46.6%, 74.3%, 0%, 42%)
CIE-LABlab(27.26, 43.62, -53.39)
CIE-LCHlch(27.26, 68.94, 309.25°)
OKLaboklab(39.24% 0.0691 -0.153)
OKLCHoklch(39.24% 0.168 294.3)
XYZxyz(9.2614, 5.1863, 28.5243)
Luminance0.0519 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2694 #6B9426
analogous
#263494 #4F2694 #862694
triadic
#4F2694 #944F26 #26944F
tetradic
#4F2694 #942634 #6B9426 #269486
square
#4F2694 #942634 #6B9426 #269486
split-complementary
#4F2694 #948626 #349426
monochromatic
#1B0D33 #351963 #4F2694 #6933C5 #8B5FD6

Accessibility & contrast

On white

10.31
#4F2694 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F2694
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2694#FFFFFF#000000##FFFFFF
##4F26941.0010.312.0410.31
#FFFFFF10.311.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004197
Deuteranopia (green-blind)
#003F92
Tritanopia (blue-blind)
#3B435B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #4f2694;
/* rgb */ color: rgb(79, 38, 148);
/* oklch */ color: oklch(39.2% 0.168 294.3);
Tailwind
colors: {
  custom: {
    50: '#8764b4',
    500: '#4f2694',
    950: '#000000',
  },
}
SCSS
$custom: #4f2694;
$custom-light: #8764b4;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2694",
  "rgb": {
    "r": 79,
    "g": 38,
    "b": 148
  },
  "hsl": {
    "h": 262.364,
    "s": 59.14,
    "l": 36.471
  },
  "oklch": {
    "l": 0.39239,
    "c": 0.16785,
    "h": 294.3
  },
  "luminance": 0.05187
}

Semantic roles & 50–950 ramp

primary
#4F2694
secondary
#97BB5B
accent
#E245A8
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #4F2694

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

Preview Lab → · Contrast checker → · Palette generator →

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