#4F2DC0#4F2DC0

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

Color values

HEX#4F2DC0
RGBrgb(79, 45, 192)
HSLhsl(254, 62%, 46%)
HSVhsv(254, 77%, 75%)
CMYKcmyk(58.9%, 76.6%, 0%, 24.7%)
CIE-LABlab(32.58, 52.61, -71.12)
CIE-LCHlch(32.58, 88.46, 306.49°)
OKLaboklab(44.23% 0.0522 -0.2049)
OKLCHoklch(44.23% 0.211 284.3)
XYZxyz(13.6743, 7.3439, 50.5559)
Luminance0.0735 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2DC0 #9EC02D
analogous
#2D54C0 #4F2DC0 #992DC0
triadic
#4F2DC0 #C04F2D #2DC04F
tetradic
#4F2DC0 #C02D54 #9EC02D #2DC099
square
#4F2DC0 #C02D54 #9EC02D #2DC099
split-complementary
#4F2DC0 #C0992D #54C02D
monochromatic
#26165D #3B218E #4F2DC0 #7253D7 #9B85E2

Accessibility & contrast

On white

8.51
#4F2DC0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#4F2DC0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2DC0
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2DC0#FFFFFF#000000##FFFFFF
##4F2DC01.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051C4
Deuteranopia (green-blind)
#0048BD
Tritanopia (blue-blind)
#065775
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4f2dc0;
/* rgb */ color: rgb(79, 45, 192);
/* oklch */ color: oklch(44.2% 0.211 284.3);
Tailwind
colors: {
  custom: {
    50: '#8d6ad4',
    500: '#4f2dc0',
    950: '#000000',
  },
}
SCSS
$custom: #4f2dc0;
$custom-light: #8d6ad4;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2dc0",
  "rgb": {
    "r": 79,
    "g": 45,
    "b": 192
  },
  "hsl": {
    "h": 253.878,
    "s": 62.025,
    "l": 46.471
  },
  "oklch": {
    "l": 0.44228,
    "c": 0.21147,
    "h": 284.3
  },
  "luminance": 0.07345
}

Semantic roles & 50–950 ramp

primary
#4F2DC0
secondary
#BACC7D
accent
#E543C0
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #4F2DC0

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

Preview Lab → · Contrast checker → · Palette generator →

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