#4F2BC0#4F2BC0

#4F2BC0 is a dark, highly saturated violet. Relative luminance 0.072; OKLCH L 44.0% C 0.213 H 284.5°. Best body text is #FFFFFF at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#4F2BC0
RGBrgb(79, 43, 192)
HSLhsl(254, 63%, 46%)
HSVhsv(254, 78%, 75%)
CMYKcmyk(58.9%, 77.6%, 0%, 24.7%)
CIE-LABlab(32.25, 53.56, -71.66)
CIE-LCHlch(32.25, 89.46, 306.77°)
OKLaboklab(44% 0.0535 -0.2065)
OKLCHoklch(44% 0.213 284.5)
XYZxyz(13.5998, 7.1949, 50.5311)
Luminance0.0720 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2BC0 #9CC02B
analogous
#2B51C0 #4F2BC0 #992BC0
triadic
#4F2BC0 #C04F2B #2BC04F
tetradic
#4F2BC0 #C02B51 #9CC02B #2BC099
square
#4F2BC0 #C02B51 #9CC02B #2BC099
split-complementary
#4F2BC0 #C0992B #51C02B
monochromatic
#26155C #3A208E #4F2BC0 #7150D8 #9A82E3

Accessibility & contrast

On white

8.61
#4F2BC0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#4F2BC0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2BC0
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2BC0#FFFFFF#000000##FFFFFF
##4F2BC01.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050C4
Deuteranopia (green-blind)
#0047BD
Tritanopia (blue-blind)
#075675
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4f2bc0;
/* rgb */ color: rgb(79, 43, 192);
/* oklch */ color: oklch(44.0% 0.213 284.5);
Tailwind
colors: {
  custom: {
    50: '#8e69d4',
    500: '#4f2bc0',
    950: '#000000',
  },
}
SCSS
$custom: #4f2bc0;
$custom-light: #8e69d4;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2bc0",
  "rgb": {
    "r": 79,
    "g": 43,
    "b": 192
  },
  "hsl": {
    "h": 254.497,
    "s": 63.404,
    "l": 46.078
  },
  "oklch": {
    "l": 0.43997,
    "c": 0.21332,
    "h": 284.5
  },
  "luminance": 0.07196
}

Semantic roles & 50–950 ramp

primary
#4F2BC0
secondary
#B8CC7B
accent
#E641BF
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #4F2BC0

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

Preview Lab → · Contrast checker → · Palette generator →

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