#4F2BAC#4F2BAC

#4F2BAC is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.1% C 0.190 H 288.0°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#4F2BAC
RGBrgb(79, 43, 172)
HSLhsl(257, 60%, 42%)
HSVhsv(257, 75%, 67%)
CMYKcmyk(54.1%, 75%, 0%, 32.5%)
CIE-LABlab(30.32, 47.87, -62.95)
CIE-LCHlch(30.32, 79.08, 307.25°)
OKLaboklab(42.07% 0.0589 -0.181)
OKLCHoklch(42.07% 0.19 288)
XYZxyz(11.5325, 6.3680, 39.6432)
Luminance0.0637 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2BAC #88AC2B
analogous
#2B48AC #4F2BAC #902BAC
triadic
#4F2BAC #AC4F2B #2BAC4F
tetradic
#4F2BAC #AC2B48 #88AC2B #2BAC90
square
#4F2BAC #AC2B48 #88AC2B #2BAC90
split-complementary
#4F2BAC #AC902B #48AC2B
monochromatic
#22134A #391F7B #4F2BAC #6B44D0 #9275DC

Accessibility & contrast

On white

9.24
#4F2BAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#4F2BAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2BAC
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2BAC#FFFFFF#000000##FFFFFF
##4F2BAC1.009.242.279.24
#FFFFFF9.241.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB0
Deuteranopia (green-blind)
#0044AA
Tritanopia (blue-blind)
#294F69
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #4f2bac;
/* rgb */ color: rgb(79, 43, 172);
/* oklch */ color: oklch(42.1% 0.190 288.0);
Tailwind
colors: {
  custom: {
    50: '#8a68c6',
    500: '#4f2bac',
    950: '#000000',
  },
}
SCSS
$custom: #4f2bac;
$custom-light: #8a68c6;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2bac",
  "rgb": {
    "r": 79,
    "g": 43,
    "b": 172
  },
  "hsl": {
    "h": 256.744,
    "s": 60,
    "l": 42.157
  },
  "oklch": {
    "l": 0.42068,
    "c": 0.19036,
    "h": 288
  },
  "luminance": 0.06369
}

Semantic roles & 50–950 ramp

primary
#4F2BAC
secondary
#ACC46F
accent
#E345B7
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #4F2BAC

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

Preview Lab → · Contrast checker → · Palette generator →

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