#4F2CB6#4F2CB6

#4F2CB6 is a dark, highly saturated violet. Relative luminance 0.068; OKLCH L 43.1% C 0.201 H 286.1°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#4F2CB6
RGBrgb(79, 44, 182)
HSLhsl(255, 61%, 44%)
HSVhsv(255, 76%, 71%)
CMYKcmyk(56.6%, 75.8%, 0%, 28.6%)
CIE-LABlab(31.44, 50.23, -67.08)
CIE-LCHlch(31.44, 83.80, 306.83°)
OKLaboklab(43.14% 0.0556 -0.1931)
OKLCHoklch(43.14% 0.201 286.1)
XYZxyz(12.5661, 6.8403, 44.9051)
Luminance0.0684 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2CB6 #93B62C
analogous
#2C4EB6 #4F2CB6 #942CB6
triadic
#4F2CB6 #B64F2C #2CB64F
tetradic
#4F2CB6 #B62C4E #93B62C #2CB694
square
#4F2CB6 #B62C4E #93B62C #2CB694
split-complementary
#4F2CB6 #B6942C #4EB62C
monochromatic
#241453 #3A2085 #4F2CB6 #6E4CD4 #967DE0

Accessibility & contrast

On white

8.87
#4F2CB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#4F2CB6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2CB6
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2CB6#FFFFFF#000000##FFFFFF
##4F2CB61.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DBA
Deuteranopia (green-blind)
#0046B3
Tritanopia (blue-blind)
#1D536F
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4f2cb6;
/* rgb */ color: rgb(79, 44, 182);
/* oklch */ color: oklch(43.1% 0.201 286.1);
Tailwind
colors: {
  custom: {
    50: '#8c69cd',
    500: '#4f2cb6',
    950: '#000000',
  },
}
SCSS
$custom: #4f2cb6;
$custom-light: #8c69cd;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2cb6",
  "rgb": {
    "r": 79,
    "g": 44,
    "b": 182
  },
  "hsl": {
    "h": 255.217,
    "s": 61.062,
    "l": 44.314
  },
  "oklch": {
    "l": 0.4314,
    "c": 0.20095,
    "h": 286.1
  },
  "luminance": 0.06841
}

Semantic roles & 50–950 ramp

primary
#4F2CB6
secondary
#B3C876
accent
#E444BB
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0714
muted
#7E7A82

Preview Lab

Preview with #4F2CB6

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

Preview Lab → · Contrast checker → · Palette generator →

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