#4F2BC2#4F2BC2

#4F2BC2 is a dark, highly saturated violet. Relative luminance 0.073; OKLCH L 44.2% C 0.216 H 284.2°. Best body text is #FFFFFF at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#4F2BC2
RGBrgb(79, 43, 194)
HSLhsl(254, 64%, 46%)
HSVhsv(254, 78%, 76%)
CMYKcmyk(59.3%, 77.8%, 0%, 23.9%)
CIE-LABlab(32.45, 54.12, -72.51)
CIE-LCHlch(32.45, 90.48, 306.74°)
OKLaboklab(44.2% 0.0529 -0.209)
OKLCHoklch(44.2% 0.216 284.2)
XYZxyz(13.8229, 7.2842, 51.7061)
Luminance0.0728 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2BC2 #9EC22B
analogous
#2B52C2 #4F2BC2 #9B2BC2
triadic
#4F2BC2 #C24F2B #2BC24F
tetradic
#4F2BC2 #C22B52 #9EC22B #2BC29B
square
#4F2BC2 #C22B52 #9EC22B #2BC29B
split-complementary
#4F2BC2 #C29B2B #52C22B
monochromatic
#26155E #3B2090 #4F2BC2 #7252D9 #9B84E4

Accessibility & contrast

On white

8.55
#4F2BC2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#4F2BC2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2BC2
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2BC2#FFFFFF#000000##FFFFFF
##4F2BC21.008.552.468.55
#FFFFFF8.551.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051C6
Deuteranopia (green-blind)
#0047BF
Tritanopia (blue-blind)
#005776
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4f2bc2;
/* rgb */ color: rgb(79, 43, 194);
/* oklch */ color: oklch(44.2% 0.216 284.2);
Tailwind
colors: {
  custom: {
    50: '#8e69d6',
    500: '#4f2bc2',
    950: '#000000',
  },
}
SCSS
$custom: #4f2bc2;
$custom-light: #8e69d6;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2bc2",
  "rgb": {
    "r": 79,
    "g": 43,
    "b": 194
  },
  "hsl": {
    "h": 254.305,
    "s": 63.713,
    "l": 46.471
  },
  "oklch": {
    "l": 0.44195,
    "c": 0.21557,
    "h": 284.2
  },
  "luminance": 0.07285
}

Semantic roles & 50–950 ramp

primary
#4F2BC2
secondary
#BACD7C
accent
#E741BF
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #4F2BC2

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

Preview Lab → · Contrast checker → · Palette generator →

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