#4F2CB3#4F2CB3

#4F2CB3 is a dark, vivid violet. Relative luminance 0.067; OKLCH L 42.9% C 0.197 H 286.6°. Best body text is #FFFFFF at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#4F2CB3
RGBrgb(79, 44, 179)
HSLhsl(256, 61%, 44%)
HSVhsv(256, 75%, 70%)
CMYKcmyk(55.9%, 75.4%, 0%, 29.8%)
CIE-LABlab(31.16, 49.37, -65.76)
CIE-LCHlch(31.16, 82.23, 306.90°)
OKLaboklab(42.85% 0.0563 -0.1893)
OKLCHoklch(42.85% 0.197 286.6)
XYZxyz(12.2594, 6.7176, 43.2897)
Luminance0.0672 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2CB3 #90B32C
analogous
#2C4CB3 #4F2CB3 #922CB3
triadic
#4F2CB3 #B34F2C #2CB34F
tetradic
#4F2CB3 #B32C4C #90B32C #2CB392
square
#4F2CB3 #B32C4C #90B32C #2CB392
split-complementary
#4F2CB3 #B3922C #4CB32C
monochromatic
#241451 #392082 #4F2CB3 #6D4AD2 #957BDF

Accessibility & contrast

On white

8.96
#4F2CB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#4F2CB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2CB3
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2CB3#FFFFFF#000000##FFFFFF
##4F2CB31.008.962.348.96
#FFFFFF8.961.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB7
Deuteranopia (green-blind)
#0045B1
Tritanopia (blue-blind)
#22526E
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4f2cb3;
/* rgb */ color: rgb(79, 44, 179);
/* oklch */ color: oklch(42.9% 0.197 286.6);
Tailwind
colors: {
  custom: {
    50: '#8b69cb',
    500: '#4f2cb3',
    950: '#000000',
  },
}
SCSS
$custom: #4f2cb3;
$custom-light: #8b69cb;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2cb3",
  "rgb": {
    "r": 79,
    "g": 44,
    "b": 179
  },
  "hsl": {
    "h": 255.556,
    "s": 60.538,
    "l": 43.725
  },
  "oklch": {
    "l": 0.42853,
    "c": 0.19748,
    "h": 286.6
  },
  "luminance": 0.06718
}

Semantic roles & 50–950 ramp

primary
#4F2CB3
secondary
#B1C774
accent
#E444BA
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #4F2CB3

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

Preview Lab → · Contrast checker → · Palette generator →

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