#4F2ABB#4F2ABB

#4F2ABB is a dark, highly saturated violet. Relative luminance 0.069; OKLCH L 43.4% C 0.209 H 285.4°. Best body text is #FFFFFF at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#4F2ABB
RGBrgb(79, 42, 187)
HSLhsl(255, 63%, 45%)
HSVhsv(255, 78%, 73%)
CMYKcmyk(57.8%, 77.5%, 0%, 26.7%)
CIE-LABlab(31.59, 52.61, -69.79)
CIE-LCHlch(31.59, 87.40, 307.01°)
OKLaboklab(43.39% 0.0556 -0.201)
OKLCHoklch(43.39% 0.209 285.4)
XYZxyz(13.0193, 6.9053, 47.6509)
Luminance0.0691 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2ABB #96BB2A
analogous
#2A4EBB #4F2ABB #972ABB
triadic
#4F2ABB #BB4F2A #2ABB4F
tetradic
#4F2ABB #BB2A4E #96BB2A #2ABB97
square
#4F2ABB #BB2A4E #96BB2A #2ABB97
split-complementary
#4F2ABB #BB972A #4EBB2A
monochromatic
#251457 #3A1F89 #4F2ABB #6F4CD7 #977DE2

Accessibility & contrast

On white

8.82
#4F2ABB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#4F2ABB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2ABB
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2ABB#FFFFFF#000000##FFFFFF
##4F2ABB1.008.822.388.82
#FFFFFF8.821.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EBF
Deuteranopia (green-blind)
#0046B8
Tritanopia (blue-blind)
#155472
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4f2abb;
/* rgb */ color: rgb(79, 42, 187);
/* oklch */ color: oklch(43.4% 0.209 285.4);
Tailwind
colors: {
  custom: {
    50: '#8d69d1',
    500: '#4f2abb',
    950: '#000000',
  },
}
SCSS
$custom: #4f2abb;
$custom-light: #8d69d1;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2abb",
  "rgb": {
    "r": 79,
    "g": 42,
    "b": 187
  },
  "hsl": {
    "h": 255.31,
    "s": 63.319,
    "l": 44.902
  },
  "oklch": {
    "l": 0.43391,
    "c": 0.20858,
    "h": 285.4
  },
  "luminance": 0.06906
}

Semantic roles & 50–950 ramp

primary
#4F2ABB
secondary
#B5CA76
accent
#E641BC
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0D0614
muted
#7E7A83

Preview Lab

Preview with #4F2ABB

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

Preview Lab → · Contrast checker → · Palette generator →

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