#4F2EBF#4F2EBF

#4F2EBF is a dark, highly saturated violet. Relative luminance 0.074; OKLCH L 44.3% C 0.209 H 284.3°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#4F2EBF
RGBrgb(79, 46, 191)
HSLhsl(254, 61%, 46%)
HSVhsv(254, 76%, 75%)
CMYKcmyk(58.6%, 75.9%, 0%, 25.1%)
CIE-LABlab(32.65, 51.84, -70.41)
CIE-LCHlch(32.65, 87.43, 306.36°)
OKLaboklab(44.25% 0.0518 -0.2029)
OKLCHoklch(44.25% 0.209 284.3)
XYZxyz(13.6025, 7.3770, 49.9872)
Luminance0.0738 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2EBF #9EBF2E
analogous
#2E56BF #4F2EBF #982EBF
triadic
#4F2EBF #BF4F2E #2EBF4F
tetradic
#4F2EBF #BF2E56 #9EBF2E #2EBF98
square
#4F2EBF #BF2E56 #9EBF2E #2EBF98
split-complementary
#4F2EBF #BF982E #56BF2E
monochromatic
#26165C #3B228E #4F2EBF #7254D6 #9B86E2

Accessibility & contrast

On white

8.48
#4F2EBF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#4F2EBF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2EBF
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2EBF#FFFFFF#000000##FFFFFF
##4F2EBF1.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051C3
Deuteranopia (green-blind)
#0048BC
Tritanopia (blue-blind)
#0A5775
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4f2ebf;
/* rgb */ color: rgb(79, 46, 191);
/* oklch */ color: oklch(44.3% 0.209 284.3);
Tailwind
colors: {
  custom: {
    50: '#8d6bd4',
    500: '#4f2ebf',
    950: '#000000',
  },
}
SCSS
$custom: #4f2ebf;
$custom-light: #8d6bd4;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2ebf",
  "rgb": {
    "r": 79,
    "g": 46,
    "b": 191
  },
  "hsl": {
    "h": 253.655,
    "s": 61.181,
    "l": 46.471
  },
  "oklch": {
    "l": 0.4425,
    "c": 0.20937,
    "h": 284.3
  },
  "luminance": 0.07378
}

Semantic roles & 50–950 ramp

primary
#4F2EBF
secondary
#BACB7E
accent
#E444C0
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #4F2EBF

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

Preview Lab → · Contrast checker → · Palette generator →

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