#4F2EB3#4F2EB3

#4F2EB3 is a dark, vivid violet. Relative luminance 0.069; OKLCH L 43.1% C 0.195 H 286.3°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#4F2EB3
RGBrgb(79, 46, 179)
HSLhsl(255, 59%, 44%)
HSVhsv(255, 74%, 70%)
CMYKcmyk(55.9%, 74.3%, 0%, 29.8%)
CIE-LABlab(31.51, 48.37, -65.18)
CIE-LCHlch(31.51, 81.17, 306.58°)
OKLaboklab(43.1% 0.0548 -0.1876)
OKLCHoklch(43.1% 0.195 286.3)
XYZxyz(12.3357, 6.8702, 43.3152)
Luminance0.0687 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2EB3 #92B32E
analogous
#2E50B3 #4F2EB3 #922EB3
triadic
#4F2EB3 #B34F2E #2EB34F
tetradic
#4F2EB3 #B32E50 #92B32E #2EB392
square
#4F2EB3 #B32E50 #92B32E #2EB392
split-complementary
#4F2EB3 #B3922E #50B32E
monochromatic
#241552 #3A2182 #4F2EB3 #6E4DD1 #957EDE

Accessibility & contrast

On white

8.85
#4F2EB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#4F2EB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2EB3
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2EB3#FFFFFF#000000##FFFFFF
##4F2EB31.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB7
Deuteranopia (green-blind)
#0046B1
Tritanopia (blue-blind)
#21536E
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4f2eb3;
/* rgb */ color: rgb(79, 46, 179);
/* oklch */ color: oklch(43.1% 0.195 286.3);
Tailwind
colors: {
  custom: {
    50: '#8b6acb',
    500: '#4f2eb3',
    950: '#000000',
  },
}
SCSS
$custom: #4f2eb3;
$custom-light: #8b6acb;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2eb3",
  "rgb": {
    "r": 79,
    "g": 46,
    "b": 179
  },
  "hsl": {
    "h": 254.887,
    "s": 59.111,
    "l": 44.118
  },
  "oklch": {
    "l": 0.43103,
    "c": 0.19543,
    "h": 286.3
  },
  "luminance": 0.06871
}

Semantic roles & 50–950 ramp

primary
#4F2EB3
secondary
#B3C676
accent
#E246BB
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #4F2EB3

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

Preview Lab → · Contrast checker → · Palette generator →

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