#4F2CB5#4F2CB5

#4F2CB5 is a dark, vivid violet. Relative luminance 0.068; OKLCH L 43.0% C 0.200 H 286.2°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#4F2CB5
RGBrgb(79, 44, 181)
HSLhsl(255, 61%, 44%)
HSVhsv(255, 76%, 71%)
CMYKcmyk(56.4%, 75.7%, 0%, 29%)
CIE-LABlab(31.35, 49.95, -66.64)
CIE-LCHlch(31.35, 83.28, 306.85°)
OKLaboklab(43.04% 0.0558 -0.1918)
OKLCHoklch(43.04% 0.2 286.2)
XYZxyz(12.4631, 6.7991, 44.3627)
Luminance0.0680 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2CB5 #92B52C
analogous
#2C4EB5 #4F2CB5 #942CB5
triadic
#4F2CB5 #B54F2C #2CB54F
tetradic
#4F2CB5 #B52C4E #92B52C #2CB594
square
#4F2CB5 #B52C4E #92B52C #2CB594
split-complementary
#4F2CB5 #B5942C #4EB52C
monochromatic
#241453 #3A2084 #4F2CB5 #6E4BD3 #957CDF

Accessibility & contrast

On white

8.90
#4F2CB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#4F2CB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2CB5
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2CB5#FFFFFF#000000##FFFFFF
##4F2CB51.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB9
Deuteranopia (green-blind)
#0046B2
Tritanopia (blue-blind)
#1F536F
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4f2cb5;
/* rgb */ color: rgb(79, 44, 181);
/* oklch */ color: oklch(43.0% 0.200 286.2);
Tailwind
colors: {
  custom: {
    50: '#8c69cc',
    500: '#4f2cb5',
    950: '#000000',
  },
}
SCSS
$custom: #4f2cb5;
$custom-light: #8c69cc;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2cb5",
  "rgb": {
    "r": 79,
    "g": 44,
    "b": 181
  },
  "hsl": {
    "h": 255.328,
    "s": 60.889,
    "l": 44.118
  },
  "oklch": {
    "l": 0.43044,
    "c": 0.1998,
    "h": 286.2
  },
  "luminance": 0.068
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4F2CB5

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

Preview Lab → · Contrast checker → · Palette generator →

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