#4F2691#4F2691

#4F2691 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.0% C 0.164 H 295.1°. Best body text is #FFFFFF at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#4F2691
RGBrgb(79, 38, 145)
HSLhsl(263, 58%, 36%)
HSVhsv(263, 74%, 57%)
CMYKcmyk(45.5%, 73.8%, 0%, 43.1%)
CIE-LABlab(27.00, 42.79, -51.97)
CIE-LCHlch(27.00, 67.32, 309.47°)
OKLaboklab(38.97% 0.0698 -0.1488)
OKLCHoklch(38.97% 0.164 295.1)
XYZxyz(9.0270, 5.0926, 27.2899)
Luminance0.0509 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2691 #689126
analogous
#263291 #4F2691 #842691
triadic
#4F2691 #914F26 #26914F
tetradic
#4F2691 #912632 #689126 #269184
square
#4F2691 #912632 #689126 #269184
split-complementary
#4F2691 #918426 #329126
monochromatic
#1A0D30 #351961 #4F2691 #6933C1 #8B5DD5

Accessibility & contrast

On white

10.40
#4F2691 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#4F2691 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2691
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2691#FFFFFF#000000##FFFFFF
##4F26911.0010.402.0210.40
#FFFFFF10.401.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004194
Deuteranopia (green-blind)
#003E8F
Tritanopia (blue-blind)
#3D4259
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #4f2691;
/* rgb */ color: rgb(79, 38, 145);
/* oklch */ color: oklch(39.0% 0.164 295.1);
Tailwind
colors: {
  custom: {
    50: '#8764b2',
    500: '#4f2691',
    950: '#000000',
  },
}
SCSS
$custom: #4f2691;
$custom-light: #8764b2;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2691",
  "rgb": {
    "r": 79,
    "g": 38,
    "b": 145
  },
  "hsl": {
    "h": 262.991,
    "s": 58.47,
    "l": 35.882
  },
  "oklch": {
    "l": 0.38973,
    "c": 0.16435,
    "h": 295.1
  },
  "luminance": 0.05093
}

Semantic roles & 50–950 ramp

primary
#4F2691
secondary
#95BA59
accent
#E246A6
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #4F2691

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

Preview Lab → · Contrast checker → · Palette generator →

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