#4F2BB6#4F2BB6

#4F2BB6 is a dark, highly saturated violet. Relative luminance 0.068; OKLCH L 43.0% C 0.202 H 286.2°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#4F2BB6
RGBrgb(79, 43, 182)
HSLhsl(256, 62%, 44%)
HSVhsv(256, 76%, 71%)
CMYKcmyk(56.6%, 76.4%, 0%, 28.6%)
CIE-LABlab(31.27, 50.72, -67.36)
CIE-LCHlch(31.27, 84.32, 306.98°)
OKLaboklab(43.02% 0.0563 -0.1939)
OKLCHoklch(43.02% 0.202 286.2)
XYZxyz(12.5293, 6.7667, 44.8928)
Luminance0.0677 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2BB6 #92B62B
analogous
#2B4CB6 #4F2BB6 #952BB6
triadic
#4F2BB6 #B64F2B #2BB64F
tetradic
#4F2BB6 #B62B4C #92B62B #2BB695
square
#4F2BB6 #B62B4C #92B62B #2BB695
split-complementary
#4F2BB6 #B6952B #4CB62B
monochromatic
#241453 #3A1F84 #4F2BB6 #6E4AD4 #957BE0

Accessibility & contrast

On white

8.92
#4F2BB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F2BB6
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2BB6#FFFFFF#000000##FFFFFF
##4F2BB61.008.922.358.92
#FFFFFF8.921.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4f2bb6;
/* rgb */ color: rgb(79, 43, 182);
/* oklch */ color: oklch(43.0% 0.202 286.2);
Tailwind
colors: {
  custom: {
    50: '#8c69cd',
    500: '#4f2bb6',
    950: '#000000',
  },
}
SCSS
$custom: #4f2bb6;
$custom-light: #8c69cd;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2bb6",
  "rgb": {
    "r": 79,
    "g": 43,
    "b": 182
  },
  "hsl": {
    "h": 255.54,
    "s": 61.778,
    "l": 44.118
  },
  "oklch": {
    "l": 0.4302,
    "c": 0.20193,
    "h": 286.2
  },
  "luminance": 0.06767
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4F2BB6

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

Preview Lab → · Contrast checker → · Palette generator →

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