#4F2ABD#4F2ABD

#4F2ABD is a dark, highly saturated violet. Relative luminance 0.070; OKLCH L 43.6% C 0.211 H 285.1°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#4F2ABD
RGBrgb(79, 42, 189)
HSLhsl(255, 64%, 45%)
HSVhsv(255, 78%, 74%)
CMYKcmyk(58.2%, 77.8%, 0%, 25.9%)
CIE-LABlab(31.79, 53.18, -70.65)
CIE-LCHlch(31.79, 88.43, 306.97°)
OKLaboklab(43.59% 0.055 -0.2035)
OKLCHoklch(43.59% 0.211 285.1)
XYZxyz(13.2349, 6.9915, 48.7863)
Luminance0.0699 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2ABD #98BD2A
analogous
#2A4FBD #4F2ABD #982ABD
triadic
#4F2ABD #BD4F2A #2ABD4F
tetradic
#4F2ABD #BD2A4F #98BD2A #2ABD98
square
#4F2ABD #BD2A4F #98BD2A #2ABD98
split-complementary
#4F2ABD #BD982A #4FBD2A
monochromatic
#251459 #3A1F8B #4F2ABD #704DD7 #987FE3

Accessibility & contrast

On white

8.76
#4F2ABD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#4F2ABD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2ABD
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2ABD#FFFFFF#000000##FFFFFF
##4F2ABD1.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FC1
Deuteranopia (green-blind)
#0046BA
Tritanopia (blue-blind)
#115573
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4f2abd;
/* rgb */ color: rgb(79, 42, 189);
/* oklch */ color: oklch(43.6% 0.211 285.1);
Tailwind
colors: {
  custom: {
    50: '#8d69d2',
    500: '#4f2abd',
    950: '#000000',
  },
}
SCSS
$custom: #4f2abd;
$custom-light: #8d69d2;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2abd",
  "rgb": {
    "r": 79,
    "g": 42,
    "b": 189
  },
  "hsl": {
    "h": 255.102,
    "s": 63.636,
    "l": 45.294
  },
  "oklch": {
    "l": 0.43588,
    "c": 0.21084,
    "h": 285.1
  },
  "luminance": 0.06992
}

Semantic roles & 50–950 ramp

primary
#4F2ABD
secondary
#B6CB78
accent
#E741BD
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0E0614
muted
#7E7A83

Preview Lab

Preview with #4F2ABD

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

Preview Lab → · Contrast checker → · Palette generator →

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