#4F2FBE#4F2FBE

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

Color values

HEX#4F2FBE
RGBrgb(79, 47, 190)
HSLhsl(253, 60%, 46%)
HSVhsv(253, 75%, 75%)
CMYKcmyk(58.4%, 75.3%, 0%, 25.5%)
CIE-LABlab(32.73, 51.05, -69.69)
CIE-LCHlch(32.73, 86.39, 306.23°)
OKLaboklab(44.28% 0.0513 -0.2008)
OKLCHoklch(44.28% 0.207 284.3)
XYZxyz(13.5324, 7.4121, 49.4228)
Luminance0.0741 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2FBE #9EBE2F
analogous
#2F56BE #4F2FBE #972FBE
triadic
#4F2FBE #BE4F2F #2FBE4F
tetradic
#4F2FBE #BE2F56 #9EBE2F #2FBE97
square
#4F2FBE #BE2F56 #9EBE2F #2FBE97
split-complementary
#4F2FBE #BE972F #56BE2F
monochromatic
#26175C #3B238D #4F2FBE #7255D5 #9B86E1

Accessibility & contrast

On white

8.46
#4F2FBE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F2FBE
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2FBE#FFFFFF#000000##FFFFFF
##4F2FBE1.008.462.488.46
#FFFFFF8.461.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051C2
Deuteranopia (green-blind)
#0048BB
Tritanopia (blue-blind)
#0D5775
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4f2fbe;
/* rgb */ color: rgb(79, 47, 190);
/* oklch */ color: oklch(44.3% 0.207 284.3);
Tailwind
colors: {
  custom: {
    50: '#8d6bd3',
    500: '#4f2fbe',
    950: '#000000',
  },
}
SCSS
$custom: #4f2fbe;
$custom-light: #8d6bd3;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2fbe",
  "rgb": {
    "r": 79,
    "g": 47,
    "b": 190
  },
  "hsl": {
    "h": 253.427,
    "s": 60.338,
    "l": 46.471
  },
  "oklch": {
    "l": 0.44275,
    "c": 0.20725,
    "h": 284.3
  },
  "luminance": 0.07413
}

Semantic roles & 50–950 ramp

primary
#4F2FBE
secondary
#BACB7E
accent
#E344C0
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0D0714
muted
#7E7A83

Preview Lab

Preview with #4F2FBE

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

Preview Lab → · Contrast checker → · Palette generator →

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