#4F2BB5#4F2BB5

#4F2BB5 is a dark, highly saturated violet. Relative luminance 0.067; OKLCH L 42.9% C 0.201 H 286.4°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#4F2BB5
RGBrgb(79, 43, 181)
HSLhsl(256, 62%, 44%)
HSVhsv(256, 76%, 71%)
CMYKcmyk(56.4%, 76.2%, 0%, 29%)
CIE-LABlab(31.17, 50.43, -66.92)
CIE-LCHlch(31.17, 83.80, 307.00°)
OKLaboklab(42.92% 0.0566 -0.1927)
OKLCHoklch(42.92% 0.201 286.4)
XYZxyz(12.4263, 6.7255, 44.3505)
Luminance0.0673 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2BB5 #91B52B
analogous
#2B4CB5 #4F2BB5 #942BB5
triadic
#4F2BB5 #B54F2B #2BB54F
tetradic
#4F2BB5 #B52B4C #91B52B #2BB594
square
#4F2BB5 #B52B4C #91B52B #2BB594
split-complementary
#4F2BB5 #B5942B #4CB52B
monochromatic
#241452 #391F84 #4F2BB5 #6D49D4 #957BE0

Accessibility & contrast

On white

8.95
#4F2BB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#4F2BB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2BB5
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2BB5#FFFFFF#000000##FFFFFF
##4F2BB51.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB9
Deuteranopia (green-blind)
#0045B2
Tritanopia (blue-blind)
#1F526F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4f2bb5;
/* rgb */ color: rgb(79, 43, 181);
/* oklch */ color: oklch(42.9% 0.201 286.4);
Tailwind
colors: {
  custom: {
    50: '#8c69cc',
    500: '#4f2bb5',
    950: '#000000',
  },
}
SCSS
$custom: #4f2bb5;
$custom-light: #8c69cc;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2bb5",
  "rgb": {
    "r": 79,
    "g": 43,
    "b": 181
  },
  "hsl": {
    "h": 255.652,
    "s": 61.607,
    "l": 43.922
  },
  "oklch": {
    "l": 0.42924,
    "c": 0.20079,
    "h": 286.4
  },
  "luminance": 0.06726
}

Semantic roles & 50–950 ramp

primary
#4F2BB5
secondary
#B2C874
accent
#E543BB
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0614
muted
#7E7A82

Preview Lab

Preview with #4F2BB5

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

Preview Lab → · Contrast checker → · Palette generator →

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